Portal Home > Knowledgebase > Articles Database > What is wrong now wrong with my site? I get an error when I try to access my site!
What is wrong now wrong with my site? I get an error when I try to access my site!
|Posted by nicheserver, 12-29-2007, 08:46 PM|
|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.
Thanks in forward
|Posted by cyberturk, 12-29-2007, 08:52 PM|
|You can increase the Maximum execution time on the php.ini file.
|Posted by nicheserver, 12-29-2007, 08:59 PM|
|arkadas turksun galiba tessekkurler
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???
|Posted by PremiumHost, 12-30-2007, 02:10 AM|
|Can't access updownloading.com
|Posted by nicheserver, 12-30-2007, 02:33 AM|
|I have tried to fix since midnight, but I dont know whats wrong with it?
whats weird is I can access www.updownloading.com/imghost
and it works perfect but www.updownloading.com gives error? (temporary I have uploaded a index.html so visitors can see we have problems) normally its a index.php file the script is using.
How can that be? I have change the httpd back again from before this problem came, but I still gets the error.
After my try with changing httpd in the first place, it worked perfect, but after 5-15 min this error came.
HELP this time its the last changing anything. Like the saying goes... "when its not broken, dont try to fix it" I am so dumb.
|Posted by unlimitedhost, 12-30-2007, 02:49 PM|
|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
|Posted by nicheserver, 12-30-2007, 03:46 PM|
|I must say that what Xfile has done is very amateur, how can they allow this to happen?
I hope they will solve this problem soon or I dont know what to do.
Best regards and "Happy" new year to all of you ...
|Posted by winadmeen, 12-30-2007, 03:47 PM|
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 firstname.lastname@example.org
|Posted by nicheserver, 12-30-2007, 03:50 PM|
|I have sent an e-mail to you, friend
|Posted by unlimitedhost, 12-30-2007, 03:52 PM|
|that crontab.php is ioncubed so we can't see..
all xtraupload sites are out of work now
|Posted by Steve_Arm, 12-30-2007, 04:35 PM|
|Seems that this crontab.php files falls in an endless loop.
|Posted by nicheserver, 12-30-2007, 04:45 PM|
|do you know how to fix it?
Please say yes
|Posted by Steve_Arm, 12-31-2007, 02:42 AM|
|I think the only one who can help you are the ones who wrote the script. As noted above by unlimitedhost the script is encoded.
If not I can take a look.
|Posted by winadmeen, 12-31-2007, 04:00 AM|
is it really so difficult to fix this issue ?
need server access to verify some configuration files and its a matter of couple of minutes to fix this...
for e.g. :
need to verufy default values of maximum_execution_time and php_value max_execution_time which is always 60
or may need to check some other config as well...
|Posted by Steve_Arm, 12-31-2007, 04:08 AM|
|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.
|Posted by unlimitedhost, 12-31-2007, 11:00 AM|
|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!
|Posted by nicheserver, 01-01-2008, 01:51 AM|
|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
|Posted by aaheroe, 01-02-2008, 02:38 AM|
I got same problem with you yesterday and today I solved it
empty file prune.php
just it !
if you not sure you can backup prune.php first
but im sure 99% your problem fix after that
|Posted by nicheserver, 01-02-2008, 03:00 AM|
|Hi, when you say empty file prune.php.
Do you mean open the file and mark all and delete, so it is all empty, then close.
Just to be sure, is that it?
|Posted by aaheroe, 01-02-2008, 07:30 AM|
|yes.. empty file prune.php
i hope the problem will be solved
|Posted by nicheserver, 01-02-2008, 09:12 AM|
|Thanks aaheroe, this helped a lot
Is this something I have to do regulary?
Add to Favourites Print this Article