Rsmiley Posted May 14, 2012 Share Posted May 14, 2012 functions.php source -> http://smileybb.com/paste/99 <- [Password: freak] Error: Fatal error: Cannot redeclare log() in /home/smileybb/public_html/style/inc/functions.php on line 62 functions.php is only called one time to check for errors since I tend to write the backend before the frontend. Any chance you guys could give me some help? Link to comment https://forums.phpfreaks.com/topic/262490-cannot-redeclare-log/ Share on other sites More sharing options...
Rsmiley Posted May 14, 2012 Author Share Posted May 14, 2012 Found the if(!function_exists()) in the tutorials and surrounded 'function log' with it. It worked, so out of curiousity I checked php.net and wouldn't you know. http://php.net/manual/en/function.log.php Renaming the function solved the problem '' Link to comment https://forums.phpfreaks.com/topic/262490-cannot-redeclare-log/#findComment-1345216 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.