404.php error custom page

von Joern am 6. Mai. 2010 | Keine Kommentare

I am using Windows shared hosting from GoDaddy and its 404 custom page service which redirects to 404.php page in arthemia theme folder. However, when encountered with a non-existing page like http://energybusiness.in/nocat, it shows the following error
Fatal error: Call to undefined function get_header() in D:Hosting5979845htmlwp-contentthemesarthemia404.php on line 1
What does the above error mean? How can I get the 404.php page to work?
Any help would be highly appreciated.
Thanks in advance



(von: qtest)

Hier noch 3 weitere Ergebnisse dieses Threads:

Re: 404.php error custom page :: Reply by master

6. Mai. 2010 (von: master)

actually you can not link to any .php file in themes folder. Wordpress and the theme will show the content of 404.php if it can't find an entry with this (invalid) url.This error comes on any .php file you want…

Re: 404.php error custom page :: Reply by qtest

6. Mai. 2010 (von: qtest)

Yeah certainly, it worked liked a charm.Thanks a lot Weiterlesen →

Re: 404.php error custom page :: Reply by master

6. Mai. 2010 (von: master)

you know what I like to do with 404.php?It's so empty so I show my 10 latest posts in there. In 404.php you find:Ooops, I cannot find you the page you are looking for....Just under this paragraph I add wp_get_archives('type=postbypost&limit=10');…


  • https://www google com


Du findest mich auch auf Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.

weitere forum Beiträge: