Dragonfly CMS v9 ⇒ Themes v9 ⇒ Registration Security Error ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexThemes v9

Registration Security Error Reply to topic


When people try to register..
First screen comes up for username password timezone no probl
Click Submit and they get "You tried to access this page through bad link..." and "Security Error"

Kicker is... If I logout but leave admin logged in, works ok. There is one custom field, it is not required.

Please help... Registration drive coming up and I can't find the problem.

.m@.

"Reality is merely an illusion, albeit a very persistent one. " - Albert Einstein

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
{GoDaddy Hosted} Linux/ 1.3.33 / 5.0.45 / 4.3.11 / 9.1.2.1


I have hacked to work for now... Would like to know why it wasn't working. Had to hack security.php as follows. I use LEO if that helps
function check_post() { if ($_SERVER['REQUEST_METHOD'] != 'POST') { return false; } global $module_name; # if ($_SESSION['SECURITY']['page'] != $module_name) { cpg_error(_SEC_ERROR, _ERROR_BAD_LINK); } return true; }

apparently $module_name of Your_Account and Register were not matching up? Ideas?

.m@.

"Reality is merely an illusion, albeit a very persistent one. " - Albert Einstein

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
{GoDaddy Hosted} Linux/ 1.3.33 / 5.0.45 / 4.3.11 / 9.1.2.1


You must set path for cookie to: /

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


SERVER_NAME as Cookie Domain NO current: getco.guildhost.org

Cookie Path /
Admin cookie name getco_cms_admin
Member cookie name getco_my_login

.m@.

"Reality is merely an illusion, albeit a very persistent one. " - Albert Einstein

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
{GoDaddy Hosted} Linux/ 1.3.33 / 5.0.45 / 4.3.11 / 9.1.2.1


change your site domain in admin -> main setting to

from .getco.guildhost.org
to getco.guildhost.org

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


site domain is: getco.guildhost.org
site path is: /

.m@.

"Reality is merely an illusion, albeit a very persistent one. " - Albert Einstein

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
{GoDaddy Hosted} Linux/ 1.3.33 / 5.0.45 / 4.3.11 / 9.1.2.1


anyone know how to solve this?

Phone Rumors | My Solution Manuals | My Online Money Guide | Premium WordPress Themes

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / 1.3.37 (Unix) / 4.1.21-standard / 4.4.6 / 9.2.1

All times are UTC


Jump to: