Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   Problem/Error uploading Atahualpa 3.3.2 (http://forum.bytesforall.com/showthread.php?t=1396)

digitalRobbie Apr 23, 2009 11:08 AM

Problem/Error uploading Atahualpa 3.3.2
 
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

JEG Apr 24, 2009 09:39 AM

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

juggledad Apr 25, 2009 04:49 AM

try disabling the Most Commented widget and then switch themes

JEG Apr 28, 2009 07:29 AM

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.

juggledad Apr 28, 2009 12:19 PM

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.

JEG Apr 28, 2009 02:07 PM

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: :( :confused:
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

Flynn Apr 28, 2009 03:35 PM

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');

juggledad Apr 28, 2009 06:01 PM

Quote:

Originally Posted by JEG (Post 5756)
...<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)


All times are GMT -6. The time now is 01:16 PM.

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