Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

[SOLVED] Needing Help... index.php cant find functions....


  #1  
Old May 20, 2010, 08:36 AM
MichaelNagel
 
14 posts · May 2010
I've screwed up royally!, and now my website cannot be viewed, though I can logon to admin.

I mistakendly tried to complete the installation of a plugin by editing the index.php file. The change I tried to make did not work, and so I edited out the change and I can no longer view the site.

I've also FTPd a backup of the site's index.php to correct the problem. Didn't work. I've also installed 3.4.9 - a newer viersion, figuring the index.php would not be affected. That didn't work.

My site is: http://www.authenticity-project.com

Please... any help you can provide? Thank you,
Michael

===

The error messages I'm getting are:


Warning: include(TEMPLATEPATH/functions/bfa_get_options.php) [function.include]: failed to open stream: No such file or directory in /home/wholep5/public_html/authenticity-project.com/index.php on line 2

Warning: include(TEMPLATEPATH/functions/bfa_get_options.php) [function.include]: failed to open stream: No such file or directory in /home/wholep5/public_html/authenticity-project.com/index.php on line 2

Warning: include() [function.include]: Failed opening 'TEMPLATEPATH/functions/bfa_get_options.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wholep5/public_html/authenticity-project.com/index.php on line 2

Fatal error: Call to undefined function get_header() in /home/wholep5/public_html/authenticity-project.com/index.php on line 3

===

Here's the index.php code:

<?php /* get all options: */
include (TEMPLATEPATH . '/functions/bfa_get_options.php');
get_header(); ?>

<?php /* If there are any posts: */
if (have_posts()) : $bfa_ata['postcount'] == 0; /* Postcount needed for option "XX first posts full posts, rest excerpts" */ ?>

<?php /* This outputs the next/previous post or page navigation.
This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_above_loop']); ?>

<?php /* The LOOP starts here. Do this for all posts: */
while (have_posts()) : the_post(); $bfa_ata['postcount']++; ?>

<?php /* Add Odd or Even post class so post containers can get alternating CSS style (optional) */
$odd_or_even = (($bfa_ata['postcount'] % 2) ? 'odd-post' : 'even-post' ); ?>

<?php /* This is the actual Wordpress LOOP.
The output can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_inside_loop']); ?>

<?php /* END of the LOOP */
endwhile; ?>

<?php /* This outputs the next/previous post or page navigation and the comment template.
This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_below_loop']); ?>

<?php /* END of: If there are any posts */
else : /* If there are no posts: */ ?>

<?php /* This outputs the "Not Found" content, if neither posts, pages nor attachments are available for the requested page.
This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_not_found']); ?>

<?php endif; /* END of: If there are no posts */ ?>

<?php bfa_center_content($bfa_ata['center_content_bottom']); ?>

<?php get_footer(); ?>

====

Thanks again,

Bookmarks

Tags
index.php

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Catchable fatal error: themes/atahualpa/functions/bfa_meta_tags.php on line 169 Shamisen Plugins & Atahualpa 0 Apr 6, 2010 10:43 PM
[SOLVED] Add property in index.php miseroprospero Center area post/pages 6 Feb 1, 2010 07:11 AM
", 'edit_themes', 'functions.php', 'bfa_ata_admin'); } ?> Mads Rasmussen Atahualpa 3 Wordpress theme 2 Nov 24, 2009 07:50 PM
[SOLVED] Parse error in functions.php after changing GMT offset in admin. AVIDJockey Atahualpa 3 Wordpress theme 3 Jul 27, 2009 12:32 AM
[SOLVED] 3.4.2: where to make changes that used to be in index.php? bcorrigan New Versions, & Updating 2 Jul 13, 2009 10:52 AM


All times are GMT -6. The time now is 04:06 AM.


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