Ina Code Blog

bunch of code in one place
« Joomla: DB function failed with error number 1054
Euroskills 18 - 20 september 2008 - Rotterdam »


Jun
4

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

Posted by admin in osCommerce, tips

I logged in to osCommerce shop administration and I got this error:

Fatal error: Cannot re-assign $this in /home/…../admin/includes/classes/upload.php on line cialis fast delivery 31

Few days ago Buy Generic Cialis the shop was transferet to a server with PHP5 installed. So the problem needs to be fiksed and here is how:

Open file /admin/includes/classes/upload.php and obviously go to line 31 or find:

$this = null;

And replace it with:

unset($this);

The administration should work perfectly now.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

One Response to “Fatal error: Cannot re-assign $this in /home/…../admin/includes/classes/upload.php on line 31”

  1. Added by berkam on Oct at 2

    This solution works allright but I have a problem. After I can’t see the page of “orders” (very important page). I see a “white page” :/ Solutions? Please

Leave a Reply

Comment