Hi Recently I've had these two errors: On my forum: On my directory: Any ideas what could possibly be causing them and how I can fix them?
Not sure about the first one, but the "Cannot redeclare http_redirect()" is fairly simple. PHP has things called functions, which begin with code like: function nameoffunction($valueA,$valueB){ Code (markup): and end with a closing: } Code (markup): Find in your scripts where it says function http_redirect(){ /* stuff here */ } Code (markup): It will be there more than once. Either delete the second (third, fourth, fifth etc if they exists) declaration of this function, or put: if (!function_exists('http_redirect')){ function http_redirect(){ /* stuff here */ } } Code (markup): which will stop it being redeclared if it already exists.
But why would it just start appearing even if I haven't provoked it? After deleting it's fixed so thank you.
It appears if it is declared twice, that's the provocation. I can't tell any more without access to the code itself.
regarding the first error, i have some more details now in my error_logs I get this error: Anyone got any ideas?