Jump to content

"Security Warning" - script halted


Guest Logan

Recommended Posts

Whenever I access the store I get this error:

<h1 style="font-family: Arial,Helvetica,sans-serif; color: red;">Security Warning</h1> Parsed array keys can not contain illegal characters! Script execution has been halted.

It may be possible to fix this error by deleting your browsers cookies and refresh this page.

It happens very frequently, but not all the time. How do I go about fixing this, and why does it occur?

I'm using 3.0.14, and clearing cookies doesn't fix the issue.

Link to comment
Share on other sites

I have the same problem, sometimes when I change language or currency and alwasy when an order is being entered and the "continue" button is hit from the shipping address page to the next. The following message appears:

Security Warning

Parsed array keys can not contain illegal characters! Script execution has been halted.

It may be possible to fix this error by deleting your browsers cookies and refresh this page.

Deleting the cokkies does not solve the problem and rtefreshing the screen only works for the change "language" or "currency" commands, not in order processing.

I would appreciate any help on this as it is making our store unusable.

Thank you,

Steven Teachout

Link to comment
Share on other sites

Guest petra123

Hi, this has been fixed here:

http://www.cubecart.com/site/forums/index....ecurity+warning

I did as Al suggested in his post and got rid of that Security Warning:

You can turn off that security function by opening /includes/ini.inc.php

Find this code:

$clean = new clean_all($data);

$_GET = $clean->clean_all($_GET);

$_POST = $clean->clean_all($_POST);

$_COOKIE = $clean->clean_all($_COOKIE);

$_REQUEST = $clean->clean_all($_REQUEST);

Replace with:

/*

$clean = new clean_all($data);

$_GET = $clean->clean_all($_GET);

$_POST = $clean->clean_all($_POST);

$_COOKIE = $clean->clean_all($_COOKIE);

$_REQUEST = $clean->clean_all($_REQUEST);

*/

Hope this helps.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...