Fatal error when installing a package

Started by slinouille, April 05, 2008, 01:04:38 PM

Previous topic - Next topic

slinouille

Hello !

I'm trying the smf2 beta 3 actually, and it's my 1st problem that I can't solve all alone ;-)

So I've uploaded a new package. once uploaded, I've click on "install package" !
After some seconds I've got a while page with :

Fatal error: Maximum execution time of 10 seconds exceeded in /home/www/.../web/forum/Sources/Subs.php(3673) : eval()'d code on line 803

For information, the package is for this version of SMF ;-)

Any idea about this eval() function ???

Thanks for any help  ;D

Bye

SliN
Visit VAG-Technique.fr
Take a look to my mods

eleven0


Oldiesmann

Your host has PHP set to prevent scripts from taking more than 10 seconds to execute (which is ridiculous).

First, try changing it by adding this to the beginning of index.php (right after the opening PHP tag):

@ini_set('max_execution_time', 30);

The "@" will prevent PHP from displaying an error message if your host has disabled the ini_set function.

If you still can't install packages after making that change, contact your host and ask them to change it to something more reasonable. If they refuse, find a better host.
Michael Eshom
Christian Metal Fans

slinouille

Hello,

Thank you for the help ... it was indeed a probleme of time!
I've added the suggested code line by Oldiesmann and the package has been perfectly installed.

Once again thank you for help and for this very very nice new SMF  :D

Bye

SliN
Visit VAG-Technique.fr
Take a look to my mods

gough14


Advertisement: