Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   [SOLVED] a parse error rather than the 404 page displayed when page not found (http://forum.bytesforall.com/showthread.php?t=4006)

lhanft Oct 21, 2009 10:36 PM

[SOLVED] a parse error rather than the 404 page displayed when page not found
 
Someone in my organization inadvertently sent out an email with a link to a page on the old website which does not exist on the new website:

http://www.agnon.org/whats_happening/parasha.php

Instead of the 404 message, the site shows the following error message:
Parse error: syntax error, unexpected T_STRING in /home/shem/public_html/wp-content/themes/atahualpa/functions.php(477) : eval()'d code on line 2


Why is that, and what can I do to fix that?

L.

juggledad Oct 22, 2009 05:31 AM

What version of Atahualpa and WP?
what is in parasha.php?

lhanft Oct 22, 2009 07:29 PM

Oops, sorry.

WP 2.8.5
ATA 3.4.3

parasha.php was a page that appeared on the old site (it's the weekly torah portion). The client decided to drop this feature, so there's no corresponding page on the new site.

juggledad Oct 22, 2009 08:01 PM

Why not put in a new module with that name and have it send you to the home page

lhanft Oct 22, 2009 08:04 PM

Good solution. And speedy, too.
Thanks!


All times are GMT -6. The time now is 09:52 PM.

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