Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot edit .. fatal error


oslover

Recommended Posts

Hi,

 

I am just wondering if someone can help me fix this bug,

When I click on edit in admin area, exactly in categories/products I receive this message,

 

Fatal error: Call to undefined function: tep_get_category_seo_url() in /home/user/public_html/admin/categories.php on line 944

 

This started to happen after my installation of Seo urls,

Because I had Header tags controller in categories.php so I did compare Chemo's categories.php with mine and just add the required lines.. but apparently something else should be edited so that these two contributions should be compatible.

 

Thanks in advance ,

Link to comment
Share on other sites

You have to add that function. For some reason the author who did the update decided to have two sets of instructions. See the "additional_install_instructions.txt" file to find out what you need to do.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

If it still gives that error, then the function cannot be found. Be sure you added it to the file in admin and not the shop.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Which function please? I am just a newbie.. I just followed the instructio of "additional_install_instructions.txt" there were only two simple instructions.

 

I really don't know which function to add and where to add it .. Please help me, I really don't want to remove SEO neither Header Tags, I like these great contributions. But now I cannot EDIT in categories section..

Link to comment
Share on other sites

As I already said in my previous posts, I have done all the instructions in both files. But this problem of EDIT function still persists. If there is a specific function that has to do with Edit categories/products and should be added to admin/categories.php then please tell me what it is and where to add it exactly.

 

Best regards,

Link to comment
Share on other sites

As I already said in my previous posts, I have done all the instructions in both files. But this problem of EDIT function still persists. If there is a specific function that has to do with Edit categories/products and should be added to admin/categories.php then please tell me what it is and where to add it exactly.

 

Best regards,

From the install file
Add ( before the final ?> ):

 

function tep_get_category_seo_url($category_id, $language_id) {

$category_query = tep_db_query("select categories_seo_url from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$category_id . "' and language_id = '" . (int)$language_id . "'");

$category = tep_db_fetch_array($category_query);

 

return $category['categories_seo_url'];

}

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...