Customize "Critical Error The Selected Category Does Not Exist" Customize "Critical Error The Selected Category Does Not Exist"
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Customize "Critical Error The Selected Category Does Not Exist"

Started by TeenStorm, August 22, 2007, 05:15:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TeenStorm

I've been searching other posts and haven't come across something that caught my attention yet.  Search engines have organically indexed URL's to my website.  I have, however, imported a totally different database from an offline development platform to my live website such that certain tables like expired category references no longer exist, hence, when you click on a search engine's indexed link that points to an invalid category you get the "Critical Error:  The Selected Category Does Not Exist" error page.  I want to customize this and/or insert a redirect to the main index.  I see a reference from Nibbler that led me to look at include/init.inc.php but this doesn't seem like the right place; can you redirect me where to look for this error and I will see what I can do with it at my own expense?   ;D

Nibbler

Find the error message in the language file and then search the code for the key associated with it.