Frontend Users - pass variable by reference error

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

Frontend Users - pass variable by reference error

Post by psy »

Hello

I am using CMSMS v.13 and Frontend Users v1.0.5 on an Apache server, php v4.4.2. 

At first the installation went fine then unexplicably I started getting a php error saying only variables could be passed by reference in FrontEndUsers.api.php in line 1212, 1228 and 1264.  I have no idea what changed.

The error appeared both on the viewable page and in the admin area.

The problem appears fixed by changing:

    $db =& $this->GetDb();

to

    $db = $this->GetDb();

ie, removing the ampersand.

Please let me know if this is a bug and will be fixed in a newer release of FEU or I'm doing something wrong.

Many thanks
psy
Post Reply

Return to “Modules/Add-Ons”