Page 1 of 2
CMSMS 1.2 and FrontEndUser 1.3 Setup Issue
Posted: Tue Nov 06, 2007 4:27 pm
by vladgarner
Hello,
I have upgraded CMSMS 1.2 (barbados). Site is running fine. I did not have FrontEndUser module before.
I installed FEU 1.3. I saw no problems I am aware of. Followed the help files and created properties, groups, users. I have added the smarty tag {cms_module module=FrontEndUsers} to my template - but nothing happens. I had expected a login form or something.
Any help on what I might have missed or misunderstood would be appreciated.
Re: CMSMS 1.2 and FrontEndUser 1.3 Setup Issue
Posted: Tue Nov 06, 2007 10:08 pm
by bbomer
I also have this problem.
It appears that none of the functions in the "Login Form" get executed. Anything wrapped in {} does not return any code as it should to produce the login form. (below is the default form)
!-- Login form template -->
{if $error}
{$error}
{/if}
{$prompt_username} {$input_username} {$prompt_password}
{$input_password}
{if isset($captcha)}
{$captcha_title}: {$input_captcha}
{$captcha}
{/if}
{if isset($input_rememberme)}
{$input_rememberme} {$prompt_rememberme}
{/if}
{$input_submit}
{$link_forgot}{$link_lostun}
Re: CMSMS 1.2 and FrontEndUser 1.3 Setup Issue
Posted: Tue Nov 06, 2007 10:12 pm
by calguy1000
Strange, because this was all tested by me, and by other people numerous times before release. Infact, I'm using the same code (just from svn and not from xml) and having no problems on the current site I'm working on.
Re: CMSMS 1.2 and FrontEndUser 1.3 Setup Issue
Posted: Tue Nov 06, 2007 10:41 pm
by calguy1000
Okay...
Here's what I did:
1) I uninstalled CustomContent, SelfRegistration and FrontEndUsers from my current development install
2) I physically removed all of the files from these modules,
3) I installed the modules again from the module manager.
4) I re-created the FEU property that I needed (currently only an email address)
5) I re-created the FEU group that I needed
I have this content in one page:
Code: Select all
{cms_module module='SelfRegistration' group='pilots' nocaptcha='1'}
and in another page I have:
And everything works just fine.
Re: CMSMS 1.2 and FrontEndUser 1.3 Setup Issue
Posted: Tue Nov 06, 2007 10:51 pm
by bbomer
I upgraded the following modules prior to noticing that the form was missing: News, FEU, Custom Content, and Self-Registration.
I suppose one of those may be the culprit as I upgraded them from the module manager and did not do a "clean" install as you did.
I would prefer to keep my users, forms, settings etc. but I will try a "clean" install later tonight if I get time.
Re: CMSMS 1.2 and FrontEndUser 1.3 Setup Issue
Posted: Tue Nov 06, 2007 11:02 pm
by bbomer
Not sure if this matters but I am using FEU from within a Custom-Content page. Like this:
Code: Select all
{if $customcontent_loggedin}
{cms_module module=FrontEndUsers form=logout}
{else}<h2>Please login:</h2>
{cms_module module=FrontEndUsers form=login}<br /> <br />
<h2>Or Sign Up :</h2>{cms_module module=SelfRegistration group=Bloggers}
{/if}
The Self-Registration form works fine, while the FEU login form only prints this HTML:
Code: Select all
<!-- Login form template -->
<font size="-2">
<p>
<br/>
<br/>
<br/></p>
</font>
<!-- Login form template -->
Re: CMSMS 1.2 and FrontEndUser 1.3 Setup Issue
Posted: Tue Nov 06, 2007 11:05 pm
by calguy1000
I tried that syntax, and it worked fine for me.
except I used {$ccuser->loggedin()} instead of $customcontent_loggedin
Re: CMSMS 1.2 and FrontEndUser 1.3 Setup Issue
Posted: Wed Nov 07, 2007 12:54 pm
by Droax
i have tried a "clean" install like calguy1000 discribed, but i still do not see the form.
Installed cmsms 1.2, the newest modules i can see (5 nov 2007).
After deinstall FEU by uninstall (modulemanager) and remove all the files (FTP), the database held all the tables and record from FEU module, can that be the problem?
Re: CMSMS 1.2 and FrontEndUser 1.3 Setup Issue
Posted: Wed Nov 07, 2007 5:02 pm
by vladgarner
calguy1000 wrote:
Okay...
Here's what I did:
1) I uninstalled CustomContent, SelfRegistration and FrontEndUsers from my current development install
2) I physically removed all of the files from these modules,
3) I installed the modules again from the module manager.
4) I re-created the FEU property that I needed (currently only an email address)
5) I re-created the FEU group that I needed
I have this content in one page:
Code: Select all
{cms_module module='SelfRegistration' group='pilots' nocaptcha='1'}
and in another page I have:
And everything works just fine.
Followed instructions above. Deleted folders customercontent, selfregistration
-Installed modules from module manager
recreated FEU property, Group, and addes 1 user.
added {FrontEndUsers nocaptcha='1'} to my template -- no log in form, no customcontent displayed.
php on linux, using mysql 5.0 if that makes a difference.
Re: CMSMS 1.2 and FrontEndUser 1.3 Setup Issue
Posted: Thu Nov 08, 2007 8:27 pm
by cubix
i have the same problem. id prefer not to remove those 3 modules and reinstall, ill see if i can find a workaround today..
Re: CMSMS 1.2 and FrontEndUser 1.3 Setup Issue
Posted: Fri Nov 09, 2007 2:47 pm
by eviled
I hate for my first post to be 'me too', but.. 'me too' haha
I had a 1.0.4 that I upgraded to 1.2 using module manager. FrontEndUsers and CustomContent were already installed so I removed them and installed the new versions.
None of the template {} bits get filled in, only the static login form is seen.
Re: CMSMS 1.2 and FrontEndUser 1.3 Setup Issue
Posted: Fri Nov 09, 2007 3:45 pm
by calguy1000
Okay, I have now done extensive testing of CMS Made Simple 1.2 and FrontEndUsers 1.2 and the upgrade to 1.3
Here's what I did:
a) Fresh install of CMS Made Simple 1.2 into a new directory, with a new database
b) Installed (via module manager FEU 1.3
c) Added a new page with simply this content {FrontEndUsers}
d) Tested the login page
- got the login form as expected. I could not login because I had not created any properties, groups, or users yet
e) uninstalled and removed the FrontEndUsers module
f) Installed FrontEndUsers 1.2 via the module manager
g) Test my login page
- got the login form as expected. I could not login because I had not created any properties, groups, or users yet
h) Upgraded to FrontEndUsers 1.3 via the module manager
i) Test my login page
- got the login form as expected. I could not login because I had not created any properties, groups, or users yet
j) Uninstalled and removed FrontEndUsers 1.3 via extensions >> modules
k) Installed FrontEndUsers 1.2 via the module manager
l) via 'Users & Groups' >> 'FrontendUser Management'
1) Created three new properties:
email - Type = email address
first_name - Type = text
last_name - Type = text
2) Created a new group (Users)
The email field is required
The first_name and last_name fields are optional
3) Created a new user (user1)
Added him as a member of the 'Users' group
filled in an email address, and even though I didn't have to, a first and last name
m) Test my login page
- got the login form as expected, and I successfully logged in, and got the links to the forms that allowed me
to logout, or to change my settings, they all worked.
- signed out
n) Upgrade via module manager to FrontEndUsers 1.3
o) Test my login page again
- got the login form as expected, and I successfully logged in, got the user settings form, and logged out again.
****
I have found a bug in 1.3 which I will be fixing today, However, I cannot reproduce what you are encountering, so unless somebody can do some extensive testing and debugging to narrow down the problem, I'm not sure what else I can do.
Re: CMSMS 1.2 and FrontEndUser 1.3 Setup Issue
Posted: Fri Nov 09, 2007 8:20 pm
by xnau
I, too, am experiencing this problem. The login form is not displayed, as described above. I wondered if it is a PHP version issue. I have a number of CMSMS sites and have tried installing FEU on both. the one running version 5 worked, the one running 4 didn't.
Re: CMSMS 1.2 and FrontEndUser 1.3 Setup Issue
Posted: Fri Nov 09, 2007 9:33 pm
by cubix
i dont really know what further to test other than im running php ver 4.4.7
on freebsd 6.1, Apache 1.3.37, MySQL 5.0.45, cmsms 1.3
removed feu, selfreg, customcontent
installed frontendusers 1.3 from module manager
login fields not showing (only html tags)
removed frontendusers
installed frontendusers 1.2 from the module manager
login fields appear
upgraded to 1.3 from module manager
login fields gone again.
using a blank page with {frontendusers}
i have also tried with the compressed archive from the forge
and nothing in the error log
hope this helps
Re: CMSMS 1.2 and FrontEndUser 1.3 Setup Issue
Posted: Sat Nov 10, 2007 1:03 am
by eviled
Maybe this?
in function.user_loginform.php, in the module that got installed by module manager, the file contained:
$smarty =$gCms->GetSmarty();
instead of
$smarty =& $gCms->GetSmarty();
Changing that made the app work for me.