Ok so I've pinned this down to the storm extension contrib module. After enabling this module I was getting the WSOD on the http://yourdomain.com/storm page
If you enable this module YOU MUST enable ALL storm base modules for it to work.
This seems very inefficient as most people will not need, nor use, all of the base storm modules.
I haven't been able to pin this down, but if I enable all BUT ANY ONE of these storm modules (timetracking, knowledgebase, invoice, expense) AND enable the Storm Contrib Common and Storm Extension modules the result is a PHP Fatal Error and the WSOT on the above mentioned page
It seems that simple use of module_exists would eliminate this, or if they are all really required (shouldn't be) then they should be in the dependency list.
For now I'm just enabling all of the core storm modules even though I'm not using 5 of them.
Comments
Comment #1
ymmatt commentedTurns out there is another necessary module as I kept getting: Call to undefined function storm_contrib_costs_get_main_currency() when I tried to edit a project. To solve, just enable storm_contrib costs module.
It seems like there needs to be some serious cleaning up/checking on dependencies.
Comment #2
carsten müller commentedHi peligrorice,
sorry for that. It is on my list to check the dependencies and function calls in the modules. At the moment the focus is on implementing features and fixing bugs. After that i will fix the dependecies, mainly by adding if (module_exists()). The modules are still in development. If you find such an dependency error, just post the whole error message in this issue, i will fix it then.
Greetings
Carsten
Comment #3
skolesnyk commentedProbably I've similar error as a result of missing dependencies when running cron
PHP Fatal error: Call to undefined function storm_contrib_common_modify_columns()
I have all storm_contrib modules switched on.
Comment #4
ymmatt commentedI figured as much, makes sense to get features/bugs taken care of and then work on dependencies.
Although, the problem is that it does actually kill functionality (WSOD=bug) unless you have EVERY module installed. It still seems real strange that they are so interdependent, more than likely there are functions/code that need to be moved to common, or the main contrib module.
Comment #5
carsten müller commentedHi,
i just started a review for handling the dependencies and the calls of other modules without a check.
But this will take a little bit time.
Comment #6
carsten müller commentedComment #7
carsten müller commentedHi,
this issue is now active again. I will ty to fix the dependencies as soon as possible.
Comment #8
carsten müller commentedHi,
i am still working on this issue. But it is much stuff, so please be patient. Some modules are already managed
Comment #9
carsten müller commentedComment #10
carsten müller commentedthis issue is still under development, i have found some points where storm contrib could be improved
Comment #11
carsten müller commentedComment #12
d34dman commentedstormticket_assignment is dependent on stormteam. Please mention this in info file or remove the dependencies.
I found two dependencies in following function...
Comment #13
d34dman commentedComment #14
kfritscheThanks D34dMan. Fixed it.
Comment #15
d34dman commentednice work. but here i am to trouble you again (i am sorry kfritsche, i have a feeling i should enable all the modules until a stable release is done, and after that hunt and fix dependencies)...
... otherwise this will turn out to be a MEGA dependencies report and fix thread. And there might be a chance that if a dependency is not fixed just after its reported, it might get ignored. should i open an issue for each dependencies issue that i come across?
Comment #16
d34dman commentedOh sorry i forgot to mention, stormticket_assignment is dependent on stormproject_extension. I couldn't understand the code so didn't create any patch. next time i will if i could.
Comment #17
kfritscheFixed & commited.
If stormproject_extension is missing it displays the End Date of the project.
You can't imaging how helpful all this is, please do not stop posting issues and do not enable all modules, if you can handle such kind of errors, so we can find and fix this.
Storm and Storm Contrib are so complex and I hope you understand, if we forgot sometimes such a dependency check. But there are so much modules and possibilities and even the dependencies are not so easy anymore.
Example for this bug: stormticket_assignment depends on stormticket, which depends on stormproject and thats the point where i forgot to check if stormproject_extension is enabled, i thought somehow it is enabled, because stormproject is indirect in the dependency list of stormticket_assignment, but thats not true... Sorry for that...
edit: Anyways for now please post dependency errors here. If it is such little checks like the last things, cmueller or me will fix this. If we notice, it is a bigger thing, we will open a new issue for this.
Comment #18
d34dman commentedAttaching screenshot of enabled modules. i pull the latest dev release of storm and storm_contrib. The only hack i do is in the storm.info file where i put the version number. Am attaching a edited screenshot to show you about the enabled modules. ( the modules that are not enabled have either been not installed or has been uninstalled).
Method to reproduce this bug if storm_contrib_common is enabled:
1. disable storm team
2. uninstall storm team.
Comment #19
d34dman commentedscreen shot for comment #18
Comment #20
carsten müller commentedHi D34dMan,
thanks for your hep. I just commited a fix that should solve this problem. Sorry, i did not have the time to test it
yet.
Comment #21
d34dman commentedi'll test it.
Comment #22
d34dman commentedyay! uninstalling storm-team doesn't cause the error anymore. thank you maintainers.
Comment #23
d34dman commentedseems like storm person extension is dependent on storm team... Noticed this error while views storm person.
Comment #24
kfritscheRemoved dependency to stormteam from stormperson_extension.
It was only a dependency, when viewing stormpersons, to display the teams the user is in on the stormperson page...
Comment #25
kfritscheWrong dependency in storm_contrib_common:
Should be module_exists('stormproject_extension').
Comment #26
kfritscheCommited to 6.x-2.x
Comment #27
d34dman commentedThe above warning appears when after enabling storm_persons and its submodules.
Comment #28
d34dman commentedAttaching patch for #27
Comment #29
kfritschecommited last patch to 6.x-2.x
Comment #30
d34dman commentedI wanted to just test the time tracking extention module.
So i downloaded drupal-6.26 and installed it.
then i downloaded storm ( stable release 2.0 ) and storm contrib. (drush dl storm storm_contrib)
After that i quickly went to module administration page and checked "Storm Timetracking Extension" and then clicked on save configuration. I continued with the default project dependencies that drupal had calculated. After the module installations were over.
Issue #1.
I recieved following error
Refreshing the page removed those error.
=============================================================================================
Issue #2.
After that i went to create an organization, then added a project. (Set an end date of the project to December so i can create a task later).
I see an error on the page.
So i visited admin/settings/storm/contrib where after expanding the "Date Format" fieldset, i was greeted by two empty select list for display and system date format.
Then i visited to admin/settings/date-time and i saw that the settings were ok. ( am attaching a screenshot with this issue ).
I figured out that clicking on save configuration on this page. And then going to admin/settings/storm/contrib populates the select lists under Date Format field-sets.
So i clicked on Save Configuration in admin/settings/storm/contrib and the error disappeared .
=============================================================================================
Issue 3.
Then i created a task and saved it. Now visiting the task node, gives following error.
Seems like stormtimetracking_extension is dependent on stormperson. And to confirm my belief enabling the stormperson module cleared the error.
So a quick patch for this one is attached :)
=============================================================================================
EDIT:
I also happen to notice that Storm_contrib submodule is not turned on
Comment #31
d34dman commentedChanging the status to bring this to the attention of maintainers.
PS. Please do let me know if this was right thing to do.
Comment #32
pveltsos commentedSame as D43dMan, downloaded clean Drupal 6.26, Storm 2.x stable and Stormcontrib.
As soon as I enable any or all modules of storm contrib I get this error when clicking on Projects:
Fatal error: Call to undefined function stormproject_extension_list() in /.../storm/sites/all/modules/storm_contrib/storm_contrib_common/storm_contrib_common.module on line 3835
Is there a chance for a fix on this? Or should I really start on ERPAL and forget Storm?
Comment #33
kfritscheWill check this, but I think not before end of this or beginning of next week.
Didn't noticed this issue till now. Sorry.
Comment #34
kfritscheFor comment #30:
Issue#1 - fixed a while ago in the dev verison
Issue#2 - fixed in dev
Issue#3 - fixed in dev
For comment #32:
Fixed in dev.
Thanks for the reports. Closing this issue.