Posted by lifewave on January 20, 2011 at 10:17pm
Hi all!
In all pages of the admin menu on openpublish i see this error: Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampplite\htdocs\drupal\includes\common.inc on line 552
but in this file i have no max_execution_time to change..
How have i to do?
thanks
Comments
i think you have to change
i think you have to change the maximum execution time setting in your php.ini file
ok but i haven't the php.ini
ok but i haven't the php.ini file on my server... where is it? i have only my drupal files..
php.ini location and settings
Hi lifewave,
It should/could be under /etc/
You will need root access (sudo) to edit it. Here is some documentation from OpenPublish specifying the suggested settings (see last two bullets):
http://openpublishapp.com/doc/system-requirements
Here is a list of the directives from php.net for your php.ini file:
http://php.net/manual/en/ini.list.php
That should give you a sense of what each directive does, as well as defaults.
Do you know which version of PHP you are running? Currently, the required version is 5.2.x (any version of 5.2). If you have 5.3, you could see issues, not necessarily of this vein, but something to be aware of.
Hope this helps...Good luck to you!
Works! Thanks
Works!
Thanks
you'll have to create 1
you'll have to create 1 inside your www directory (in the root)
i found the solution that problem:
Fatal error: Maximum execution time of 60 seconds exceeded in C:\server\htdocs\wcmarket\includes\common.inc on line 552::: something.. etc etc...
JUST DISCONNECT YOUR INTERNET CONNECTION!
E9178
You can fix it by editing setting.php in Drupal
When you are working on Drupal in your local installation some times you get :Fatal error: Maximum execution time of 30/60 seconds exceeded on your browser.
I also got that issue and what I did, I added this code block in my settings.php.
1) open your settings.php (sites / all / default/settings.php)
2) add this code for PHP settings: line number between 147 - 168
ini_set('max_execution_time', 0);
(you may get permission error, because by default setting.php is right protected. for that you can create a new setting.php file and make sure COPY AND PAST ALL data code in old setting.php then you can replace it )
Running on WAMP-server
When you're running a drupal installation on a WAMP-server modify following parameter in \wamp\apps\phpmyadmin3.5.1\libraries\config.default.php
/**
* maximum execution time in seconds (0 for no limit)
*
* @global integer $cfg['ExecTimeLimit']
*/
$cfg['ExecTimeLimit'] = 5000;
I've set the eXecTimeLimit from 30 to 5000...
Goodluck!