Guest Posted June 19, 2003 Posted June 19, 2003 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
blkros Posted July 5, 2003 Posted July 5, 2003 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?
blkros Posted July 5, 2003 Posted July 5, 2003 Well I found the answer after looking a little further. Thanks folks.
blkros Posted July 5, 2003 Posted July 5, 2003 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.
Guest Posted July 6, 2003 Posted July 6, 2003 Well I found the answer after looking a little further. Thanks folks. whats the answer?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.