You are here

Need Help

devendra's picture

Hii All
I have installed drupal 6.14. Its working fine. I have created multilingual portal. I have successfully installed all necessary modules and everything was alright, but from this week, i m facing problem while installing new module. New modules are not installing and it is giving error msg

"Fatal error: Maximum execution time of 30 seconds exceeded in /home/hostname/public_html/sitename/includes/file.inc on line 898"

How should i come out of this?
Please help.
Thanks in advance

Taxonomy upgrade extras: 
charan.adodis's picture

I think this is due to the time out error.To solve this problem go to apache/bin/php.ini file.In this file set the max_execution_time='600'

else copy the following code and save it as php.ini file and place it in your root directory.

register_globals = Off
allow_url_fopen = Off
upload_max_filesize= 128M
display_errors = Off
log_errors = On
html_errors = Off
expose_php = Off
safe_mode = On
disable_functions = show_source, shell_exec, system, exec, passthru, popen, phpinfo, proc_open

Drupal Web Developers,Drupal Web Development Company,Drupal website services,Drupal Web Development
Drupal Development, Drupal Web Service

devendra's picture

Hi charan.adodis,
Thnx for your reply.
I have done whatever you have told.
I made all the changes.
But error remains same.
I hope you may suggest another solutuion
Thnx.

charan.adodis's picture

Please try this on
simply edited sites/default/settings.php and added the following line:
ini_set('max_execution_time', 0);

(OR)

Try to install
http://drupal.org/project/drupal_tweaks
then increase the maximum execution time

Drupal Web Developers,Drupal Web Development Company,Drupal website services,Drupal Web Development
Drupal Development, Drupal Web Service

faruq1256's picture

edite sites/default/settings.php and add
ini_set('max_execution_time', 60);
ini_set('memory_limit', 64MB);

OR

U can add this in .htaccess also.
php_value max_execution_time 60
memory_limit 64MB

Regards
Faruq Shaik
http://faruq1256.blogspot.com

devendra's picture

Hii Frnds,
Thnx for all your comments and help.
Issue is solved.
Thank you very much.