Page 1 of 1

"Missing" modules and permissions problem

Posted: Wed Nov 07, 2007 9:39 am
by David_Geoffrey
Hi All

I have been running my website happily for about 6 months now, and this morning it has suddenly thrown up a whole load of error messages - see below.

There are also a stack of errors on the admin front end as well.

Linked to the problem is that all the modules that have errors no longer seem to be listed in the List of modules in the admin, although if I ftp to the site they are all there in the modules. The permissions for the module folders are all the same whether they are erroring / appearing or not.

I am using 1.0.6 / Linux hosted on a shared server

If anyone has seen anything similar before or think they could help, I would be very grateful.

Thanks
Michael

Warning: ModuleLoader::include_once(/home/omqixooq/public_html/christchurchguildford/modules/Captcha/Captcha.module.php) [function.ModuleLoader-include-once]: failed to open stream: Permission denied in /home/omqixooq/public_html/christchurchguildford/lib/classes/class.moduleloader.inc.php on line 112

Warning: ModuleLoader::include_once() [function.include]: Failed opening '/home/omqixooq/public_html/christchurchguildford/modules/Captcha/Captcha.module.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/omqixooq/public_html/christchurchguildford/lib/classes/class.moduleloader.inc.php on line 112

Warning: ModuleLoader::include_once(/home/omqixooq/public_html/christchurchguildford/modules/CustomContent/CustomContent.module.php) [function.ModuleLoader-include-once]: failed to open stream: Permission denied in /home/omqixooq/public_html/christchurchguildford/lib/classes/class.moduleloader.inc.php on line 112

Warning: ModuleLoader::include_once() [function.include]: Failed opening '/home/omqixooq/public_html/christchurchguildford/modules/CustomContent/CustomContent.module.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/omqixooq/public_html/christchurchguildford/lib/classes/class.moduleloader.inc.php on line 112

Warning: ModuleLoader::include_once(/home/omqixooq/public_html/christchurchguildford/modules/FrontEndUsers/FrontEndUsers.module.php) [function.ModuleLoader-include-once]: failed to open stream: Permission denied in /home/omqixooq/public_html/christchurchguildford/lib/classes/class.moduleloader.inc.php on line 112

Warning: ModuleLoader::include_once() [function.include]: Failed opening '/home/omqixooq/public_html/christchurchguildford/modules/FrontEndUsers/FrontEndUsers.module.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/omqixooq/public_html/christchurchguildford/lib/classes/class.moduleloader.inc.php on line 112

Warning: ModuleLoader::include_once(/home/omqixooq/public_html/christchurchguildford/modules/HitCounter/HitCounter.module.php) [function.ModuleLoader-include-once]: failed to open stream: Permission denied in /home/omqixooq/public_html/christchurchguildford/lib/classes/class.moduleloader.inc.php on line 112

Warning: ModuleLoader::include_once() [function.include]: Failed opening '/home/omqixooq/public_html/christchurchguildford/modules/HitCounter/HitCounter.module.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/omqixooq/public_html/christchurchguildford/lib/classes/class.moduleloader.inc.php on line 112

Warning: ModuleLoader::include_once(/home/omqixooq/public_html/christchurchguildford/modules/SelfRegistration/SelfRegistration.module.php) [function.ModuleLoader-include-once]: failed to open stream: Permission denied in /home/omqixooq/public_html/christchurchguildford/lib/classes/class.moduleloader.inc.php on line 112

Warning: ModuleLoader::include_once() [function.include]: Failed opening '/home/omqixooq/public_html/christchurchguildford/modules/SelfRegistration/SelfRegistration.module.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/omqixooq/public_html/christchurchguildford/lib/classes/class.moduleloader.inc.php on line 112

Warning: ModuleLoader::include_once(/home/omqixooq/public_html/christchurchguildford/modules/Smileys/Smileys.module.php) [function.ModuleLoader-include-once]: failed to open stream: Permission denied in /home/omqixooq/public_html/christchurchguildford/lib/classes/class.moduleloader.inc.php on line 112

Warning: ModuleLoader::include_once() [function.include]: Failed opening '/home/omqixooq/public_html/christchurchguildford/modules/Smileys/Smileys.module.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/omqixooq/public_html/christchurchguildford/lib/classes/class.moduleloader.inc.php on line 112

Re: "Missing" modules and permissions problem

Posted: Wed Nov 07, 2007 10:19 am
by David_Geoffrey
An update to my own post, I cleared the cache in admin, which seems to have cured the problems on the front end, but there are now stacks of errors in admin.

One thing i noticed is that when I list the installed modules it says under status "Cannot Remove"?

Re: "Missing" modules and permissions problem

Posted: Wed Nov 07, 2007 5:30 pm
by Dr.CSS
Your provider has changed some setting in the server, probably a security thing with permissions...

Re: "Missing" modules and permissions problem

Posted: Thu Nov 08, 2007 8:53 am
by David_Geoffrey
Hi Mark

I called them and they swear that they haven't changed anything. Do you have any suggestions to what it might be (Apache? Linux? MySQL?) so that I can try and pin them down?

I appreciate that this is no longer a CMSMS problem and understand if you tell me to do my own research  :)

Cheers
Michael

Re: "Missing" modules and permissions problem

Posted: Sat Nov 10, 2007 7:12 pm
by streever
Hey David,

I think you need to clear the cache, and also log out: try logging back in & see if it fixes.

I bet something has changed at your host level.... even if they say no :)

Re: "Missing" modules and permissions problem

Posted: Sun Nov 11, 2007 12:18 am
by unknown
I should preface this by saying that all the advice given prior to this post is "dead on".
I simply want to offer you a way to possibly combat your hosting provider' changes. :)

In your .htacces file you can add as many folders as you like to the include_path stanza
as follows:

Code: Select all


<IfModule mod_php4.c>
    php_value include_path ".:/home/omqixooq/public_html/christchurchguildford/modules/Captcha/"
</Ifmodule>

I'm not suggesting that you use the line I provided. Just using it as an example. :)

You can also include a superglobal in your /include.php that will assist you in this regard
(but that's for another discussion). :)