sanbikes Posted July 28, 2009 Share Posted July 28, 2009 People .... Use Utimate SEO On my homepage is okay, but the admin is showing this error Warning: call_user_func(tep_reset_cache_data_seo_urls) [function.call-user-func]: First argument is expected to be a valid callback in /home2/cardsdig/public_html/loja/admin/includes/functions/general.php on line 1231 I went to that directory and looked, but apparently did not identify the error. How to fix? Quote Link to comment Share on other sites More sharing options...
♥ecartz Posted July 29, 2009 Share Posted July 29, 2009 Did you do STEP #5 - Edit admin/includes/functions/general.php Add this code to the file just above the ending ?> tag: // Function to reset SEO URLs database cache entries // Ultimate SEO URLs v2.1 function tep_reset_cache_data_seo_urls($action){ switch ($action){ case 'reset': 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'"); 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'; } The error message suggests that you are missing that function. Note: that is from the 2.1 version of the contribution. If you are using a different version, the function might be different. You might get more help in the support thread for the contribution. Quote Always back up before making changes. Link to comment Share on other sites More sharing options...
sanbikes Posted July 30, 2009 Author Share Posted July 30, 2009 Did you do The error message suggests that you are missing that function. Note: that is from the 2.1 version of the contribution. If you are using a different version, the function might be different. You might get more help in the support thread for the contribution. I am very grateful for your help friend, worked. A hug 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.