php error

hia,

ive just changed hosts and so i backed up the whole of my forum and database this morning,

uploaded everything to my new host and got most of it working but i keep getting errors at the top of the page saying

Parse error: syntax error, unexpected ';' in /home2/dnbpirat/public_html/index.php(589) : eval()'d code on line 6

and when i go to post a thread, i get the following error

Unable to add cookies, header already sent.
File: /home2/dnbpirat/public_html/includes/functions.php(2565) : eval()'d code
Line: 2


i think it may be somthing to do with the us language pack because in the admincp
*[faq]*
*[notices]*
*[announcements]*
 
ok i sorted out the items in admincp it was the language pack that i just downloaded and overwriten, now its fixed....

i still keep getting the error at the top of the page and when posting a thread, i get

Parse error: syntax error, unexpected ';' in /home2/dnbpirat/public_html/includes/functions.php(2565) : eval()'d code on line 2

Parse error: syntax error, unexpected ';' in /home2/dnbpirat/public_html/includes/functions.php(2565) : eval()'d code on line 2

Parse error: syntax error, unexpected ';' in /home2/dnbpirat/public_html/includes/functions.php(2565) : eval()'d code on line 2

Parse error: syntax error, unexpected ';' in /home2/dnbpirat/public_html/forumdisplay.php(261) : eval()'d code on line 6

Parse error: syntax error, unexpected ';' in /home2/dnbpirat/public_html/includes/functions.php(2565) : eval()'d code on line 2

Parse error: syntax error, unexpected ';' in /home2/dnbpirat/public_html/includes/functions.php(2925) : eval()'d code on line 6


and



Unable to add cookies, header already sent.
File: /home2/dnbpirat/public_html/includes/functions.php(2565) : eval()'d code
Line: 2
 

Grinderhand

New Member
Are you able to get into your AdminCP? If so, disable all your mods and see if that helps. if so, re-enable your mods one by one until you find the troublemaker.

If you can't get into your AdminCP, edit your config.php placing this line:

Code:
define('DISABLE_HOOKS', true);

immediately after the <?php line. If that helps, disable all mods in AdminCp, remove the above line, then re-enable one by one as above.
 
Top