If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Hybrid View

Parse Error!

So I was messing with some code and I ended up messing up the login for my website. It is probably a really simple error that I just can't find but any help would be greatly appreciated. Please put any answers in relatively simple terms! I'm kinda new at this! Thanks!

Here is the error.... Parse error: syntax error, unexpected T_PRIVATE in /home6/vickysdi/public_html/catalog/controller/account/login.php on line 133
Here is line 130-145

I suspect the current error message is the result of something possibly earlier in the code, or a missing closing "}" before the offending line, making that "private function..." unexpected on the cited line number. Then once you fix that, you'll run into the problem scaiferw pointed out, above.

Rest of the code

Here is the rest of the code. I added in the extra bracket and it doesn't seem to have solved the error. I suspect it would be something earlier in the code but I have no idea of how to find it. Thanks again for your help!!

I suspect the current error message is the result of something possibly earlier in the code, or a missing closing "}" before the offending line, making that "private function..." unexpected on the cited line number. Then once you fix that, you'll run into the problem scaiferw pointed out, above.

You are probably right. Too bad I don't know php very well... I put in the other bracket and it didn't solve the problem as you suspected... Here is the entire code. Any chance you can help me find the error? Thanks!