Page 1 of 1

Login form fields dissappeared after upgrading FrontEndUsers

Posted: Mon Jan 22, 2018 11:39 am
by ArneDB
Dear,

I updated my CMSMS from 1.10.3 tot 1.11.13 and then to 1.12.2

Then i updated to the latest 2.x version, and I did everything according to these guides:
https://docs.cmsmadesimple.org/upgrading/old-versions
https://docs.cmsmadesimple.org/upgrading/to-cmsms-2.x

The error beneath was solved, look in my second post in this topic.

Now for some reason I don't see the login fields anymore on my website, see this image:
https://i.gyazo.com/eb64cd2cc75b5e2b962 ... dd410d.png

When I enable error reporting I see this:
https://i.gyazo.com/694b7036b5fe7348af4 ... 99695a.png

These are the full errors:
: Undefined index: input_username in
/home/ryac/domains/ryac.be/public_html/tmp/templates_c/df1d27b49086711921c05f3d30ac978c65e62e96_0.module_db_tpl.FrontEndUsers;FEU login form.php

: Trying to get property of non-object in
/home/ryac/domains/ryac.be/public_html/tmp/templates_c/df1d27b49086711921c05f3d30ac978c65e62e96_0.module_db_tpl.FrontEndUsers;FEU login form.php

: Undefined index: input_password in
/home/ryac/domains/ryac.be/public_html/tmp/templates_c/df1d27b49086711921c05f3d30ac978c65e62e96_0.module_db_tpl.FrontEndUsers;FEU login form.php

: Trying to get property of non-object in
/home/ryac/domains/ryac.be/public_html/tmp/templates_c/df1d27b49086711921c05f3d30ac978c65e62e96_0.module_db_tpl.FrontEndUsers;FEU login form.php

Re: Login form fields dissappeared after upgrading FrontEndU

Posted: Mon Jan 22, 2018 12:37 pm
by ArneDB
UPDATE:

I found that in my modules folder my Forum folder was still named
Forum_temp

After changing this I received the following error:
Fatal error: Call to a member function GetSmarty() on null in /home/ryac/domains/ryac.be/public_html/modules/Forum/Forum.module.php on line 44

I found this forum post:
viewtopic.php?f=3&t=73541

Although I tried deleting line 44 this did not solve the error.

I also tried to find an update for "Forum" module in The Forge, but I could only find JS_Forum. Is the module "Forum" still there or how can I update this module to it latest version?

I also found that there is something wrong with CGCalender
You can view the error on this page:
http://www.ryac.be/index.php?page=kalender

Re: Login form fields dissappeared after upgrading FrontEndU

Posted: Mon Jan 22, 2018 1:40 pm
by ArneDB
NEW UPDATE:

I can't edit my previous post.

I managed to solve the CGCalender issues by setting the template to default here:
https://i.gyazo.com/f6c1f3d8a13477235c1 ... 6dfabc.png

The problem with the Forum login still persists:
http://www.ryac.be/index.php?page=forum

Re: Login form fields dissappeared after upgrading FrontEndU

Posted: Mon Jan 22, 2018 2:10 pm
by Jo Morg
ArneDB wrote:I also tried to find an update for "Forum" module in The Forge, but I could only find JS_Forum. Is the module "Forum" still there or how can I update this module to it latest version?
The old Forum module is no longer actively maintained anymore so you won't find it in the forge.
I take it that by JS_Forum you mean JM_Forum.
If so, JM_Forum has, if my memory serves me right, a function to import from the old Forum module at least since version 1.1.rc.1. It should be able to import all data from the old forum and convert it to be used in JM_Forum.

Re: Login form fields dissappeared after upgrading FrontEndU

Posted: Mon Jan 22, 2018 2:21 pm
by ArneDB
Dear,

Thanks for you reply.
Then I'll probably have to find out how to transfer this data from Forum to JS_Forum

The problem is, I can't enable the Forum module.

When I rename the "Forum" module to "Forum_temp" via FileZilla, I'm able to login on the backend of the website, but when I go to modules it's no listed there (which is logical).
But once I remove the "_temp" from the name I get this error:
https://i.gyazo.com/c8e87311cd5628aeec0 ... c73209.png

So I'm not really sure what I got to do

Re: Login form fields dissappeared after upgrading FrontEndU

Posted: Mon Jan 22, 2018 2:53 pm
by Jo Morg
The database is separate from the file system, so keep the forum folder renamed, install JM_Forum and import the data from the JM_Forum function... I think it has a button to do just that. Just keep a backup of files and database to get back to if something goes South...

Re: Login form fields dissappeared after upgrading FrontEndU

Posted: Mon Jan 22, 2018 3:22 pm
by ArneDB
I've been looking for a way to import without success atm.
Is it here where I should look?
https://i.gyazo.com/1b8bfc81d6280702b66 ... b5e464.png

Or is the button somewhere else?

Re: Login form fields dissappeared after upgrading FrontEndU

Posted: Mon Jan 22, 2018 3:27 pm
by Jo Morg
Doesn't it show under the Settings tab? If not then that means that the import from the old Forum was meant to be done before upgrading to CMSMS 2.x.... In that case JM_Forum needs an update too be able to import without detecting the old module (which probably is what is happening).

Re: Login form fields dissappeared after upgrading FrontEndU

Posted: Mon Jan 22, 2018 3:35 pm
by ArneDB
No Import button is showing in the settings tab. So I'll guess it has to do with that my CMSMS is already at v2.x or higher.

Now I'll have to find out how I can downgrade, so I can check of I can import then.

Re: Login form fields dissappeared after upgrading FrontEndU

Posted: Mon Jan 22, 2018 3:48 pm
by Jo Morg
I sent you a PM with instructions on how to make the button work. It's a hack so I won't make it public. A new version of JM_Forum will be released soon and will have some changes to that function.
Hope it helps!