
Originally Posted by
dv8host
Hi,
I have only just moved to Red Fox (which I am extremely impressed with) and was in the process of moving all my clients web sites across from my old host when I had a panic attack because osCommerce wouldn't work. It would install fine, but then come up with an error when I tried to go to the admin section. After many hours of fiddling with the code and searching the net I finally found the fix for the problem...
The problem was that 1 tiny line of code wasn't PHP5 compatible. All you need to do is to open up admin\includes\classes\upload.php and edit the line on or about line #31 that says "$this = null;" to be "//$this = null;" (without speach marks) and that should fix the problem.
I hope that this fix saves you all the hours of frustration that I had to go through!
Regards,
Chris
Bookmarks