I opened the index.php, saved as to 404.php, and added this line in the .htaccess:
ErrorDocument 404 /404.php
This is what happened:
Warning: include(TEMPLATEPATH/functions/bfa_get_options.php) [function.include]: failed to open stream: No such file or directory in /home/content/14/5765714/html/404.php on line 2
Warning: include() [function.include]: Failed opening 'TEMPLATEPATH/functions/bfa_get_options.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/14/5765714/html/404.php on line 2
Fatal error: Call to undefined function get_header() in /home/content/14/5765714/html/404.php on line 3
Help.
X
Edited to add: I went to permalinks and switched to another setting and switched back and now I don't get that error message. But, when I put in a page title that is not in my blog I get the original 404 message:
Not Found
Sorry, but you are looking for something that isn't here.
I don't get mine. Where should I put the 404.php? Should it be in the same place the index.php is or in the root?
Thank you,
X
Last edited by X-Evolutionist; Mar 5, 2010 at 08:54 AM.
Reason: Added "edited to add" info
|