Forum Support

Shape 5
March 18, 2024, 10:19:20 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: admin user cannot recover password  (Read 1150 times)
cspgsl
Jr. Member
**
Offline Offline

Posts: 903



« on: May 29, 2018, 06:21:20 AM »

At https://jtrac.ca I have created a user and assigned it to an administrator use which allows access to the back end. The user can access the backend but when trying to recover the password, I get the error

Failed to save user: DateTime::__construct(): Failed to parse time string (-1087204227-04-04T12:12:07+00:00) at position 14 (-): Double timezone specification

The inability of the user to recover the password tells me something is wrong somewhere

With error reporting turned on, I get

Notice: Only variables should be assigned by reference in /home/jtracdot/public_html/modules/mod_s5_image_and_content_fader/mod_s5_image_and_content_fader.php on line 13

There is nothing unique about the template installation so I don't know what to look for.

Any thoughts?
Logged
cspgsl
Jr. Member
**
Offline Offline

Posts: 903



« Reply #1 on: May 29, 2018, 07:48:01 AM »

I have contacted the form developer RS Joomla and they have found the following


This seems to be caused by your template. If I comment / remove this line from templates/legal_lawyer/index.php:

require_once("vertex/module_calcs.php");

You'll notice the forms submit fine.

You can also notice that if you display the form with ?tmpl=component (this loads component.php from your template instead of index.php, so without modules, and component.php does not load vertex/module_calcs.php) everything submits fine:
https://jtrac.ca/index.php?option=com_rsform&view=rsform&formId=1&tmpl=component

Please contact your template developer for assistance - it seems they have a bug.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #2 on: May 29, 2018, 11:11:50 AM »

Hello,

I don't see a login form or button on the frontend to test this? Its occurring on the frontend of the website correct?
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
cspgsl
Jr. Member
**
Offline Offline

Posts: 903



« Reply #3 on: May 29, 2018, 11:21:26 AM »

this was when an admin user tries to recover their password from the admin log in page. https://jtrac.ca/administrator/?hobo

for whatever reason, it is working now

BUT

The contact us and appointment forms do not send emails

see the details from RS Joomla

Quote
This seems to be caused by your template. If I comment / remove this line from templates/legal_lawyer/index.php:

require_once("vertex/module_calcs.php");

You'll notice the forms submit fine.

You can also notice that if you display the form with ?tmpl=component (this loads component.php from your template instead of index.php, so without modules, and component.php does not load vertex/module_calcs.php) everything submits fine:
https://jtrac.ca/index.php?option=com_rsform&view=rsform&formId=1&tmpl=component

Please contact your template developer for assistance - it seems they have a bug.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #4 on: May 30, 2018, 10:25:55 AM »

Oh ok yeah that admin login area wouldn't be affected by the template at that point. I thought thats what you were asking.

As for the RSforms not working. I went to the page here:

https://jtrac.ca/contact/email

And submitted a query and it worked fine for me? I'm not sure what exactly you are trying to do or where the bug is that you are seeing? Can you please explain some more?

Thanks
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
cspgsl
Jr. Member
**
Offline Offline

Posts: 903



« Reply #5 on: May 31, 2018, 04:36:38 PM »

You say that it submitted - did you get an email response from the website? I doubt that you did as there was no submission recorded in the database.

What you should have seen is a thank you popup after clicking submit. What you likely saw was a page refresh returning you to the home page.

If you follow the details that the form developer sent, you will see that there is a bug in the legal lawyer template preventing the form from working correctly.

Quote
This seems to be caused by your template. If I comment / remove this line from templates/legal_lawyer/index.php:

require_once("vertex/module_calcs.php");

You'll notice the forms submit fine.

You can also notice that if you display the form with ?tmpl=component (this loads component.php from your template instead of index.php, so without modules, and component.php does not load vertex/module_calcs.php) everything submits fine:
https://jtrac.ca/index.php?option=com_rsform&view=rsform&formId=1&tmpl=component

Please contact your template developer for assistance - it seems they have a bug.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #6 on: June 01, 2018, 01:37:28 PM »

Oh ok I didn't know what the result was when you submit. I assumed an error or broken page. But yes it did refresh and send me to the homepage.

I'm not sure how module calcs would do anything, its just php that has nothing to do with Joomla. The only thing in it that relates to Joomla is the 404 page area. If you can provide me login details to your site (FTP or Joomla) I can edit this out and see if that is causing the issue.

Thanks
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.