Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

global php turned off - now the store doesnt work


trekker9876

Recommended Posts

Posted

About a month ago people started complaining that my store wasnt working. I got a message saying to turn on global registers in php.ini(or something to that effect). I complained to my web provider and they said they turned this setting off. They said to insert this small bit of code to make the pages work but I have no idea which of the more than 1500 files this store has to put the code snippet on.

 

Is there something else I can do because I have lost hundreds of dollars already or is there another store as good as this one I can use in its place??

 

Please help!!!

jeff

Posted

To get your website working quickly, put this piece of code in a .htaccess file in the root of your web.

 

php_flag register_globals on

 

This will allow your site to start working again, and give you the time you need to install the Register Globals patch - after which you remove the line of code I've posted from that .htaccess file.

 

.htaccess files only work on Apache web servers, so if your site is hosted on a Windows server you can't use this fix.

 

Vger

Posted

I installed the global registers patch on 3 of my sites with no problem at all, and

then I did a new install of an oscommerce site. I installed the patch before I began, and the catalog side looks good, but my admin panel has a globals register error on it.

I then just overwrote the corrected files from my site that works fine, and I'm still getting the globals register error on the catalog admin pages. That means the only difference between the two sites is that I fixed the code on the catalog/install/ files which I then deleted after the cart was installed.

On the first patches I couldn't fix this file obviousl since it was already deleted.

 

So....what's my next step... ARg...it was all going so smoothly..

 

http://www.eaglewatchtennis.com/oscommerce...tomers.php...or any other files.

Thanks

Julie

Posted

Obviously there is still a problem with the admin side of things, and that can only mean that not all of the 'admin' patch files have been installed.

 

Vger

Posted
Obviously there is still a problem with the admin side of things, and that can only mean that not all of the 'admin' patch files have been installed.

 

Vger

 

Yes..that seems obvious, but I installed the patch twice, and then overwrote with files from a working site...so ...i will check with the contribution here and see if it is any different from the one my host company sent me.

Julie

Posted
Yes..that seems obvious, but I installed the patch twice, and then overwrote with files from a working site...so ...i will check with the contribution here and see if it is any different from the one my host company sent me.

Julie

 

Well...half solved the problem

 

The register globals error was showing up where the left column should be in the admin files..so..when I looked in the column left file, it was actually a configure.php file...without the values in it. So..something during installation??

 

So..uploaded a new column_left.php

 

Now..the register_globals error is showing up, but the site appears to be working fine. Even though it says Fatal Error on the page!

Julie

Archived

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

×
×
  • Create New...