23 May 2013
Support Center
»
Knowledgebase
»
osCommerce error 'Cannot reassign this'
osCommerce error 'Cannot reassign this'
Solution
The error appears because your OS Commerce is based on PHP4 rather than PHP5. To resolve the error message, you should follow the instructions below:
1. Go to your cPanel.
2. Click on the File Manager icon.
3. Click on the folder icon next to public_html folder name.
4. Click on the folder icon next to the folder in which your osCommerce is installed
5. Find ../catalog/admin/includes/classes/upload.php file and click on it
6. In the upper right corner you will see several management options for upload.php file. Click on Edit File
7. Open the file and find the line (about 30 lines down) that says:
// self destruct
$this = null;
And change it to:
// self destruct
// $this = null;
unset($this);
This should solve your problem.
Article Details
Article ID:
94
Created On:
14 Feb 2011 08:45 PM
This answer was helpful
This answer was not helpful
User Comments
Add a Comment
Sharing is good. If you have a comment about this entry, please feel free to share. The comments might be reviewed by our staff, and may require approval before being posted. Questions posted will not be answered. Please submit a Ticket for support requests.
Image verification required
Please enter the characters that appear to the right in the space provided. This is just to verify that you are a human.
Fullname:
Email: (Optional)
Comments:
Back
Login
[Lost Password]
Email:
Password:
Remember Me:
Search
-- Entire Support Site --
Knowledgebase
Downloads
Article Options
Add Comment
Print Article
PDF Version
Email Article
Add to Favorites
Home
|
Register
|
Submit a Ticket
|
Knowledgebase
|
News
|
Downloads
Language:
English (U.S.)
Help Desk Software
Help Desk Software By Kayako eSupport v3.60.03