Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error when i delete category..


Guest

Recommended Posts

Posted

below is the error i get when i delete a category... im not sure why... its a fresh instll of osc...

 

Warning: Cannot set time limit in safe mode in /home/virtual/site2/fst/var/www/html/suave/includes/functions/general.php on line 703



Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site2/fst/var/www/html/suave/includes/functions/general.php:703) in /home/virtual/site2/fst/var/www/html/suave/includes/functions/general.php on line 18

  • 3 weeks later...
Posted

I'm getting the same error. I know what the problem is. Obviously my server has php set to safe mode. Anyone know the fix besides turning safe mode off?

Posted

Ok so why doesn't this code work?

  function tep_set_time_limit($limit) {

   if (!get_cfg_var('safe_mode')) {

     set_time_limit($limit);

   }

 }

 

Shouldn't it only call the function if safe mode is off, and not give error messages?

Does an else need to be added to it so that if safe mode is on you won't get error messages?

 

A lot of servers are turning safe mode on now, for security reasons.

Posted
Well I found the answer after looking a little further. Thanks folks.

 

whats the answer?

Archived

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

×
×
  • Create New...