Page 1 of 1

CMSUsers Fatal error

Posted: Wed Aug 14, 2013 3:13 pm
by the1knight
Hi, I am relatively new to cmsmade simple but loving it, however I have come across an issue after installing my first module. I am more than willing to have a go if anyone can help. I would hate to drop the project at first attempt.

Upon installation of CMSUsers on a localhost Windows 7 pc running server xampp, I see the following message..

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\cmsmadesimple\modules\CMSUsers\CMSUsers.module.php on line 179 Please see screens shot.

Sign in works fine but sign up reveals a untemplated home page with the following message at the bottom...

Fatal error: Call-time pass-by-reference has been removed in C:\xampp\htdocs\cmsmadesimple\modules\CMSUsers\action.signup.php on line 73

This is Line 72 thru 74..
72: $form->setWidget('title', 'text', array('object' => &$profile_module, 'size' => 50, 'label' => $module->getTitleLabel()));
73: call_user_func(array($views_name, 'createForm'), $module, &$form, &$profile_module,array('frontend' => true));
74:}


and 176 thru 179
176: elseif($this->GetPreference('signup_redirection') != '')
177: {
178: return CMSUsers::jumpTo($this->GetPreference('signup_redirection'));
179: }

Re: CMSUsers Fatal error

Posted: Wed Aug 14, 2013 3:49 pm
by Dr.CSS
Are you sure it's up to date with CMSMS..?

Last Release Date: 2012-10-16 (10 months ago)

Re: CMSUsers Fatal error

Posted: Wed Aug 14, 2013 5:17 pm
by the1knight
Yes version 1.0.10. Installed through module manager. Also cmsmadesimple version is 1.11.7
Current PHP Version (phpversion) 5.4.16
Server Database Version (server_db_version) 5.5.32
Server Operating System (server_os) winnt 6.1 on i586

Re: CMSUsers Fatal error

Posted: Thu Aug 15, 2013 12:42 pm
by the1knight
Nobody knows then? Marvellous.

Re: CMSUsers Fatal error

Posted: Thu Aug 15, 2013 12:52 pm
by Jo Morg
the1knight wrote:Nobody knows then? Marvellous.
Dr.CSS wrote:Are you sure it's up to date with CMSMS..?

Last Release Date: 2012-10-16 (10 months ago)
The question seems to be misunderstood.
It apears (as Dr.CSS hinted) that CMSUsers is NOT up to date to work with the latest version of CMSMS.
Two alternatives (AFAIK):
1 - contact the module developer to see if the module is still being actively supported, and/or file a bug report;
2 - Use a similar module from forge: FEU (Front End Users) has regular releases, and probably does the same thing.

Re: CMSUsers Fatal error

Posted: Thu Aug 15, 2013 1:46 pm
by Stikki
Strict standards means that developer didn't follow strictly PHP coding standards, but it still works.

Due later 1.11.x core series we disabled smarty error reporting and it now takes error reporting level directly from PHP.

Change error reporting level to ignore notices and notice module developer with bug report and mark it minor should do the trick.

Re: CMSUsers Fatal error

Posted: Wed Aug 21, 2013 1:30 am
by the1knight
Thanks for the advice. I will get back to you on this.
I am still working on design at the moment.

Re: CMSUsers Fatal error

Posted: Sun Aug 25, 2013 7:54 pm
by the1knight
Stikki wrote:Strict standards means that developer didn't follow strictly PHP coding standards, but it still works.

Due later 1.11.x core series we disabled smarty error reporting and it now takes error reporting level directly from PHP.

Change error reporting level to ignore notices and notice module developer with bug report and mark it minor should do the trick.


Couldn't find where to do this. Decided the simplest option was to drop the idea of using CMSUsers and just allow the band to login. Shame though, I'm usually pretty good at figuring things out so feel a bit disappointed in myself.