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 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 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. 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 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. 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
Archived
This topic is now archived and is closed to further replies.