Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   the script (error) takes too long to execute . (https://www.warriorforum.com/programming/653168-script-error-takes-too-long-execute.html)

mbwani 11th August 2012 06:20 PM

the script (error) takes too long to execute .
 
i am having a problem with script that it takes too long (above 120 seconds) to complete the request , so it's terminated forcefully and displays internal server error . this error occurs only when i try to post something or try to update some post.
my website is on wordpress plateform with tronline theme, i changed the theme to default (twenty eleven) as if theme could be the problem . but nothing happened and same error displays .
the error log on the server displays following errors:
1.[Sun Aug 05 22:35:22 2012] [warn] [client 180.76.6.36] mod_fcgid: read data timeout in 120 seconds
2.[Sun Aug 05 22:35:22 2012] [error] [client 180.76.6.36] Premature end of script headers: index.php
3.[Sun Aug 05 22:35:28 2012] [warn] [client 50.63.42.1] mod_fcgid: read data timeout in 120 seconds
4.[Sun Aug 05 22:35:28 2012] [error] [client 50.63.42.1] Premature end of script headers: wp-cron.php

now i can't figur out in which file the error is located, basically it the infinite loop somewhere . how can i find that .
help...

vulcanscripts 13th August 2012 06:27 AM

Re: the script (error) takes too long to execute .
 
As those error messages are not telling you exactly what include is causing the delay in script execution I would suggest deactivating all of your plugins and see if the problem persists. If not then reactivate your plugins one by one until the problem returns and then you will know where to start looking. You have already ruled out a theme issue. It's all about the process of elimination. Good luck and don't forget to report back if you solve it.

webpeon 13th August 2012 03:43 PM

Re: the script (error) takes too long to execute .
 
what jobs are you running on cron? is this when you are getting errors?


All times are GMT -6. The time now is 10:03 AM.