Page 1 of 1

fatal error

Posted: 25 Nov 2009, 15:47
by den
I ask my question differently. Excuse me I am not very good at English

hello,

can someone tell me what is the file "view.html.php" in Phoca guestbook and why it causes:
Fatal error: Only variables can be passed by reference in / s / home / Fw / reflexarome / pub / www.reflexarome.com / joomla / administrator / components / com_phocaguestbook / views / phocaguestbooks / view.html.php on line 90.

The images of buttons control panel does not show and I do not have a message ki book.
I already installed pllusieur times without success. The database looks good

thank you all in advance
Denis

Re: fatal error

Posted: 25 Nov 2009, 16:06
by codejunkie
Can you post the code on that line from the file?

Re: fatal error

Posted: 25 Nov 2009, 16:31
by den
ok
When I click items in the Control Panel
Fatal error: Only variables can be passed by reference in /s/home/_re/reflexarome/pub/www.reflexarome.com/joomla/administrato ... w.html.php on line 90

line 90:
$this->assignRef('request_url', $uri->toString());


When I click guestbook in the Control Panel

Fatal error: Only variables can be passed by reference in /s/home/_re/reflexarome/pub/www.reflexarome.com/joomla/administrato ... w.html.php on line 68

line 68
$this->assignRef('request_url', $uri->toString());

it's not the same file but it's the same request !!!!weird
thank you for your help
Denis

Re: fatal error

Posted: 25 Nov 2009, 16:49
by codejunkie
I'm not a PHP guru but this may work for both as they are the same code. Comment out each original line by placing a double / at the beginning of the line.

Code: Select all

//$this->assignRef('request_url', $uri->toString());
Then add just below that line:

Code: Select all

$uristring = $uri->toString();
$this->assignRef('request_url', $uristring);
If this does not work, come back and we can try something else. :idea:

Re: fatal error

Posted: 25 Nov 2009, 19:45
by den
Hello,
I do not know whether or not you are a PHP guru but I'd like your level.

I changed as indicated the 2 files in 2 directories concerned.
it worked to access the list of my posts and the list of my guestbooks.
But when I clicked in one of the elements of these lists had a fatal error in the same file 2 new directories. So I applied a new correction in 2 files and it works.

Knowing almost nothing in PHP I did not understand what you made me do it but thank you very much.
For info icons have not returned, nor in the control panel or the menu component. I also think he is missing on display on the site.
http://www.reflexarome.com/joomla/
this is my first joomla site is not finished yet.
Congratulations and thank you again
Denis :twisted: