Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

How to customize 404 error page?


  #1  
Old Mar 20, 2009, 03:21 PM
wfzimmerman
 
3 posts · Mar 2009
How to customize 404 error page?

Where can I add additional text/js to the 404 error page?
  #2  
Old Mar 20, 2009, 04:24 PM
owenl
 
44 posts · Jan 2009
There isn't a custom 404 error page in this theme. This is actually pretty common.It would be best to make a donation and then a request to Flynn to add it to the list for the next rev - since atahualpa uses a single file for all page handling.

If you don't mind hacking the theme, you can edit the index.php file and go to the end and change the 'NOT found' text to whatever you want.
  #3  
Old Mar 4, 2010, 09:55 PM
X-Evolutionist's Avatar
X-Evolutionist
 
41 posts · Mar 2010
Californian living in Oklahoma City
I want to show my index.php for my 404 page. I have a site summary there, so somebody might find something relevant. So, I don't need a custom 404. So, how do you make the index.php so it can be used as a 404?

Thank you,

X
  #4  
Old Mar 5, 2010, 06:18 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I beleive you just make a copy and name it 404.php
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Mar 5, 2010, 08:49 AM
X-Evolutionist's Avatar
X-Evolutionist
 
41 posts · Mar 2010
Californian living in Oklahoma City
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
  #6  
Old Mar 5, 2010, 10:01 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
1) did you copy the Atahualpa index.php?
2) it must be in the atahualpa folder
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Mar 5, 2010 at 12:00 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
custom 404: Dunstan-style Error Page Plugin twincascos Plugins & Atahualpa 3 Dec 20, 2010 09:26 AM
404 error when reader submits comment beanfair Comments, trackbacks & pings 4 May 7, 2010 05:45 AM
[SOLVED] Permalink or 404 error - page not displaying correctly woolef Atahualpa 3 Wordpress theme 19 Apr 4, 2010 03:08 PM
404 error seneque Atahualpa 3 Wordpress theme 1 Apr 11, 2009 11:20 PM
[SOLVED] 404 error with wp-print and wp-email Alexi Plugins & Atahualpa 8 Dec 28, 2008 01:38 AM


All times are GMT -6. The time now is 05:59 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.