buzzzzzzzzz Posted October 22, 2004 Share Posted October 22, 2004 I hope one of you lovely geniuses out there can help me out... At the end of the install process when I got to the window which has the option to click on "Catalog" or "Admin tools", I clicked on "admin tools" and got this error:- Fatal error: Cannot re-assign $this in /home/mydomain/oscom/catalog/admin/includes/classes/upload.php on line 31 >_< And I cant access the Admin tools. Link to comment Share on other sites More sharing options...
jgranad Posted October 22, 2004 Share Posted October 22, 2004 Im getting the same error have u got any answers? Thanks, Jaime Link to comment Share on other sites More sharing options...
241 Posted October 22, 2004 Share Posted October 22, 2004 you have php5 installed and this is a known bug Read me! No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
tricky Posted October 24, 2004 Share Posted October 24, 2004 THanks : ) I've tried ALL suggestions that have been made - seems a lot of people have this same problem (some have managed to solve it - lucky folks!) Unfortunately, my Admin page remains blank. I'm hoping (PLEASE!) someone out there can provide another fix ;) Seeing that my web host has just upgraded to PHP 5, do you think that means TOO BAD for me? Store Closed? ****** INCREDIBLY DESPERATE please please PLEASE PLEASE HELP !!!!! Link to comment Share on other sites More sharing options...
Guest Posted October 24, 2004 Share Posted October 24, 2004 you commented out line 31 and it did not help? Link to comment Share on other sites More sharing options...
tricky Posted October 24, 2004 Share Posted October 24, 2004 you commented out line 31 and it did not help? <{POST_SNAPBACK}> Hey Mibble !!! Yes I tried that, and unfortunately it did not do anything :'( vic Link to comment Share on other sites More sharing options...
sortino Posted December 27, 2004 Share Posted December 27, 2004 Hello! D:\xampplite\htdocs\linux\shop\admin\includes\classes\ipload.php on line 31 i did this: :'( instead of this: ________________________ // self destruct $this = null; return false; } } } ________________________ :D i did this: ________________________ // self destruct unset($this); return false; } } } ________________________ Link to comment Share on other sites More sharing options...
bballa Posted February 11, 2005 Share Posted February 11, 2005 Dawg! you're a genious! Thanks a lot! Link to comment Share on other sites More sharing options...
pmac_WRX Posted March 18, 2008 Share Posted March 18, 2008 Hello! D:\xampplite\htdocs\linux\shop\admin\includes\classes\ipload.php on line 31 i did this: :'( instead of this: ________________________ // self destruct $this = null; return false; } } } ________________________ :D i did this: ________________________ // self destruct unset($this); return false; } } } ________________________ Sorry, I know this is an old post but I was having this problem on a site which I had to do Register Globals patching on and the above code fixed the access to admin but now it does not ask for user/password - it just lets you in to the Administration pages - any idea why? Link to comment Share on other sites More sharing options...
♥Vger Posted March 18, 2008 Share Posted March 18, 2008 The version of osCommerce you are using does not provide password protection of the 'admin' folder. You have to do that yourself via the Directory Protect feature of your Web Hosting control panel. Vger Link to comment Share on other sites More sharing options...
moses5622 Posted March 25, 2008 Share Posted March 25, 2008 :thumbsup: Hello! D:\xampplite\htdocs\linux\shop\admin\includes\classes\ipload.php on line 31 i did this: :'( instead of this: ________________________ // self destruct $this = null; return false; } } } ________________________ :D i did this: ________________________ // self destruct unset($this); return false; } } } ________________________ Link to comment Share on other sites More sharing options...
AlbertoESoliman Posted June 25, 2008 Share Posted June 25, 2008 it workssssssssss thank u thank u thank u .. :) Hello! D:\xampplite\htdocs\linux\shop\admin\includes\classes\ipload.php on line 31 i did this: :'( instead of this: ________________________ // self destruct $this = null; return false; } } } ________________________ :D i did this: ________________________ // self destruct unset($this); return false; } } } ________________________ Link to comment Share on other sites More sharing options...
fszone Posted August 2, 2008 Share Posted August 2, 2008 Ok I just installed oscommerce today and I'm having the same problem. The only thing is I don't even have the upload.php file in my class directory! How do I fix it?" DOGECOIN GAMBLING SITES :P LITECOIN GAMBLING SITES Link to comment Share on other sites More sharing options...
satish Posted August 2, 2008 Share Posted August 2, 2008 well if You are installing fresh.I recommend download oscommerce RC2 version and then install. Some hosting companies installer uses previous version so get the latest and install it will save You lot of time. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
fszone Posted August 2, 2008 Share Posted August 2, 2008 Oh where can I find that download? And I'm trying to install a new template so I'm not sure if I should just use those files or if I should go find the RC2 version thing but wouldn't the template files override the RC2? DOGECOIN GAMBLING SITES :P LITECOIN GAMBLING SITES Link to comment Share on other sites More sharing options...
spooks Posted August 2, 2008 Share Posted August 2, 2008 http://www.oscommerce.com/solutions Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
satish Posted August 2, 2008 Share Posted August 2, 2008 In that case just replace the classes/upload.php file Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
fszone Posted August 2, 2008 Share Posted August 2, 2008 hmmm. I downloaded the file and theres no upload.php file in this installation either. nvm found the file DOGECOIN GAMBLING SITES :P LITECOIN GAMBLING SITES Link to comment Share on other sites More sharing options...
satish Posted August 2, 2008 Share Posted August 2, 2008 oscommerce-2.2rc2a\oscommerce-2.2rc2a\catalog\admin\includes\classes\upload.php is where YOu need to look in not in installation folder. Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
r3nzo Posted September 20, 2009 Share Posted September 20, 2009 Thanks friend sortino. Its works great!!! *** Obrigado amigo sortino. A solução funcionou corretamente. Link to comment Share on other sites More sharing options...
digitalpowerpro Posted February 3, 2011 Share Posted February 3, 2011 Thanks, that worked! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.