PDA

View Full Version : Syntax Error on Line 1051


Colaar
06-20-2009, 11:47 AM
Hi there.

My host previously had to move servers, and had to transfer a backup of the forum to the new server. During this, we encountered an error when we try to access the forum by visiting the webpage.

I am not very technical, so i'm hoping someone can help me fix this problem.

When I visit the website, an error like below appears:

Parse error: syntax error, unexpected $end in /home/habbopo/public_html/global.php on line 1051

Can someone possibly help?

Thanks,
Colin.

Dismounted
06-20-2009, 11:56 AM
Try disabling all your plugins by adding this to the end of your config.php:
define('DISABLE_HOOKS', true);

Colaar
06-20-2009, 04:01 PM
Hmm, tried. It doesn't seem to work.

Lynne
06-20-2009, 04:30 PM
Try reuploading your global.php page. Make sure it is a default one from your download package.

Carnage
06-20-2009, 05:51 PM
unexpected $end tends to happen when for some reason a file is only partially uploaded.

Lynne's suggestion above should fix it.