Hi
First sorry for the broken English, i hope i make myself clear.
I have a drupal 7.2 site up and running, everything is fine but the host is slow.
Because of that i change to new host.
The new host is very fast compared to the first one, and from a visitor point everything is fine and fast.
But from behind the scene, i have problems.
It is not possible to run update.php, open up the configuration page, and the Status Report page.
Everything else in the admin seems to work fine.
Everytime i push the status page, config page or run update.php i get the following error:
Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/www.site.net/www/includes/file.inc on line 1975
Where line 1975 wil differ from time to time.
I dont have access to the shared server and support says its not possible for them to change the timeout.
I search the forum and tried several tips, to change the timeout, and it may have worked, but then instead of the above error, after some time i just get wsod.
I also tried to disable every single module, no luck.
I cleared caches, no luck
There is no entries in the "recent log messages", after the bsod or the error, everything seems fine.
When changing host, all i did was export the database and save all files.
Then import database and upload all files to new host.
Changed the settings.php and then im ready.
Did i miss something ?
Now im lost and ready to cry.
What to do ?
Can you fix it, then im ready to sell my mother.
Comments
Try to create a php file
Try to create a php file script same directory level of your update.php lets named it myupdate.php and paste the following code inside the php file you've created:
Then instead of executing update.php you use the myupdate.php when updating, example:
http://example.com/myupdate.php
Arpeggio
(o-)===#~
Web developer
Hello, You can create one
Hello,
You can create one php.ini file in the root folder of your website and do the above changes to increase the max exec time.
Also you can refer here where already discussed!
http://drupal.org/node/205295
Thanks,
Niyas
Thanks arpeggio and
Thanks arpeggio and Niyas
Arpeggio, i tried your trick, but no luck. Still get the same damn error :(
Niyas, i also tried your php.ini trick, still the same error.
I then read the link you posted and tried the settings.php trick, and it may work, it "thinks" longer now, but the result is just a wsod :(
What to do ? i am open for all the help i can get on this. Thanks for helping me, it is very much appriciated.
Have you tried to setup a
Have you tried to setup a fresh Drupal 7.2 and execute update.php?
Can we ask the name of your web hosting provider and hosting plan you purchased and the URL of your site?
Arpeggio
(o-)===#~
Web developer
Yes, i have set up a fresh
Yes, i have set up a fresh installation and it then works fine.
I have also tried to import my old database and all the files but the sites/modules files, and then its fine too.
I then uploadet the sites/modules files one at the time, to figure out when the error occour.
The error occour when im half way through uploading my sites/modules files, but it does not matter witch ones i upload. Its like suddenly its just to much for the system.
My info is www.nordek.net
I will contact you on email and provide you with the rest of the info.
Thanks for your help.
Problem solved
Hi Butte,
I have lost some hair :( this is tougher than I expected. But good news I have solved your problem! ;) The following are the modifications that I made with your site:
at your .htaccess file.
I have already put back all the configurations that I changed.
Now your site’s admin page is faster than before and can execute the update.php ;)
Thanks,
Roland
Arpeggio
(o-)===#~
Web developer
Roland, im very very sorry
Roland, im very very sorry about your hair :)
Thank you for all your work, i am very very happy.
I will contact you on email.
Thanks.
No problem, still got few
No problem, still got few left :)
I'm glad to make you happy Anders.
Thanks.
Arpeggio
(o-)===#~
Web developer