Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Utimate SEO Problems


sanbikes

Recommended Posts

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?

Link to comment
Share on other sites

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.

Always back up before making changes.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...