Closed (fixed)
Project:
Drigg
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2008 at 04:49 UTC
Updated:
26 Apr 2008 at 04:23 UTC
Hi,
I've been testing the upgrading to 2.x-dev (11 April verson)
gave me a WSOD with the following message
Fatal error: Cannot redeclare drigg_all_comments() (previously declared in C:\wamp\www\driggtest\sites\all\modules\drigg\drigg.module:3985) in C:\wamp\www\driggtest\sites\all\modules\drigg\drigg_all_comments\drigg_all_comments.module on line 86
hope this helps in chopping it up ;)
(btw, this kinda broke my sandbox site and I can't make it work even if I revert back to the previous dev version or even version 23. Shall I run some sort of SQL query, or shall I rebuild the site from scratch?)
Comments
Comment #1
mercmobily commentedHi,
The 2.x branch is currently dead.
To current cutting edge Drigg is DRUPAL-5. BEWARE: you will _need_ to install the extra modules, since Drigg is now divided into several sub-modules. I am not happy to release it until I know how to enable to other modules automatically upon upgrade...
Please try the 5.x,1,x development version on a DEVEL server, and let me know how it goes... if you wrote a short quite, I will then publish it and maybe release it sooner than expected...
Merc.
Comment #2
drupalina commentedhi...
it's ok.. I know all this...
I just thought I'd test out the latest dev and report on the bugs, and thus provide at least some help.
Comment #3
mercmobily commentedHi,
The best help right now would be testing 5.x.1.x...!
Merc.
Comment #4
drupalina commentedHi, sorry for marking it 2x-dev. I was actually texting out the 1x-dev
if it helps, here's a bug from the latest 1x-dev installation.
I installed a clean version of Drupal 5.7 on my localhost for testing 1.x dev. Enabled Drigg (23) and all the dev modules that are chopped alongside.
This is the WSOD that it gave me.
Fatal error: Cannot redeclare drigg_all_comments() (previously declared in C:\wamp\www\driggdevtest\sites\all\modules\drigg\drigg_all_comments\drigg_all_comments.module:41) in C:\wamp\www\driggdevtest\sites\all\modules\drigg\drigg.module on line 4031
In another instance it gave me
Fatal error: Cannot redeclare drigg_all_comments() (previously declared in C:\wamp\www\driggdevtest\sites\all\modules\drigg\drigg.module:3985) in C:\wamp\www\driggdevtest\sites\all\modules\drigg\drigg_all_comments\drigg_all_comments.module on line 86
Hope this helps...
Please let me know if you don't want to see me posting these kinds of dev bugs.
Comment #5
drupalina commentedComment #6
mercmobily commentedHi,
There is something seriously wrong with your installation of the Drigg module...
By the looks of it, you are uncompressing the new module on top of the old one. That WON'T work, because the path of the Drigg module has changed.
I can work this out by reading this message:
Fatal error: Cannot redeclare drigg_all_comments() (previously declared in C:\wamp\www\driggdevtest\sites\all\modules\drigg\drigg_all_comments\drigg_all_comments.module:41) in C:\wamp\www\driggdevtest\sites\all\modules\drigg\drigg.module on line 4031
The new drigg.module file is 1200 lines :-D Plus, it would be in C:\wamp\www\driggdevtest\sites\all\modules\drigg\drigg\drigg.module (note the extra "drigg").
This is also the reason why people will _have_ to visit admin/build/modules after upgrade -- Drupal needs to rescan the module's locations.
Hummmm...
Merc.
Comment #7
mercmobily commentedAnd yes, please do let us know of problems etc. with the 5.x.1.x version of Drigg!!!
Comment #8
drupalina commenteddoah... silly me...
I just uncompressed the latest 1x-dev and dragged-and-dropped it into the /sites/all/modules directory -- with "Yes" to overwrite it. (of course that's a very wrong way to do it.) And of course that created a 1x-dev directories along-side with the stable version 23.
What I should have done (and this should be probably be mentioned soon in the upgrade instructions) is to delete the old folder first,and only then drag-n-drop the new drigg folder into the /sites/all/modules .
Oh, well... we all learn from experience...
Will be happy to help testing the 1x-dev and to report back ;)
Comment #9
mercmobily commentedHi,
Drupalina, I am making big changes to facilitate the upgrade right now.
I don't think it's a good idea to test it right now, because it gives too many problems to enable the sub-module.
I've just worked out a way so that the upgrade is not too disruptive... I'd wait 24 hours.
Merc.
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.