Quote:
Originally Posted by torbenbendixen
When the CleanURLs are enabled, the <xcart-dir>/dispatcher.php script handles the '404 Page not found' errors. In this case the error message page is returned by the "func_page_not_found" function which can be found in the <xcart-dir>/include/func/func.core.php script.
In order to make it so that the custom pages of the 'Custom_404_Page' module will be shown, you must add the code below to the beginning of the "func_page_not_found" function in the <xcart-dir>/include/func/func.core.php script:
Code: text
if (is_readable($xcart_dir . '/your-404-error-filename.php')) {
func_header_location('your-404-error-filename.php');
}
That did the trick for me.
|
Yes, finally, that is the solution. It's working for me. (I'm getting the 404 page inside the Smart Template skin.) Thanks!!!!!!