This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Edit Profile Error


avatar
Wafflechunk 5
From: -
Edit Profile Error

I just installed Contentteller for the first time last night and like all the features so far. So far I've come across 1 issue that I'm not sure how to handle.

When I try and edit my profile through the user control panel I get the following error:
Error
It seems you used an invalid form.

I can edit my profile if I use the Admin way.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Edit Profile Error
avatar
OP 5
From: -
I see. Open /modules/users/usereditprofile.php in an editor and replace:

if( $_SESSION[ 'user_security_hash' ] != $input_security_hash )


with:

if( ( $_SESSION[ 'user_security_hash' ] != $input_security_hash ) and( $preferences[ 'website_subsessions_user' ] ) )


You need to disable users subsession protection after that change.


This worked. Thanks a bunch.
1 Re: Edit Profile Error
avatar
Editor
0
From: -
I see. Open /modules/users/usereditprofile.php in an editor and replace:

if( $_SESSION[ 'user_security_hash' ] != $input_security_hash )


with:

if( ( $_SESSION[ 'user_security_hash' ] != $input_security_hash ) and( $preferences[ 'website_subsessions_user' ] ) )


You need to disable users subsession protection after that change.
1 Re: Edit Profile Error
avatar
OP 5
From: -
Did you enable users subsession protection under Manage Websites?


Nope, that is off. For testing I tried turning it on, but it generated the same error.
1 Re: Edit Profile Error
avatar
Editor
0
From: -
Did you enable users subsession protection under Manage Websites?

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.