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 »

Error is causing white page


  #1  
Old Mar 1, 2015, 06:00 AM
GrahamW
 
101 posts · Jul 2010
Error is causing white page

I have just started getting a white page when trying to access the login.

checking the error log, I see this:

[01-Feb-2015 04:23:59 America/Denver] PHP Fatal error: Call to undefined function bfa_get_options() in /home1/gbwtwofo/public_html/executivepost2/wp-content/themes/atahualpa/index.php on line 2

Any idea what has happened and how to fix it?

Thanks, Graham
  #2  
Old Mar 1, 2015, 06:20 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Is that date right?

Download a fresh copy of the theme to your over and unzip it.

Next use ftp or your cPanel's file manager and take a look at functions.php and its first few lines. Now compare it to the code you downloaded.

If they are different and there is what looks like garbage on the first few lines, your site has been hacked.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 1, 2015, 06:35 AM
GrahamW
 
101 posts · Jul 2010
Thanks Juggledad.

Yes, that date is right. I spotted the problem the other week, but today is the first chance I've had to get to address it.

I've looked at functions.php and it all looks fine - there's nothing obviously wrong, at least.

I've only ever uploaded a theme from within WP. Where do I put the zip file (ie which subdir?) prior to unzipping it? Is there an unzip facility within cpanel?

Thanks
Graham
  #4  
Old Mar 1, 2015, 10:15 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Does the site load the front end?
Did you make any changes, like add a new plugin?
What is the URL?
__________________
"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 1, 2015, 02:10 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
look in the folder atahualpa/functions and see if there is a file 'bfa_get_options.php'
if not re install the theme
if yes, look at line 1 and 2 and they should be
HTML Code:
<?php if (!function_exists('bfa_get_options')) {
	function bfa_get_options() {
if not, what do you have there.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Mar 1, 2015, 05:34 PM
GrahamW
 
101 posts · Jul 2010
Hello Juggledad

Thanks for your help.

I installed the theme manually overlaying the existing files.

The site works fine - www.executive-post.info - but when I try to access the wp-admin page the window still clears to a blank page.

Any other ideas?

Thanks again, Graham

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
This theme is causing a "Server Error" for me... jjguitar Atahualpa 3 Wordpress theme 11 Jan 19, 2012 05:11 AM
What is causing 100% page height? lildot Center area post/pages 1 Nov 10, 2011 10:18 PM
Permalinks causing Catchable fatal error on image load courtnee Atahualpa 3 Wordpress theme 2 Sep 2, 2010 03:34 AM


All times are GMT -6. The time now is 03:32 PM.


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