Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error when i delete category..


Guest

Recommended Posts

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

Link to comment
Share on other sites

  • 3 weeks later...

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.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...