unexpected $end, expecting ']

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
CBSpain
Posts: 2
Joined: Thu Aug 09, 2012 4:46 pm

unexpected $end, expecting ']

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: unexpected $end, expecting ']

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
CBSpain
Posts: 2
Joined: Thu Aug 09, 2012 4:46 pm

Re: unexpected $end, expecting ']

Post by CBSpain »

The new file soloved the problem thanks :D
Post Reply