This question already has an answer here:
After I have instaled in my site one script, I have an error:
Fatal error: Cannot redeclare ae_detect_ie() (previously declared in /home/xdesign/public_html/Powerful/config.php:24) in /home/xdesign/public_html/Powerful/config.php on line 29
This is the line:
function ae_detect_ie()
{
if (isset($_SERVER['HTTP_USER_AGENT']) &&
(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))
return true;
else
return false;
}
I don't understand what I did wrong!
The site: http://fbswapes.com
The same script is working in another host.
Simpily you have declared a function twice.. Example:
Global.Fun.php
Index.php
Notice, I have declared the same function twice, one in my
global.fun.php
page and again in theindex.php
page..If you are in doubt that a function is currently set: