Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ADMIN PANEL WON'T START


Guest

Recommended Posts

Posted

I am brand new to PHP, CGI, eCommerce, shopping carts (except in the supermarket), and just started setting up a site. osCommerce was recommended as an easy to use shopping cart solution, so I installed it per my web host's script. Unfortunately, when I try to access the admin panel, I receive this error:

 

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

 

When I look at the upload.php file, there is no "$this" on line 31. Hmmmm........

 

Can anyone point me in the right direction to get past this first roadblock on my pathway to riches?

 

Thanks!

 

Mike

Posted

I found the answer in vger's signature. Thanks, Vger!!!!!!!!!!!!

Posted

I'm having this problem also. Would you mind sharing how to fix it? thanks.

Posted

Sorry...found it:

 

php5 compatibility problem

 

admin/includes/classes/upload.php on line 31, edit

 

$this = null;

 

to this:

 

unset($this);

 

Vger

Posted
Sorry...found it:

 

php5 compatibility problem

 

admin/includes/classes/upload.php on line 31, edit

 

$this = null;

 

to this:

 

unset($this);

 

Vger

 

Thanks brianb!

 

now admin panel work! :)

Archived

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

×
×
  • Create New...