[SOLVED] Needing Help... index.php cant find functions....
I've screwed up royally!, and now my website cannot be viewed, though I can logon to admin. :confused::confused:
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, |
All times are GMT -6. The time now is 08:05 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.