"Missing" modules and permissions problem

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
David_Geoffrey
Forum Members
Forum Members
Posts: 65
Joined: Tue May 22, 2007 10:05 pm

"Missing" modules and permissions problem

Post 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
David_Geoffrey
Forum Members
Forum Members
Posts: 65
Joined: Tue May 22, 2007 10:05 pm

Re: "Missing" modules and permissions problem

Post 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"?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: "Missing" modules and permissions problem

Post by Dr.CSS »

Your provider has changed some setting in the server, probably a security thing with permissions...
David_Geoffrey
Forum Members
Forum Members
Posts: 65
Joined: Tue May 22, 2007 10:05 pm

Re: "Missing" modules and permissions problem

Post 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
streever

Re: "Missing" modules and permissions problem

Post 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 :)
unknown

Re: "Missing" modules and permissions problem

Post 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). :)


Post Reply

Return to “CMSMS Core”