Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't access admin area since site move


lochie

Recommended Posts

Anytime I try to access my admin area I get the following error:

 

Fatal error: Cannot re-assign $this in /home/gambitga/public_html/cart/admin/includes/classes/upload.php on line 31

 

does anyone know how to fix this? It on'y started happening after moving host

Kind Regards :)

 

Lee McLachlan

-------------------------------------------------------

Link to comment
Share on other sites

Lee,

 

 

Check your catalog>admin>includes>configure.php file to make sure it is directed at the new DB server location.

 

The DB portion of the file is located at the bottom and looks like this:

 

// define our database connection

define('DB_SERVER', '');

define('DB_SERVER_USERNAME', 'mysql');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'osCommerce');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', '');

 

Hope this helps.

 

 

Chris

Link to comment
Share on other sites

Lee,

 

 

Check your catalog>admin>includes>configure.php file to make sure it is directed at the new DB server location.

 

The DB portion of the file is located at the bottom and looks like this:

 

// define our database connection

define('DB_SERVER', '');

define('DB_SERVER_USERNAME', 'mysql');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'osCommerce');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', '');

 

Hope this helps.

 

 

Chris

and do not post your db info in the forum.

 

Looks like your automatic domain move to the new webhost was not as good as you thought.

 

This may help.

Link to comment
Share on other sites

$this

 

to

 

//$this

on line 31 on the file stated.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...