Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation complete, but cannot access Admin too


cg1bbons

Recommended Posts

Hi,

 

I have set up osCommerce on my localmachine to demo it to some work friends, however when i try and access the admin section of the site i get the following error message:

 

Fatal error: Cannot re-assign $this in C:\apachefriends\xampp\htdocs\oscommerce\catalog\admin\includes\classes\upload.php on line 31

 

 

I have had a look at the offending file and all that is on line 31 is:

 

$this = NULL;

 

any help with this matter would be very much appreciated.

 

TIA

 

cg1bbons.

Link to comment
Share on other sites

from another post...

 

you are using php5, thus open the file in question and comment out line 31 with two slashes at the beginning (//)

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

from another post...

 

you are using php5, thus open the file in question and comment out line 31 with two slashes at the beginning (//)

 

It was great. Thank you very much! Everything is working now. I had the same problem and the "//" save my life :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...