Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FATAL ERROR: register_globals is disabled in php.ini, please enable it!


Juniyakers

Recommended Posts

Open up your catalog/admin and click on tools/server info, then look for: Configuration File (php.ini) Path, near top of page ...

 

Scot

 

Has anyone run into the same problem using swsoft's PLESK? That is my issue. It has deleted my /usr/local/lib/ directory files. Does anyone know where to find the php.ini using PLESK? Or is there a path inside oscommerce that needs to be changed for PLESK?

Link to comment
Share on other sites

If your site is hosted on a Windows server then you'll have to install the Register Globals Patch (find in Contributions).

 

If your site is hosted on an Apache server with a Unix or Linux Operating system then you may be able to turn on Register Globals just for your website by putting the code below into a .htaccess file in the root of your site.

 

php_flag register_globals on

 

Vger

Link to comment
Share on other sites

Hi

 

Sorry to be annoying - but I my secure server in Windows, so I need the patch however there sem to be several. I have looked at the one you have posted, however am a little worried about using it as this website is not a new installation and has many modificatons.

 

What should I do? Which contrib is best for me?

 

Lowri

Link to comment
Share on other sites

I may be wrong about this - hope I am - but is your hosting company Fasthosts (or one of their resellers like Streamline)?

 

If so, stop now, give up, and demand your money back for the shared ssl you paid for (which most hosts include in their most basic packages).

 

Even if I am wrong about the above you are going to have major problems if your website is on one server with register gloabls enabled and your ssl folder is on another server entirely, with Register Globals disabled.

 

In answer to your original question, go to Contributions and select the patch supplied by CMOTD (Richard Bentley). My version is now out of date and he has updated his.

 

Vger

Link to comment
Share on other sites

If the above is true - can you advice me on my best plan of action. Should I get new hosting for my 2 osc sites? What hosting would you recommend (I am majorly on a budget - poor student)

 

Thank you ever so much for any help!

Link to comment
Share on other sites

I've gotten oscommerce to work on Fasthosts (Linux server for non SSL part and SSL part on Windows vault2.secured-url.com server). Do you still want to know how to get it all working? Ifso I'll write up a tutorial.

Link to comment
Share on other sites

I'll write a tutorial up tonight! :)

I look forward to it....

 

However, back to the response about getting stressed over what to do with your 2 sites.

 

Yes move them over to a new host. There are some very reputable cheap ones and you should run a search engine query to satisfy yourself as you will see reviews from unbiased people. If you get hosting and pay in $US then it's better because you ?1 = $1.88 or so.

 

Don't worry about not having your sites hosted on servers not in the UK, it shouldn't matter where they are hosted as long as you do not need access to the physical server - which you don't.

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Link to comment
Share on other sites

Thank you for this. A very simple & immediate fix for my store issues - much appreciated!

 

Cheers,

 

Lyn

 

-------------

 

If your site is hosted on an Apache server with a Unix or Linux Operating system then you may be able to turn on Register Globals just for your website by putting the code below into a .htaccess file in the root of your site.

 

php_flag register_globals on

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...