rickard_l Posted March 15, 2008 Posted March 15, 2008 "FATAL ERROR: register_globals is disabled in php.ini, please enable it!" This is what says when i go t my site. What should I do? :'(
Jack_mcs Posted March 15, 2008 Posted March 15, 2008 Install the register globals contribution or add the following to a file, name it php.ini and upload it to your root directory register_globals = on Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
satish Posted March 15, 2008 Posted March 15, 2008 Apply patches available for register globals and Mysql5. If You download rc2 those will be also downloaded for reference.use them. 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.
pmac_WRX Posted March 15, 2008 Posted March 15, 2008 I know this has been asked many times before but one of my customers sites is now giving this error. I have tried a few options including the things suggested above but they have not worked. Is it true the patches are only for new installs? I assume they would render all the current data useless? The host is Fasthosts and I know from previous posts there is an issue BUT I know of some ppl using osCommerce on Fasthosts! This link was suggested to me but my files are not all the same as the ones mentioned (I don't even have an application.php file!) Id id try all the changes but it made no difference. Just creating a php.ini does not work either as I think Fasthosts set that globally? btw - I am not a php guy and I did not do the site - I just worked off the error that came up on the clients site and read up from there :) Any help would be great! :)
pmac_WRX Posted March 15, 2008 Posted March 15, 2008 Yay - fixed it! Register Globals Easy fix is the one which worked for me - it's in Contributions. After I applied those files I got the website back up and then got the error regarding the configure.php file being unsecure. I tried to CHMOD using my FTP client but it just reverted back to 644 - luckily someone on here suggested doing it with a wee bit of php code in a file and it worked too so afaik the site is up and running :) Altho I have done websites in the past I have not done any PHP so I am delighted I got this site back up and running! :)
rickard_l Posted March 16, 2008 Author Posted March 16, 2008 Yay - fixed it!Register Globals Easy fix is the one which worked for me - it's in Contributions. After I applied those files I got the website back up and then got the error regarding the configure.php file being unsecure. I tried to CHMOD using my FTP client but it just reverted back to 644 - luckily someone on here suggested doing it with a wee bit of php code in a file and it worked too so afaik the site is up and running :) Altho I have done websites in the past I have not done any PHP so I am delighted I got this site back up and running! :) Great I will have a look at it. NIce to here it worked out for you
rickard_l Posted March 16, 2008 Author Posted March 16, 2008 ONE more thing, how did you solve the problem with the configure file? I also have the same problem. Can not change it.
pmac_WRX Posted March 16, 2008 Posted March 16, 2008 ONE more thing, how did you solve the problem with the configure file? I also have the same problem. Can not change it. This fix did the job for me - hope that helps. It's post 4 (bluepony) on that thread.
rickard_l Posted March 16, 2008 Author Posted March 16, 2008 This fix did the job for me - hope that helps. It's post 4 (bluepony) on that thread. That fix worked like a charm :) Thx mate's //R
pmac_WRX Posted March 18, 2008 Posted March 18, 2008 Damn...just got a call from the woman saying the site is up etc but she now can't log in as admin to check orders etc :( New error to read up on now lol. Fatal error: Cannot re-assign $this in /home/fhlinux204/v/herwebsite.co.uk/user/htdocs/admin/includes/classes/upload.php on line 31 I never touched that file so I'm wondering if the fix reset the login to default maybe? Looks like I am gonna need the documentation for OSC!! lol
pmac_WRX Posted March 18, 2008 Posted March 18, 2008 ok now got the admin page up but there is no user/password challenge....fix one thing break another!! lol
Recommended Posts
Archived
This topic is now archived and is closed to further replies.