Hi,

Upgraded to Drupal 5.3 a few days ago.
Reinstalled the latest of Views and since I activated the module and "bonus views" options, I am getting this error through all the site.
Impossible to go in now...
And impossible to delete cache via Dev.
And impossible to submit Modules page with Views and bonus views desactivated.

Fatal error: Cannot redeclare theme_views_bonus_summary_combo() (previously declared in /home/xyz/www/demo/sites/all/modules/views_bonus/views_bonus.module:228) in /home/xyz/www/demo/sites/all/modules/views_bonus/views_bonus_summary_combo.module on line 52

Any ideas?
Do I need to delete the Views module to be able to restart?

Your help will be much appreciated.

Comments

jeanhr’s picture

Finally...

Took a chance...

I deleted the Views_bonus directory on the server (where did that come from...?)
Reinstalled a fresh Views 1.6 module.
Optionally, since I am at the start of developing a new site, I initialized it via Dev "reinstall views" utility in order to make sure that the tables were properly initialized (back to 0).
Looks like it is working fine. ;-)

But now wondering about the views_bonus stuff.
Do I need to reinstall this too?
Not sure where it came from in the first place.
Is it perhaps used by other modules installing "bonus" views by themselves?? Humm... If so, I will now need to figure out which ones...

jeanhr’s picture

Now realizing that the issue may not have anything to do with the Views module itself. Not sure yet.
Or it could have been an issue with the 5.3 upgrade when I reactivated some modules.

Views bonus can be found here:
http://drupal.org/project/views_bonus

I will try to reinstall and see how things turns out when activated.

Thanks

catch’s picture

Project: Views (for Drupal 7) » Views Bonus Pack
Version: 5.x-1.6 » 5.x-1.x-dev

moving over here, although this might be the twentieth duplicate of http://drupal.org/node/197895#comment-685209

neclimdul’s picture

This is a problem relating to in the Views Bonus Pack(sort of). views_bonus.module doesn't exist anymore. The components of the Bonus Pack where split into individual modules a while back.

What you need to do is download the latest release of Views Bonus Pack, delete everything from your views_bonus directory and then extract the new files into that directory. Then you can enable the individual modules that provide the functionality you need from the module page.

Hope that helps.

pomliane’s picture

Status: Active » Closed (won't fix)

This version of Views Bonus Pack is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.