Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

2 Problems, newb installer


Rastlore

Recommended Posts

Posted

Hello all, this is my first install of osCommerce, and up to know it has been a painless experience.

 

I have gone thru the intallation, database was built properly. configure files all ok.

 

So I get to the complete page, and there are buttons to go to the catalog or the administration page.

 

I go to the catalog, and it displays fine with the sample database (you can see it yourself here http://www.cangib.com/da/)

 

1st problem is, any link or image I click on, brings me to a blank page. Same happens in any link/image I click on in the admin tool.

 

2nd problem (which could be the reason for the first problem). I kept getting the error -> FATAL ERROR: register_globals is disabled in php.ini, please enable it! So i asked my service provider and they told me something about security, and told me to put these 2 lines of code to get around it :

 

ini_set('register_globals', '1');

ini_set('display_errors', '0');

 

I put those 2 lines in the very top of the application_top.php but I still get the error. Now to get around this, I just commented out the steps :

 

// check if register_globals is enabled.

// since this is a temporary measure this message is hardcoded. The requirement will be removed before 2.2 is finalized.

// if (function_exists('ini_get')) {

// ini_get('register_globals') or exit('FATAL ERROR: register_globals is disabled in php.ini, please enable it!');

// }

 

But this is obviously not right. Just wondering how to fix it so I don't get the FATAL ERROR message any more.

 

Well hopefully someone can help me out. Thanks alot.

 

P.S. I am new to PHP btw.

Posted

Look below my name for the Register Globals Patch Files. Only install these files on a new website, not an established one with Contributions added.

 

Vger

Posted
Look below my name for the Register Globals Patch Files.  Only install these files on a new website, not an established one with Contributions added.

 

Vger

 

Thank you so much, man it was driving me crazy :'(

Posted
Look below my name for the Register Globals Patch Files.  Only install these files on a new website, not an established one with Contributions added.

 

Vger

 

 

Is there anything you can do for a site that has already had contributions installed? I am doing a site for someone and they moved their site to a new server and they are getting that error.

 

thanks

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Archived

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

×
×
  • Create New...