warning: open_basedir restriction in effect. File is in wrong directory in /var/www/vhosts/greaterlafayettedfa.org/httpdocs/includes/module.inc on line 133.
warning: Failed opening 'modules/flexinode/flexinode.module' for inclusion (include_path='.:/usr/share/pear') in /var/www/vhosts/greaterlafayettedfa.org/httpdocs/includes/module.inc on line 133.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 11520 bytes) in /var/www/vhosts/greaterlafayettedfa.org/httpdocs/modules/mailhandler/mailhandler.module on line 525

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 137 bytes) in Unknown on line 0

I've searched everywhere on Drupal but can't find a bug or fix for this. (although there are a lot of similar issues, they are not the same) I'm using Drupal 4.5 downloaded from Civicspace. Any suggestions would be appreciated. Maybe I've missed something, who knows....

Comments

Woodlums’s picture

by the way, I get that error when I click on Modules as admin on the website ( www.greaterlafayettedfa.org ) that I set up with Drupal.

Woodlums

sepeck’s picture

you need to increase the max mem size in your php.ini file.
When you load the modules page you actually load all the modules, even the ones you don't have checked. So it looks like you are running out of memory.

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

Woodlums’s picture

Could you tell me where to find the php.ini file? I'm using a hosting service, so is that maybe a file I'll have to ask them to modify? Thank you.

Woodlums

Okay, I answered my own question. I asked my web hosting service to help me out and they did, That is a server side issue that has to be corrected by the web host. Now I have a different problem, still an error message that goes like this:

warning: open_basedir restriction in effect. File is in wrong directory in /var/www/vhosts/greaterlafayettedfa.org/httpdocs/includes/module.inc on line 133.
warning: Failed opening 'modules/flexinode/flexinode.module' for inclusion (include_path='.:/usr/share/pear') in /var/www/vhosts/greaterlafayettedfa.org/httpdocs/includes/module.inc on line 133.

a friend of mine who does a hell of a lot more of this than me suggests that I am missing a "permission" of some sort, any thoughts here? Your help is, was and will be appreciated.

Woodlums

sepeck’s picture

that I don't know (I use IIS) and haven't seen before.
perhaps someone else.

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

Woodlums’s picture

While I don't know what they did, my web hosting company fixed this problem for me. I provided my user name and password, so I don't know if they fixed service side or software side. Anyway, that problem has been solved.

Thanks for the input.

Woodlums

Woodlums’s picture

I still don't know what causes this or how it's fixed. I report it to my web host and they fix it. I've asked them to explain if it's a problem with my software but they say that the software is working just fine. Sorry I can't offer more here, but I guess it's server side and I dont' do that.

Woodlums

gncuster’s picture

this is something that needed to be fixed inside the php.ini file as well. As a security precausion ... php does not open files outside those listed in specific directories or sub-directories ... they probably needed to add your drupal directory to the open_basedir line.