Question: I get the error Deprecated: Assigning the return value of new by reference is deprecated in components/com_fireboard/template/default/view.php on line 509

and

Deprecated: Assigning the return value of new by reference is deprecated in components/com_fireboard/template/default/view.php on line 1037

after I've upgraded to PHP 5.3 within my Fireboard Joomla! component when viewing a forum entry.

 

NOTE: The following versions of Joomla! and Fireboard I had installed when this error occured.

  1. Joomla! Version 1.5.22
  2. Fireboard Version 1.0.4

Please view my answer for what I did in order to resolve this issue

 

Answer:

  1. Open the file components/com_fireboard/template/default/view.php
  2. Edit line 506 from
    View source
    $params =& new mosParameters( '' );
    to
    View source
    $params = new mosParameters( '' );
  3. Edit line 1037 from
    View source
    $params =& new mosParameters( '' );
    to
    View source
    $params = new mosParameters( '' );
  4. Save the file
  5. Refresh your page, and the error message will be gone.
Thanks a ton!
VOTES:1
I still love the old fireboard and I don\'t want to upgrade to kunena cause I felt that it\'s getting heavier every time I update something in my joomla site. Thanks a lot I was able to fix a portion of my forum since I used CB 1.2 stable I\'m still having error maybe I have to upgrade my cb to 1.2.2 which is compatible to php 5.3 currently my hosting upgraded to this version that\'s when the error starts popping up :( cause i\'m still using the cb 1.2.0 stable hope I\'ll be able to fix this. Just a question is this also applicable to Fireboard ver. 1.0.5?
VOTES:1
I just want to know if this error is still from fireboad I\'m using 1.0.5 and using CB 1.2.2. Just followed the instruction above and it\'s already fix but their is still an error don\'t know if CB is causing this...

Deprecated: Function eregi() is deprecated in /home/xxxxx/public_html/components/com_fireboard/template/default/view.php on line 540


how do I fix it? thanks...
VOTES:0
These errors occur because the current versions aren\'t PHP 5.3 compatible, the PHP version of your server upgraded to the latest PHP and thus causing these errors to occur, eregi is deprecated in PHP 5.3, my suggestion is to upgrade to the latest Joomla and Community Builder then the problem should disappear
VOTES:0
Thanks for the reply I just upragraded to 1.2.2 recently which I believe is compatible with php 5.3 my previous version was 1.2.0 which was not yet compatible with the latest php 5.3....
VOTES:0