Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Accessing the administration set-up


twurst

Recommended Posts

I have successfully loaded osCommerce using localhost server and have gotten through Step 7 on the install. However, when I click the administration button I get this error: Fatal error: Cannot re-assign $this in C:\xampp\htdocs\catalog\admin\includes\classes\upload.php on line 31

 

The "catalog" button works and hits the ...\htdocs\catalog\index.php file which loads fine.

 

Thanks for any tips.

 

Tim

Link to comment
Share on other sites

I have successfully loaded osCommerce using localhost server and have gotten through Step 7 on the install. However, when I click the administration button I get this error: Fatal error: Cannot re-assign $this in C:\xampp\htdocs\catalog\admin\includes\classes\upload.php on line 31

 

The "catalog" button works and hits the ...\htdocs\catalog\index.php file which loads fine.

 

Thanks for any tips.

 

Tim

 

Ah... search the forum a little more and the answer is right in front of me. :'(

I was running on PHP 5 and had to switch to PHP 4 since 5 is not supported yet - apparently some differences in scripts. My XAMPP installation had an easy php-switch.bat file to run which made short work of updating the Apache config files. Everything is fine now.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...