sufi Posted October 31, 2006 Posted October 31, 2006 Warning: set_time_limit(): Cannot set time limit in safe mode in /var/www/vhosts/oyasi.com/httpdocs/install/includes/functions/general.php on line 47
♥Vger Posted November 1, 2006 Posted November 1, 2006 In that file, change this code: //// // Sets timeout for the current script. // Cant be used in safe mode. function osc_set_time_limit($limit) { if (!get_cfg_var('safe_mode')) { set_time_limit($limit); } } to this code: //// // Sets timeout for the current script. // Cant be used in safe mode. // function osc_set_time_limit($limit) { // if (!get_cfg_var('safe_mode')) { // set_time_limit($limit); // } // } Vger
webbakken Posted December 19, 2006 Posted December 19, 2006 In that file, change this code: //// // Sets timeout for the current script. // Cant be used in safe mode. function osc_set_time_limit($limit) { if (!get_cfg_var('safe_mode')) { set_time_limit($limit); } } to this code: //// // Sets timeout for the current script. // Cant be used in safe mode. // function osc_set_time_limit($limit) { // if (!get_cfg_var('safe_mode')) { // set_time_limit($limit); // } // } Vger Hi If i follow that i get a failure in newsletters.php Fatal error: Call to undefined function tep_set_time_limit() in /usr/home/web/web154948/admin/newsletters.php on line 282 what can i do to that now? Best regards Brian Best regards Brian
Jack_mcs Posted December 19, 2006 Posted December 19, 2006 Try changing this function osc_set_time_limit($limit) { if (!get_cfg_var('safe_mode')) { set_time_limit($limit); } } to this function osc_set_time_limit($limit) { //if (!get_cfg_var('safe_mode')) { //set_time_limit($limit); } } Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.