unkwntech Posted July 17, 2008 Share Posted July 17, 2008 Getting this error and google was no help: Fatal error: Function name must be a string in crash.php on line 115 $config['textLog']['logFile'] = '/path/to/logs/siteError.log'; ... $fh = fopen($config['textLog']['logFile'], 'w'); //line 114 $config['textLog']['format'] = preg_replace('/%t/', $date('d/m/y'), $config['textLog']['format']); //line 115 Quote Link to comment https://forums.phpfreaks.com/topic/115195-solved-fatal-error-function-name-must-be-a-string/ Share on other sites More sharing options...
DoddsAntS Posted July 17, 2008 Share Posted July 17, 2008 Hi, you could try removing the $ from the front of the dtae function, that may help A Quote Link to comment https://forums.phpfreaks.com/topic/115195-solved-fatal-error-function-name-must-be-a-string/#findComment-592313 Share on other sites More sharing options...
unkwntech Posted July 17, 2008 Author Share Posted July 17, 2008 Oh WOW.... In my defense I have been up WAY to long. Quote Link to comment https://forums.phpfreaks.com/topic/115195-solved-fatal-error-function-name-must-be-a-string/#findComment-592315 Share on other sites More sharing options...
DoddsAntS Posted July 17, 2008 Share Posted July 17, 2008 No worries, I do the same quite regularly A Quote Link to comment https://forums.phpfreaks.com/topic/115195-solved-fatal-error-function-name-must-be-a-string/#findComment-592321 Share on other sites More sharing options...
unkwntech Posted July 17, 2008 Author Share Posted July 17, 2008 Thanks much... now I can stop beating my head against my desk. Quote Link to comment https://forums.phpfreaks.com/topic/115195-solved-fatal-error-function-name-must-be-a-string/#findComment-592323 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.