Jump to content

Having problems with customer login troubles


Guest charleyramm

Recommended Posts

Guest charleyramm

Having problems with customer login troubles, possibly since upgrading to 4.4.2.


Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /home/admin/domains/thewifishop.net/public_html/classes/session/cc_session.php on line 199

Commenting out the if statement after "## prevent phishing attacks" in classes/session/cc_session.php helps.

Link to comment
Share on other sites

Hi

This is what the line in question looks like on my classes/session/cc_session.php and it works fine.

if (preg_match('/^http(s?):\/\//i', $redir) && !preg_match('/^'.$glob['storeURL'].'|^'.$config['storeURL_SSL'].'/i', $redir)) {

If yours is different, try replacing it with the one above.

Lee

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...