We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

PHP Errors on ACT form post

Developer Preview

David Dexter's avatar
David Dexter
88 posts
12 years ago
David Dexter's avatar David Dexter

Hey Guys,

I’m using form_decloration to create the post to the ACT ID and it was functioning in the previous 2.7.0 preview.

A PHP Error was encountered

Severity: Notice

Message: Constant REQUEST_XID already defined

Filename: core/EE_Security.php

Line Number: 132

A PHP Error was encountered

Severity: Notice

Message: Constant XID_SECURE_HASH already defined

Filename: core/EE_Security.php

Line Number: 133

Thanks, David

       
David Dexter's avatar
David Dexter
88 posts
12 years ago
David Dexter's avatar David Dexter

To get things playing nicely I went ahead and threw an defined check in the EE_security.php on line 130:

if(!defined('REQUEST_XID')){
  define('REQUEST_XID', $request_xid);
  define('XID_SECURE_HASH', $hash);
 }

It looks like the have_valid_xid method is getting called multiple times but I’m not sure why.

Best, David

       
Kevin Cupp's avatar
Kevin Cupp
791 posts
12 years ago
Kevin Cupp's avatar Kevin Cupp

Hi David, thanks for reporting this. We figured out the issue and got it fixed, it’s now in the latest dev preview release which is available in the dev preview download area.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.