@rosbach
It seems your hosting provider have disable the set_time_limit() function.
You have 2 optiosn:
1. Speak to your hosting provider and ask them to enable this function.
2. Edit the Subscribe2 code. It’s pretty easy, open the subscribe2.php file in wp-content/plugins/subscribe2/ in the Plugin Editor in the WordPress admin area and find the following line:
set_time_limit( 600 );
Change it to:
‘// set_time_limit( 600 );’
And then save.
You may need to use a file editor on your computer if these steps fail for some reason.
Hi MattyRob
Thanks for your help.
Now the situation has gotten worse, since I now can’t log on to the webpage and therefore can’t enter the control panel and edit the Subscribe2 code, as you proposed.
When I go to the webpage (both on Google Chrome and Safari) I see our normal starting page but with this error message written in the top:
“Warning: set_time_limit(): Cannot set max execution time limit due to system policy in /customers/2/2/5/soenderborggade.dk/httpd.www/wp-content/plugins/subscribe2/subscribe2.php on line 64”
When I try to log on using Google Chrome, I get the error message nr 2 from my first post.
When I try to log on using Safari, it says there has been an error, gives me the option to try logging on again, and present following in the top of the page:
“Warning: set_time_limit(): Cannot set max execution time limit due to system policy in /customers/2/2/5/soenderborggade.dk/httpd.www/wp-content/plugins/subscribe2/subscribe2.php on line 64 Warning: Cannot modify header information – headers already sent by (output started at /customers/2/2/5/soenderborggade.dk/httpd.www/wp-content/plugins/subscribe2/subscribe2.php:64) in /customers/2/2/5/soenderborggade.dk/httpd.www/wp-login.php on line 447 Warning: Cannot modify header information – headers already sent by (output started at /customers/2/2/5/soenderborggade.dk/httpd.www/wp-content/plugins/subscribe2/subscribe2.php:64) in /customers/2/2/5/soenderborggade.dk/httpd.www/wp-login.php on line 462 Warning: Cannot modify header information – headers already sent by (output started at /customers/2/2/5/soenderborggade.dk/httpd.www/wp-content/plugins/subscribe2/subscribe2.php:64) in /customers/2/2/5/soenderborggade.dk/httpd.www/wp-includes/pluggable.php on line 928 Warning: Cannot modify header information – headers already sent by (output started at /customers/2/2/5/soenderborggade.dk/httpd.www/wp-content/plugins/subscribe2/subscribe2.php:64) in /customers/2/2/5/soenderborggade.dk/httpd.www/wp-includes/pluggable.php on line 929 Warning: Cannot modify header information – headers already sent by (output started at /customers/2/2/5/soenderborggade.dk/httpd.www/wp-content/plugins/subscribe2/subscribe2.php:64) in /customers/2/2/5/soenderborggade.dk/httpd.www/wp-includes/pluggable.php on line 930”
Should I still try to contact my hosting provider or do you have a tip for how I can lon on and acces the control panel in some way?
I have backups of the webpage from the programme BackWPup, but it seems like I would need to buy their software to use a backup?
/Michael
Hi again
Just for feedback.
I figured out how to acces the edit the Subscribe2 code. I tried replacing the line as you suggested, but it then reported an error:
Parse error: syntax error, unexpected T_REQUIRE_ONCE
I then deleted all of the coding including and below the “set time limit” and the site now seems to work, for now at least 🙂
/Michael