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? Quote 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 '' Quote Link to comment https://forums.phpfreaks.com/topic/262490-cannot-redeclare-log/#findComment-1345216 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.