Hi everyone, i've got a strange problem in which i can't remove a module without bringing my site down!

I actually believe i have a very strange installation for some reason, and i also have good reason to believe that one so called module is causing some permissions issues that i've been facing. The module in question is 'openresort' but in my installation it is in modules/openresort-5.3.0.10 rather than the normal modules/openresort. What is more strange is that inside this directory is another modules directory containing modules such as drupal, block etc, and an INSTALL.txt which looks much like the druapl INSTALL.txt file. So, as far as i can tell, i've almost got a site within a site!

I've tried updating all of the modules i can without serious disruption to the site. When doing this i've run the update.php but each time came back with a blank page. Eventually i looked at the code and after changing the ini_set('display_errors', FALSE); to be true, i got the following error :

Fatal error: Cannot redeclare filter_help() (previously declared in /home/ibmhursl/public_html/modules/openresort-5.3.0.10/modules/filter/filter.module:20) in /home/ibmhursl/public_html/modules/filter/filter.module on line 48

So, again seems to compound the statement that somehow i've ended up with one installation inside another. The problem is how to remove one and not the other.

New & updated modules i've installed into /modules and yet the /modules/openresort-5.3.0.10 code seems to be taking a priority.

Interestingly i've tried moving / renaming /modules/openresort-5.3.0.10 to be just another directory name and again the site crashes. It almost seems to me like the site is specifically looking for modules within that directory but because i get a completely blank page when i move it or do anything with it, it becomes impossible ( for me ) to debug.

If anyone out there has any ideas about how i can progress this i'd really appreciate it.

Thanks.

Comments

archer007’s picture

First of all, openresort should be in /sites/all/modules/openresort. That might create problems all by itself.

In your situation, I would back the site up, delete it, and start over from the last good backup. If that doesn't work, you can go back to the original messed up version or just start from scratch.