Guest charleyramm Posted October 16, 2010 Share Posted October 16, 2010 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. Quote Link to comment Share on other sites More sharing options...
leeofaccy Posted October 16, 2010 Share Posted October 16, 2010 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 Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 16, 2010 Share Posted October 16, 2010 I can't imagine how this would ever work as $glob['storeURL'] has unescaped forward slashes in it. Actually, similar problems are reported in the bug tracker (0002165). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.