Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FATAL ERROR: register... ?


rickard_l

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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! :)

Link to comment
Share on other sites

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! :)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...