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 » New Versions, & Updating »

Problem/Error uploading Atahualpa 3.3.2


  #1  
Old Apr 23, 2009, 11:08 AM
digitalRobbie
 
4 posts · Apr 2009
Hi there,
I am using the latest version of Wordpress, it's 2.7.1 and I have uploaded Atahualpa 3.3.2 to my themes page. So that there are currently 3 showing on the Themes page, the 2 default (Classic and Default) and Atahualpa.
So I click on Atahualpa to activate and I get the following error message:

Fatal error: Cannot redeclare widget_mdv_most_commented_per_cat() (previously declared in /home7/azzurrod/public_html/wp-content/plugins/atahualpa332/functions/bfa_popular_in_cat.php:22) in /home7/azzurrod/public_html/wp-content/themes/atahualpa332/functions/bfa_popular_in_cat.php on line 78

Don't think I have done anything wrong .... so do you guys have any idea/suggestion ?

Thanks in advance for your help
  #2  
Old Apr 24, 2009, 09:39 AM
JEG
 
4 posts · Apr 2009
I have a similar problem. I am using Atahualpa 3.2 and loaded 3.3.2 to the themes directory. In the Manage Themes I show both Atahualpa versions available. When I try to activate 3.3.2 I get:

Fatal error: Cannot redeclare widget_mdv_most_commented() (previously declared in /hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions/bfa_popular_posts.php:22) in /hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions/bfa_popular_posts.php on line 172

So how do I upgrade from 3.2 to 3.3.2?

Thanks...Jim
  #3  
Old Apr 25, 2009, 04:49 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try disabling the Most Commented widget and then switch themes
  #4  
Old Apr 28, 2009, 07:29 AM
JEG
 
4 posts · Apr 2009
I do not have the Most Commented widget in use in the theme.

I have the old version of Atahualpa in a directory named Atahualpa and the new version in a directory named Atahualpa332. The fatal error mentions the widget being found in the Atahualpa332 directory.

Do I need to remove all widgets to activate the new version? I have been trying to find a post on how to upgrade to the new version of Atahualpa but can not find one.
  #5  
Old Apr 28, 2009, 12:19 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
interesting,
1) do you use the 'BFA Popular Posts' widget? (if so, remove it from your sidebar)
2) can you look at the actual code in atahualpa332/functions/bfa_popular_posts.php ?

The reason I ask is in the version I have, there are only 151 lines, yet your error message suggests that the error in on line 172 - something is not correct

Did you cut and paste the error message or type it by hand? (if you typoed it by hand, can you reverify it and make sure the names of the programs are correct.

I can swap between 3.2 and 3.3.2 with no problem.
  #6  
Old Apr 28, 2009, 02:07 PM
JEG
 
4 posts · Apr 2009
I am not using any of the BFA widgets.

I cut and pasted the error information in my first post and in this one.

I completely removed bfa_popular_posts.php from the Atahuapla332 directory.

Then tried activating 332 and get:
Warning: main(/hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions/bfa_popular_posts.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions.php on line 27

Warning: main() [function.include]: Failed opening '/hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions/bfa_popular_posts.php' for inclusion (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions.php on line 27

Fatal error: Cannot redeclare widget_mdv_most_commented_per_cat() (previously declared in /hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions/bfa_popular_in_cat.php:22) in /hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions/bfa_popular_in_cat.php on line 157
  #7  
Old Apr 28, 2009, 03:35 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
In functions.php find the line where that file is being inserted and comment it out by putting a hash # or two forward slashes // in front of the line

// include (TEMPLATEPATH . '/functions/bfa_popular_posts.php');
  #8  
Old Apr 28, 2009, 06:01 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
Originally Posted by JEG
...<snip>...

Warning: main() [function.include]: Failed opening '/hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions/bfa_popular_posts.php' for inclusion (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions.php on line 27

...<snip>...
If Flyn's suggestion doesn't work, I notice it looks like you are using PHP 4.4.7, can you switch to version 5? (how you do that depends on your ISP)

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Picture Path problem, when uploading pictures in posts Kingsix Atahualpa 3 Wordpress theme 3 Dec 27, 2010 02:35 PM
[SOLVED] New problem uploading images on Atahualpa missdanamarie Forum How-To 6 Sep 16, 2009 02:27 PM
[SOLVED] After Update 3.4: Problem: Error with Next/Previous Navigation, No Postings! Doc GermaniCus New Versions, & Updating 6 Jul 15, 2009 02:13 PM
Error comes up when uploading images yosh66 Atahualpa 3 Wordpress theme 4 Jun 14, 2009 08:57 PM
WP-Email Error, and a work-around for formatting problem paulae Plugins & Atahualpa 0 Apr 23, 2009 03:06 PM


All times are GMT -6. The time now is 01:02 AM.


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