Error Scan Dir

Hallo,
please about help. On start hand SCAN Director we program finishes error:

Fatal error: Maximum execution time of 5 seconds exceeded in /DISK2/WWW/zalesaci.net/album2/main.php on line 120

Thank you. I am sorry for wrong English.

Hello, on some servers there

Hello,

on some servers there is a limit of maximum execution time for any php script. If it takes longer, you will get this error message.

Scaning of directories for photos can take more then 5 seconds, that is why you get this. You can change this limit in php.ini. This is a configuration file for php.

phpAlbum is trying to raise this limit by calling special function for this, but on some server this is not possible to change due to security reasons.

You can try to ask your administrator to raise this limit, or you can change your provider. Other possibility is to use the older version 0.3.x where there was no scanning of directories. But it has much less functions as the newer version.

Thank YOU.

Thank YOU.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8698264690166658"
data-ad-slot="4417389723">