zita Posted June 25, 2007 Share Posted June 25, 2007 Hi, I am not an expert on installation so I had a hard time figuring this things out. I have a "Hobby" website and I am turning my hobby into a real business. I thought this is a very excellent flatform since it came with my hosting server. But I am also in a process of revamping my whole website and make the osCommerce looks like the domain or if not at least match with the domain. I had it installed with the name http://ajdconnection.com/store/ but it doesn't looks good!!!! I can see the default screen when I click the catalog and to tell you the truth I don't have any idea what to do with it. How to change everything!!! I can't find the Administration Panel. I went back to my server and I click the Admin but it brings back an error page. Fatal error: Cannot re-assign $this in /home/---------/public_html/store/catalog/admin/includes/classes/upload.php on line 31 Please HELP! Zita Link to comment Share on other sites More sharing options...
germ Posted June 25, 2007 Share Posted June 25, 2007 I think your Admin is here: http://ajdconnection.com/store/catalog/admin You probably need to put an "index.php" or an "index.html" file here: http://ajdconnection.com/store/ With a link to your store. It's either that or move the whole store down one folder, or re-install.... :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
zita Posted June 25, 2007 Author Share Posted June 25, 2007 I think your Admin is here: http://ajdconnection.com/store/catalog/admin You probably need to put an "index.php" or an "index.html" file here: http://ajdconnection.com/store/ With a link to your store. It's either that or move the whole store down one folder, or re-install.... :blush: Hi, Thank you for the response. I know the link, I went to Admin but I got an error message is below: Fatal error: Cannot re-assign $this in /home/-------/public_html/store/catalog/admin/includes/classes/upload.php on line 31 :-(( . Is there anybody in here who is an expert and can help me with this. Maybe integrate to my website - maybe make another logo. And how much do you think this will cost. I am so dumb about figuring this all out. Z Link to comment Share on other sites More sharing options...
germ Posted June 26, 2007 Share Posted June 26, 2007 This happens due to a bug in OSCommerce after the recent server upgrade from PHP 4.x to PHP 5. The way the code was written in upload.php was using an undocumented feature that was not officially supported, and subsequently did not carry over into PHP 5. To fix this, edit the 'upload.php' file mentioned in the error message using a text editor. Open the file and find the line (about 30 lines down) that says: // self destruct $this = null; And edit it to say this: // self destruct // $this = null; unset($this); (basically comment out with // the $this = null; line and add the unset($this); line) Your admin panel should work properly now. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.