Jump to content

Recommended Posts

This code

 

	$key = md5($boardurl . filemtime($sourcedir . 'Sources/Load.php')) . '-SMF-' . strtr($key, ':', '-');

 

is generating this error message..

 

Warning: filemtime() [function.filemtime]: stat failed for Sources/Load.php in /home/wolfy45/public_html/forum/Sources/Load.php on line 2687

Connection Problems

Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.

 

 

Why?

Link to comment
https://forums.phpfreaks.com/topic/252548-fatal-error/page/2/#findComment-1295132
Share on other sites

  • 2 weeks later...

Please, You can change your memory limit by setting memory_limit to –1 in PHP. This fatal PHP error crops up because, by default, PHP has a memory usage limit of 8 MB for any given script. This is a acceptable thing, actually, because you don’t wish a rogue PHP Software to bring down your server by acquisitive all the memory. But occasionally, you’ll have a PHP script that normally exceeds the 8 MB limit

Link to comment
https://forums.phpfreaks.com/topic/252548-fatal-error/page/2/#findComment-1298085
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.