• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

Parse Error

Dan

Bullah
NLC
I am getting a parse error at the end of my document on line 1390.
All that's on that line is a closing php tag, ?>

Anyone got any ideas?
 
With such little information, I don't believe anyone would be able to help you.

If it's not that private - you could probably paste it at a code-paste site like codepad.org and give us a link so that we can investigate..
 
Have you checked the file for any whitespace? Esp from the line that's pulling the error. I've had that make things go funny for me. Otherwise, check the tag (which I'm sure you've prob done a thousand times by now, check it again anyways ;-) lol).

Or as rapiddog said, I'd love to take a look at the code and help you fix things.
 
Last time I got one of these, it was due to a bracket missing in the middle of my code. Make sure you close all of your functions with { }. (It was my downfall at least)
 
If you can show us the code, one of us can probably fix it in no time

Though it looks like you've forgot to close a brace somewhere, like this:

Code:
if($something) {
//blah blah
?>
, leaving out the "}" (or "endif;", "endforeach;" etc if you're using alternate control structures)

Try adding a line containing "}" above the "?>" line :)
 
Back
Top