When trying to enable the module this is what I get: Fatal error: Interface 'space_setting' not found in /home/web123456/domains/example.com/public_html/sites/all/modules/spaces/spaces_design/spaces_design.module on line 53.

Comments

jaxpax’s picture

Status: Active » Closed (fixed)

I disabled the module, flushed the tables and enabled ones again and everything works just fine. I'm sorry for not doing this before "crying wolf".

//Patrik

yhahn’s picture

No worries, thanks for fixing the bug : )

luckysmack’s picture

Priority: Normal » Minor
Status: Closed (fixed) » Active

I received the same error. Even after clearing the caches, setting status to 0 in the system table, i still received this error. But i noticed I only received it if I enabled spaces, spaces_design, spaces_site, and spaces_user at the same time. if i enabled spaces first by itself and then each submodule individually i did not get the error. Also i noticed that when i received this error the only enabled spaces module in the database was spaced_design. So maybe spaces design is trying to be enabled bofore core spaces and the required tables arent present. So it seems like it isnt checking that its dependency is enabled first. But i could be wrong. None the less its easily fixable but still a bug. hope this helps.

yhahn’s picture

Status: Active » Fixed

I believe I've fixed this with this commit: http://drupal.org/project/cvs/261691

I'm assuming that the problem was occuring because spaces is weighted to -1 in hook_enable(), after spaces_design has been loaded. Therefore, under certain conditions I'm guessing that spaces_design was evaluated first before spaces, making the class definition fail.

The fix moves the class definitions out into an inc file so that they are only loaded when the spaces settings are requested.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.