"Security error" when users try to register
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexHelp
Author Message
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: "Security error" when users try to register
Posted: Fri Jul 14, 2006 8:22 pm
Reply with quote

I'm getting lots of users trying to register to my site who are getting a "Security Error".

I tried it myself and it worked fine Confused

Are they doing something wrong, I haven't seen this before?

An email I got including screenshots:

Quote:
Ok, I just tried to sign up. Here is a picture of my information before I click "Submit":


And here is a picture of what happens after I click submit:


I click "Back" on my browser and try again, but no luck. As you can see, I've typed in the security code correctly, but it still will not work.

I just tried it again, but this time I went back to the beginning and registered from there, all over again. I got a different security code, typed IT in correctly, and still got the "security error" message. I hope you can fix this problem soon...

-Ben

_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Re: "Security error" when users try to register
Posted: Fri Jul 14, 2006 10:40 pm
Reply with quote

CVS has a function that validates a POST request.
PHP:
	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;
}
This validation fails in 1 of 2 ways:

1. not allowing cookies

2. website has bug and another webpage is loaded between both page requests like:
a. index.php?name=Your_Account&file=register
b. index.php?name=Forums
c. index.php?name=Your_Account&file=register


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger
bigern75
Platinum Supporter


Joined: Aug 18, 2004
Posts: 2102

PostPost subject: Re: "Security error" when users try to register
Posted: Fri Jul 14, 2006 11:02 pm
Reply with quote

odd. dfaddons.com is doing the same thing on themes; dragonfly, default, mountain rush and cpgnews
All the other themes, using FF, works just fine.

_________________
iPad 1 running iOS 5.1 b2

bigern75's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.6/5.0.86/5.2.8/9.3.2
Back to top
View user's profile Visit poster's website
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Re: "Security error" when users try to register
Posted: Sat Jul 15, 2006 12:39 am
Reply with quote

Could it be theme related?

I have changed my site's theme recently, around the same time as this problem started.

I changed to fisubsilverish.

_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
djdevon3
Gold Supporter


Joined: Aug 05, 2004
Posts: 4365

PostPost subject: Re: "Security error" when users try to register
Posted: Sat Jul 15, 2006 2:06 am
Reply with quote

I've never heard of a theme messing up a registration. It's handled as a module. So the only thing theme related for it would be the Opentable and Closetable in theme.php

The most likely culprit could be some modifications to the Your_Account module for stuff like profiles_pro. Maybe even some custom registration fields that aren't working right. Is it running default modules and no custom fields?


djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Re: "Security error" when users try to register
Posted: Sat Jul 15, 2006 8:15 am
Reply with quote

Yes they're all default modules, the only thing I've changed recently is the theme, and I think security.php (CVS) was updated recently.
_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Re: "Security error" when users try to register
Posted: Sat Jul 15, 2006 11:18 am
Reply with quote

the complete strange part is that it only says "Security Error"
normaly it should show why the error occures.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexHelp All times are GMT
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Dedicated Server & Bandwidth Sponsored by DedicatedNOW
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.4867 seconds with 19 DB Queries in 0.0626 seconds
Memory Usage: 2.92 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy