Page 1 of 1

unexpected $end, expecting ']

Posted: Thu Aug 09, 2012 5:27 pm
by CBSpain
Script URL: IZNAJAR.BIZ/GUESTBOOK/GBOOK.PHP
Version of script: 1.7
Hosting company: 1&1
URL of phpinfo.php: http://www.iznajar.biz/phpinfo/phpinfo.php
URL of session_test.php: http://www.iznajar.biz/sessiontest/session_test.php
What terms did you try when SEARCHING for a solution:
Parse error: syntax error, unexpected $end, expecting ']' in /homepages/27/d141427210/htdocs/CasaLosPinosSpain/GuestBook/gbook.php on line 205
Write your message below:
I have just downloaded and installed GBook.

When I open the guest book I get the message below - but the error is not found in the file.

Parse error: syntax error, unexpected $end, expecting ']' in /homepages/27/d141427210/htdocs/CasaLosPinosSpain/GuestBook/gbook.php on line 205

Re: unexpected $end, expecting ']

Posted: Thu Aug 09, 2012 6:08 pm
by Klemen
This could be your host truncating encoded parts of the gbook.php file.

Does it help if you upload this one instead?
http://www.phpjunkyard.com/extras/gbook17_evalfix.zip

Re: unexpected $end, expecting ']

Posted: Fri Aug 10, 2012 9:15 am
by CBSpain
The new file soloved the problem thanks :D