Closed (duplicate)
Project:
Styles
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Jan 2011 at 12:32 UTC
Updated:
30 Aug 2011 at 19:24 UTC
I don't know if this issue is allready a known fact, but when I try to uninstall styles or one of the by-products the unstall interface gives me a blank page.
When I turn on error reporting it says this:
With the UI:
Fatal error: Call to undefined function styles_presets() in /sites/all/modules/styles/contrib/styles_ui/styles_ui.module on line 25
With File Styles:
Fatal error: Call to undefined function file_directory_path() in /sites/all/modules/styles/contrib/file_styles/file_styles.install on line 23
I'm not a developer, so I can't debug this any more then this, but I do feel obligated to report this.
I hope someone can make something of this.
Comments
Comment #1
Frits1980 commentedI just removed te style module by deleting it from the module folder. Since an update with drush or the UI to 2.0-x did not work. I installed 2.0-alpha4 after this. When I try to to uninstall that I get the following error:
Styles UI:
Fatal error: Call to undefined function styles_default_containers() in /sites/all/modules/styles/contrib/styles_ui/styles_ui.module on line 25
File Styles thought works fine now and uninstalled perfectly. As far as I can see. Did'nt look in the DB to check.
Comment #2
draganerorI had same problem with 7.x-2.0-alpha4 even with 7.x-2.0-dev, and there is specific order for uninstall.
To uninstall Styles and Styles UI you have to leave Styles checked at
admin/modules, and only uncheck Styles UI, save settings. Then go toadmin/modules/uninstalland uninstall Styles UI. After that go back toadmin/modulesand uncheck Styles, save settings, then go toadmin/modules/uninstalland uninstall Styles.This works for me.
Comment #3
Frits1980 commentedNice workaround, thanx for that!
Comment #4
sashkernel commentedEl22or, thanks for solution.
Worked well for me.
Comment #5
aaron commentedthis makes no sense. styles ui is dependent on styles, as is file_styles. shouldn't even be allowed to uninstall styles until those two have been uninstalled :(
Comment #6
ykhadilkar commentedKeeping styles module checked (enabled) worked for me too. Thanks.
Comment #7
NPC commentedI had exactly the problem described in #1, and the solution in #2 helped me, thank you very much, @el22or!
Comment #8
mightaswell commentedI was having the same problem, I tried the solution in #2 and it appeared to work, but I still see styles, file styles, and style UI on the modules listing page and folders in ../sites/all/modules/.. aren't those deleted when you uninstall? or do I have to manually delete them?
Comment #9
davidneedhamI agree with everyone else - same problem as #1, #2 worked... but this shouldn't happen.
@mightaswell - Uninstalling a module simply removes / undoes the database changes that it makes when first installing the module. You have to manually delete the module files yourself.
Comment #10
zambrey commentedSeems like something new:
This one fails when trying to uninstall Styles module (current dev version).
Comment #11
clashar commentedmee too, I've got:
and solution from#2 doesn't help, as there is no Styles UI in modules uninstall list, there is only "Styles".
Comment #12
eule commentedi got on 7.x-2.0-alpha8
Fatal error: Call to undefined function styles_variable_default() in ./sites/all/modules/styles/styles.install on line 19Comment #13
dave reidThis is a duplicate of #1147284: Uninstall: Fatal error: Call to undefined function styles_default_containers() which has a patch that is already RTBC.