Jump to content
Latest News: (loading..)

johnwurzbacher

Members
  • Content count

    2
  • Joined

  • Last visited

  1. johnwurzbacher

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    I did check step 4 and it looks like this is right. Here is what I have: require('includes/application_top.php'); require(DIR_WS_CLASSES . 'currencies.php'); $currencies = new currencies(); $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); // Ultimate SEO URLs v2.2d // If the action will affect the cache entries if ( preg_match("/(insert|update|setflag)/i", $action) ) include_once('includes/reset_seo_cache.php'); // PSM BEGIN 4a if(!empty($_POST)){ if(!empty($_POST['shipping_methods'])){ $shipping_methods = implode(';',$_POST['shipping_methods']); }else{ $shipping_methods = NULL; } } // PSM END 4a Are there any other recommendations you have? We have a lot of other contributions installed so I wonder if there could be a conflict. Let me know if you have any other thoughts. Thanks!
  2. johnwurzbacher

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    We installed this contribution and it works great on the main pages. However, the admin sections no longer works. Going to admin takes the user to a blank page (no error message). If I leave out step 5 from the install instructions, it works fine. This may be because we've renamed the admin directory and password protected the entire directory for security reasons. Below is the code added in step 5: // Function to reset SEO URLs database cache entries // Ultimate SEO URLs v2.2d function tep_reset_cache_data_seo_urls($action){ switch ($action){ case 'reset': case 'uninstall': tep_db_query("DELETE FROM cache WHERE cache_name LIKE '%seo_urls%'"); tep_db_query("UPDATE configuration SET configuration_value='false' WHERE configuration_key='SEO_URLS_CACHE_RESET'"); if ($action == 'reset') break; tep_db_query("DELETE FROM configuration_group WHERE configuration_group_title LIKE '%seo_urls%'"); tep_db_query("DELETE FROM configuration WHERE configuration_key LIKE 'SEO%' OR configuration_key LIKE 'USE_SEO%'"); break; default: break; } # The return value is used to set the value upon viewing # It's NOT returining a false to indicate failure!! return 'false'; }
×