Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

register global and cron


Guest

Recommended Posts

Posted

My store works fine with register global ON in .htaccess, but when i run a cron I still get this error: FATAL ERROR: register_globals is disabled in php.ini, please enable it!

 

I also try and put a php.ini file in root and admin but still does not seems to work. Can anyone please give me a hand on this?

 

Thanks

Posted

Anyone have this problem? I don't want to turn on register global in php.ini and rather find another solution if anyone can help.

Posted
Did you restart php?

 

Yes I did, I also restart the server.

Posted
Anyone have this problem? I don't want to turn on register global in php.ini and rather find another solution if anyone can help.

I'm not sure what the problem is or what the solution is either, but I have register_globals OFF in php.ini and I am able to run cron jobs. Are you setting them up directly on the server?

Posted
I'm not sure what the problem is or what the solution is either, but I have register_globals OFF in php.ini and I am able to run cron jobs. Are you setting them up directly on the server?

 

No, I set this up in cPanel Cron Jobs. Here is the line that I put for cron, please let me know if I did this correct.

 

00**3 /usr/bin/php -q /home/username/public_html/catalog/admin/feedinput.php

 

I also try this too:

00**3 php /home/username/public_html/catalog/admin/feedinput.php

Archived

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

×
×
  • Create New...