zpupster Posted October 8, 2010 Share Posted October 8, 2010 hello, i can not edit any products, all buttons in the section admin>catalog> categories and products have stopped working thinking about the last thing i did was mod to seo urls, i changed the categories.php from this: $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); to this: // 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'); does anyone see anything wrong with this?? craig Quote Link to comment Share on other sites More sharing options...
germ Posted October 8, 2010 Share Posted October 8, 2010 Read the directions again. That can't be what they want you to do. :blush: Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
artful Posted October 10, 2010 Share Posted October 10, 2010 Hi, your error was that you replaced the code whereas you were to plae it AFTER so that it would look like this: ************************************************************************************ $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'); *************************************************************************************** In essence you edited out the actions! Barbara 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.