Phoca guestbook FATAL ERROR

Phoca Guestbook - creating guestbooks in Joomla! CMS
ika21
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Dec 2008, 00:14

Phoca guestbook FATAL ERROR

Post by ika21 »

I am killing my self trying to understand this problem... I am big fan of phoca software but I got a problem when I am installing phoca guest book I got the fallows problems
Fatal error: Only variables can be passed by reference in /home/xxxxxx/public_html/administrator/components/com_phocaguestbook/views/phocaguestbookbs/view.html.php on line 68 THIS IS THE LINE 68 $this->assignRef('request_url', $uri->toString());
Fatal error: Only variables can be passed by reference in /home/xxxxxxx/public_html/administrator/components/com_phocaguestbook/views/phocaguestbooks/view.html.php on line 90 THIS IS THE LINE 90 $this->assignRef('request_url', $uri->toString());
Fatal error: Only variables can be passed by reference in /home/xxxxxxx/public_html/administrator/components/com_phocafavicon/views/phocafavicon/view.html.php on line 71 THIS IS LINE 71 $this->assignRef('request_url', $uri->toString());
Versión de PHP: 5.0.5
Servidor web: Apache/1.3.37 Joomla! 1.5.7 :cry:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca guestbook FATAL ERROR

Post by Jan »

Hi, I think the solution is upgrading php version (many uses have problems with "only variables..." and php version and they solved it with upgrading of php version)

Jan
If you find Phoca extensions useful, please support the project
ika21
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Dec 2008, 00:14

Re: Phoca guestbook FATAL ERROR

Post by ika21 »

thanks Jan, but my page is in a hosting so far I can not upgrande it.... as they told me and also before all was working I am phoca phavicon... I have been traying to understand this error in fact... I haven been seraching for this mistake in the web... but I can not understand it.. what ever information do you need it ... I can give it you ... thanks for your help.. and quickly replay..
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca guestbook FATAL ERROR

Post by Jan »

Hi, see

http://bugs.php.net/bug.php?id=34481 (php 5.0.5, bug, only variable...)

I think, the solution is upgrading php or you find all parts of code where you have & before variable and you will delete it:

e.g.
&$variable ==> $variable (but there is a lot of presence of this & because of php4 compatability in Joomla! :( )

Jan
If you find Phoca extensions useful, please support the project
Post Reply