parse error on Version 1.3.0

Phoca Guestbook - creating guestbooks in Joomla! CMS
LordofOceans
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 22 Apr 2008, 22:14
Location: Lisboa
Contact:

Hi there, I�

Post by LordofOceans »

Hi there,
I'm new on the forum, i just finished installing the guestbook v1.3.0 and when i went to test it i get this error Parse error: parse error, unexpected ']' in \components\com_phocaguestbook\controllers\phocaguestbook.php on line 277

Can you help please?

regards
ClĂĄudio
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48714
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

??? on row 277 there

Post by Jan »

??? on row 277 there is:

if ($post['email'] && trim($post['email']) !='' )
{
$email = 1;
}


no idea what can be wrong for you? Which version of PHP do you use? Did you download the component from this site?
If you find Phoca extensions useful, please support the project
LordofOceans
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 22 Apr 2008, 22:14
Location: Lisboa
Contact:

Hi jan, yes i

Post by LordofOceans »

Hi jan,
yes i download itr from site, i use php version > 4, i look int the code and i found it very strange, no ident, and somethings wrong too.
So i decided install it again, now the file is great and book is working, i think my server was tired when i try to install the book on first time .
Now everything is working, it was a bug from server.
If you want i can send you a copy from file after frist install, file is very strange.

regards
Claudio
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48714
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Hi, maybe there was

Post by Jan »

Hi, maybe there was an error while installing (copying files into a Joomla folder). Sometimes the file will be corrupted while copying (ftp transfering) ... it is not so easy with computers ...
If you find Phoca extensions useful, please support the project
Post Reply