Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installtion problems


A Shah

Recommended Posts

Posted

Hi

 

I'm currently in the process of installing and configuring. I appear to get a successful installation message, but when I try to login to the Admin panel I get the following message:

 

Fatal error: Cannot re-assign $this in

C:\Domains\mydomain.net\wwwroot\catalog\admin\includes\classes\upload.php on line 31

 

I'm a bit worried about the path where it contains 'wwwroot\', surely this is the root - so where has it picked this up from.

 

I followed the instructions (as per the knowledge base) - i.e FTP the catalog folder etc and setup the mySQL database. My database appears to contain all the required tables.

 

Any idea's ?

 

Thanks..........

Posted

This is a PHP5 incompatibility issue.

 

Comment out

 

$this = null;

 

to

 

//$this = null;

 

in C:\Domains\mydomain.net\wwwroot\catalog\admin\includes\classes\upload.php on line 31

 

There is no affect on osC making this change.

 

HTH

Tom

Archived

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

×
×
  • Create New...