[drupal-support] Modules page is locked. [solved]

William Meertens nuke at meewi.be
Thu Jun 9 19:02:08 UTC 2005


Hi all,

Thank you Brian for pushing me ;-)

I actually was playing with this before. Only not sure it helped. In some way it looked even worse. Only now I know why I did not get it the first time.

Your solution :
         ini_set("memory_limit","16");
Was the one I tried in some form within php.ini, .htaccess and vhosts.conf. Only setting this made everything go blank or nothing worked by clicking on it. Depending on the file and the form.

Yes indeed the form how you type is, is of importance. Your line did not work for me. But this line did :
         ini_set("memory_limit", "16M");

Do not tell me why, but for me it was needed to include the M and ... what troubled me the most ... the space. Silly but true, without the space between the two values it did not work. And that was the hard part, who would guess that. Where it not for you, I would have given up :-) on this line.

Your second statement about the log-setting. I had it on write to log-file and screen. Now I don't anymore, but it works both ways for me.

The only thing I had not was red lines or failures in my Drupal logs. So that was not bringing much. What I do have is everything put 3 times, and exactly, the same line in my log. Do you or anybody perhaps now why ? Not that it's bothering me, it only fills up the log at a triple speed.

All my best,
William.

PS : now we are having real fun again :-)


On Thu, 09 Jun 2005 07:32:51 -0400
Brian Puccio <brian at brianpuccio.net> wrote Re: [drupal-support] Modules page is
locked. :

> On Thu, 2005-06-09 at 08:52 +0200, William Meertens wrote:
> > Hi all,
> 
> snip
> 
> > Why, or what code locked the module page with the first three modules ?
> > Why, or what code conflicts with something to make the screen go blank
> > within the last four modules ?
> 
> I had the same issue when I added a bunch of modules.  For me, PHP was
> running out of memory.  You should be able to verify this by going to
> the page again and then quickly checking your apache error log.  It will
> probably say something like:
> 
>         Fatal error: Allowed memory size of 8388608 bytes
>         exhausted ........
> 
> I upped the amount of memory PHP is allowed to have by adding this
> directive:
> 
>         ini_set("memory_limit","16");
> 
> Add that to your site configuration file (towards the bottom you will
> see a bunch of other ini_set's) and you should be good to go.  If 16MB
> isn't enough, you might need even more, but I doubt it.
> 
> As for the screen going blank, I'm betting that is because you turned
> off the show errors on screen option, hence the blank page.  I know
> that's what caused it for me.
> 
> Note: It is possible that your host doesn't allow you to increase the
> memory PHP can use yourself.  You might have to correspond with their
> support department.  And yes, making this change to the other CMS's you
> were using should fix the issue there too.


-- 
                           \|/ ____ \|/    _     _             `  _  '
                 ////       @~/ ,. \~@   o' \,=./ `o          -  (_)  -
                (o -)      /_( \__/ )_\     (o o)               '   `
+-----------ooO--(_)--Ooo-----\__U_/----ooO--(_)--Ooo------------------+
http://www.meewi.be                                       SMILE
http://www.ladiescycling.net                       it cost nothing and
http://www.hostinglc.net                           it's beyond price !
------------------------------------------------------------------------



More information about the drupal-support mailing list