Page 1 of 1

Phoca guestbook FATAL ERROR

Posted: 24 Dec 2008, 17:02
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:

Re: Phoca guestbook FATAL ERROR

Posted: 25 Dec 2008, 00:24
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

Re: Phoca guestbook FATAL ERROR

Posted: 26 Dec 2008, 06:50
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..

Re: Phoca guestbook FATAL ERROR

Posted: 26 Dec 2008, 23:02
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