simple-review.com
September 09, 2010, 08:26:02 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Help now open.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Call-time pass-by-reference has been deprecated  (Read 1031 times)
tuliovianna
Newbie
*
Posts: 3


View Profile Email
« on: February 07, 2010, 04:44:35 PM »

Hi, I have this error after the instalation:

In main menu:

Quote
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/tuliovianna/www/administrator/components/com_simple_review/addons/modules/Review_Module/Review_Module_Admin.php on line 530

and in "Review Management"

Quote
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/tuliovianna/www/administrator/components/com_simple_review/addons/modules/Review_Module/Review_Module_Admin.php on line 530

Joomla 1.5.15
PHP Version 5.2.6

Please, hellp me!

Thanks!
Logged
row1
SR Sole Developer
Hero Member
*****
Posts: 824



View Profile
« Reply #1 on: February 09, 2010, 05:12:00 AM »

Hi,

Please open that file and change line 530 from this:
Code:
$template = new TemplateReviewForm(&$this->_ReviewModule, $tips, $lists);

to this:
Code:
$template = new TemplateReviewForm($this->_ReviewModule, $tips, $lists);
Logged

If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!
tuliovianna
Newbie
*
Posts: 3


View Profile Email
« Reply #2 on: February 11, 2010, 05:47:54 AM »

I have changed the code, but the error message continue.

Thanks!
Logged
row1
SR Sole Developer
Hero Member
*****
Posts: 824



View Profile
« Reply #3 on: February 13, 2010, 10:54:16 PM »

Hi,

You are using Simple Review 2.1.2C right?

Has the error message changed?

If the error message remains at line 530 then please verify that you have uploaded it to the correct place and have removed the '&' from line 530.
Logged

If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!
tuliovianna
Newbie
*
Posts: 3


View Profile Email
« Reply #4 on: February 14, 2010, 07:21:26 AM »

Yes, I am using Simple Review 2.1.2C and I have changed the line 530 correctly, but the error message have not changed.
Logged
row1
SR Sole Developer
Hero Member
*****
Posts: 824



View Profile
« Reply #5 on: February 14, 2010, 07:46:17 AM »

Ok, I have emailed you, hopefully we can get this resolved quickly.
Logged

If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!
row1
SR Sole Developer
Hero Member
*****
Posts: 824



View Profile
« Reply #6 on: March 22, 2010, 06:13:57 AM »

Fixed and released in 2.2.0
Logged

If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!