Synodontis Posted October 16, 2010 Posted October 16, 2010 I am trying to install SecurityPro add-on and followed the directions as follows: Firstly: - Upload SecurityPro_installer.php to your catalog folder. Browse to it and the installation will auto insert your admin settings. Secondly:- Upload security.php to catalog/includes/functions/ Finally:- catalog/includes/application_top.php Find ... // set the application parameters $configuration_query = tep_db_query('select configuration_key as cfgKey, configuration_value as cfgValue from ' . TABLE_CONFIGURATION); while ($configuration = tep_db_fetch_array($configuration_query)) { define($configuration['cfgKey'], $configuration['cfgValue']); } Add directly BELOW ... // FWR Media Security Pro if ( defined('FWR_SECURITY_PRO_ON') && FWR_SECURITY_PRO_ON === 'true' ) { $fwr_security_excludes = array(); if ( defined('FWR_SECURITY_PRO_FILE_EXCLUSIONS_ON') && FWR_SECURITY_PRO_FILE_EXCLUSIONS_ON === 'true' ) $fwr_security_excludes = explode(',', FWR_SECURITY_PRO_FILE_EXCLUSIONS); if ( !in_array(basename($_SERVER['PHP_SELF']), $fwr_security_excludes) ) include('includes/functions/security.php'); } if ( function_exists('tep_clean_get__recursive') ) { // Recursively clean $HTTP_GET_VARS and $_GET // There is no legitimate reason for these to contain anything but .. // A-Z a-z 0-9 -(hyphen).(dot)_(underscore) {} space $HTTP_GET_VARS = tep_clean_get__recursive($HTTP_GET_VARS); $_GET = tep_clean_get__recursive($_GET); $_REQUEST = $_GET + $_POST; // $_REQUEST now holds the cleaned $_GET and std $_POST. $_COOKIE has been removed. fwr_clean_global($_GET); // Change the $GLOBALS value to the cleaned value } // END - FWR Media Security Pro Go into admin>configuration>FWR Security Pro and turn it on .. (set to true). PLEASE NOTE: You MUST delete the install file catalog/SecurityPro_installer.php after use! I did goto the url and recieved the screen saying I can only run the script once and to remove it,so I did. Now since it didn't dispay in my admin>config screen I need to know how to get the Run the UNINSTALL SQL in the package so I can try again. Also in the directions it says to Replace the code in catalog/includes/application_top.php. Replace the file catalog/includes/functions/security.php. exactly what code am I replacing becuase when I went through the first time the file catalog/includes/functions/security.php. wasn't in the folder so there was nothing to replace. Any input greatly appreciated, Gary Quote
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.
Note: Your post will require moderator approval before it will be visible.