What is wrong now wrong with my site? I get an error when I try to access my site!
As the title says I get this error
"Fatal error: Maximum execution time of 30 seconds exceeded in /home/nicsad/domains/updownloading.com/public_html/include/kernel/crontab.php on line 0"
when I try to access my site.
The error accured after I "optimized" (yeah sure) Im killing my self, lol,
the file /etc/httpd/conf/extra/httpd-mpm.conf
and restarted the server, I am on a dedicated server, Linux Centos 5 with DirecAdmin panel.
First it worked, there was no problem at all, then after 5-15 minutes I got the above error?
What is weird is that all other websites I have on the server works fine, it only this one which doesnt work:
And what is more weird is that the temporary index.html file I have uploaded is accessible???
but the normal index.php file which my website use is not.
All worked perfect without problem before but now I get the above error.
Please again help, I promise after this time I wont "optmizing" anything Why cant I just be satisfied and stop mendling with what I dont know.
I recieve around 400-500 visitors a day so I hope you can help me fix this problem.
I have tried what you suggest but it just try to access the site longer and comes back with the same error.
Whats weird is that I can access this updownloading.com/imghost which is at the same server and all but updownloading.com gives error (now there is a temporary index file i have uploaded to let my visitors know what is going on) but when I remove the temporary index and try access it waits and gives error.
Why do you think it does that, cause it worked perfect when I first restarted the server? after 5-10 minutes it gave error and only with this site, not the other sites or the above mention site, which is on the same domain???
i face the same problem since yesterday, i think that crontab.php refers to a file in xtrafile.com's server and xtrafile.com goes down since yesterday, therefore it can't load the file so it gives error, if its true its pretty stupid
Its a very common issue we face daily with php pages and easy to fix.
May I know the code of the corresponding page on which you are getting the error so that I can suggest you the fix... ?
If you do not want to provide code here, you can mail me at [email protected]
No it's not that simple. How many scripts do you now that exceed the 30 or 60 secs period to execute? Especially an index page.
This means 2 things. Either the code hungs in a loop or it tries to connect to some kind of service and it can't.
doesn't anyone read what i wrote in my replies argghhh.. it's not about localhost, crontab.php checks another file from another server which is down. so it goes in an endless loop... even if you increase the max execution time to an hour, it WONT LOAD!
Unlimitedhost is right. As he has mentioned before aparently crontab.php tries to "connect" to script developers server, and there server is down, I have wroted to them and they confirmed that there server was down.
And they also said then 80% of websites that use there script should be able to work even if there own server was down.
To bad for me Im not in this 80%, I have asked why its only 80% and how/what I can do to become one of this 80% I have not recieved answer yet, but it is new year so...
Thank you all very much to take your time reading and replying, thank you and happy new year