Adamanto75 Posted January 19, 2012 Share Posted January 19, 2012 Hello Everyone! I'm installing security pro for osc 2.3 and I'm testing it to see if it works, and I followed the instructions to put those letters and characters in the search bar, click search, and you should see the word "working" But when I hit search it doesn't show the word working just the same characters I entered [w](o)%3Cr%3Ek|i*n^g Is security pro not working? Any help or advice would be greatly appreciated. Thanks So much Adamanto75 Link to comment Share on other sites More sharing options...
limar Posted January 29, 2012 Share Posted January 29, 2012 Same here... I'm running 2.2-MS2 added <?php print $keywords; ?> on bottom of search results page according to another post, but this didn't help Link to comment Share on other sites More sharing options...
raxxar Posted February 12, 2012 Share Posted February 12, 2012 Same here... I'm running 2.2-MS2 added <?php print $keywords; ?> on bottom of search results page according to another post, but this didn't help I have the same problem, I get [w](o)%3Cr%3Ek|i*n^g when printing the $keywords, any ideas of how to debug it? ( I use spanish lang in the site) Link to comment Share on other sites More sharing options...
limar Posted September 5, 2012 Share Posted September 5, 2012 I got it to work, but it's a long time ago. Have you tried this one yet: Nevermind. I applied the patch below and every tests fine now. Thanks! In (catalog)/includes/functions/compatibility.php Find .. // $HTTP_xxx_VARS are always set on php4 if (!is_array($HTTP_GET_VARS)) $HTTP_GET_VARS = array(); if (!is_array($HTTP_POST_VARS)) $HTTP_POST_VARS = array(); if (!is_array($HTTP_COOKIE_VARS)) $HTTP_COOKIE_VARS = array(); Replace with .. if (PHP_VERSION >= 4.1) { $HTTP_GET_VARS =& $_GET; $HTTP_POST_VARS =& $_POST; $HTTP_COOKIE_VARS =& $_COOKIE; $HTTP_SESSION_VARS =& $_SESSION; $HTTP_POST_FILES =& $_FILES; $HTTP_SERVER_VARS =& $_SERVER; } else { if (!is_array($HTTP_GET_VARS)) $HTTP_GET_VARS = array(); if (!is_array($HTTP_POST_VARS)) $HTTP_POST_VARS = array(); if (!is_array($HTTP_COOKIE_VARS)) $HTTP_COOKIE_VARS = array(); Otherwise delete all your cookies and cache before retrying. Last possibility is that you simply made a small mistake in the implementation. I always do it in a hurry, so perhaps that's where it went wrong with me. good luck Link to comment Share on other sites More sharing options...
V_M Posted November 27, 2012 Share Posted November 27, 2012 I was having this issue too and used the code provided by Marco - it does work but just wanted to give a heads up as it appears he's missed off the trailing curly bracket - copying the code as is will break your site but adding in the curly bracket at the end will get it working as it should. So it should be: if (PHP_VERSION >= 4.1) { $HTTP_GET_VARS =& $_GET; $HTTP_POST_VARS =& $_POST; $HTTP_COOKIE_VARS =& $_COOKIE; $HTTP_SESSION_VARS =& $_SESSION; $HTTP_POST_FILES =& $_FILES; $HTTP_SERVER_VARS =& $_SERVER; } else { if (!is_array($HTTP_GET_VARS)) $HTTP_GET_VARS = array(); if (!is_array($HTTP_POST_VARS)) $HTTP_POST_VARS = array(); if (!is_array($HTTP_COOKIE_VARS)) $HTTP_COOKIE_VARS = array(); } Link to comment Share on other sites More sharing options...
jaysh4922 Posted December 7, 2012 Share Posted December 7, 2012 · Hidden by Jan Zonjee, December 11, 2012 - nothing to do with the thread Hidden by Jan Zonjee, December 11, 2012 - nothing to do with the thread 301 redirect is a permanent redirect from one url to the other,like its change the address form.Make sure you have a 301 redirect between the http:// and the http://www versions of your website. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.