hi, i am quiet new on drupal and i am having some problems !!

i installed a new drupal 6.2 in my /cms/drupal-6.2/ direktory of my hoster
áfter install a few modules (no matter what) in /cms/drupal-6.2/sites/all/modules,
it seems like my installation has some problems.
when i execute update.php, i get an Error 500 - Internal server error
.......or i cant access my modules page anymore! After that i have to reinstall the whole page ;(...
My hosting provider is 1und1 (i know its slow but it should work)
my php.ini looks like this:
#####
register_globals = on
max_execution_time = 60
max_input_time = 120
memory_limit = 16M
#####
My .htaccess is nothing really changed exept i uncomment the
rewriteBase/
an put it in the homedirectory of my installation.

i am quiet tired of this problem and on my own.
Can someone pls help me with a hint ?

thanx a lot
Felix

Comments

theflexator’s picture

sry, its register_globals = off

theflexator’s picture

after in inserted
##
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
##
intomy.htacces to get it on 5.2.5

i get the folowing message:
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 424862 bytes) in /homepages/10/d114139557/htdocs/cms/drupal-6.2/includes/database.mysql.inc on line 301

hmm , how can i deal with that?

theflexator’s picture

ok, ive done it...
after i increased the php memory limit to 25M in php.ini, .htaccess and settings.php i can acces my modules page again and everything seems to work fine .
But now my question is ...do i get problems with 1und1 when i have 2 or 3 drupal insallations with 25 memory limit and...
is ths normal? i have 4 modules installed and didnt even use them when my site collapsed ? I am frightedn now to install more modules ^^ What is wrong?

thx
felix

andywang’s picture

Hi Felix,
Guess what, I was adding more modules today to my Drupal hosted by 1and1. I think while I was in the process of adding ubercart and its required and recommended Drupal modules, I got a memory error (don't remember the message, I think it was an allocation error). Now I get a 500 error on some administration modules.

Here's some interesting things:
1) If I move a couple modules out of sites/all, then I can get to the modules enable/disable page again. If I try to save the modules enable/disable, I get the 500 error again when trying to access modules. Then I can move the modules back into sites/all and get into the modules page again.
2) I am using Drupal 5.7!

andywang’s picture

http://drupal.org/node/45563

I had to disable a lot of modules. Not sure which was the cause!

Andrew

theflexator’s picture

i can access them as soon i increase my memory size !
now i had 6 modules running with 25 M for php<-- everything fine
i can access them as soon i increase my memory size again.
today i updated those modules to the recent version --->Fatal error: Allowed memory size of 26214400 bytes exhausted (tried to allocate 666553 bytes) in /homepages/10/d114139557/htdocs/cms/drupal-6.2/includes/database.mysql.inc on line 301

WTF !!!
should I go to 30M php now or whats happening here ?
I think i drop drupal 6.2 back to " forget about this now and come back 1 year later" !

theflexator’s picture

yep, as i said...on 30M eyerything is running fine now ^^
but this cant be sthe solution. There is something wrong i guess.

theflexator’s picture

today i addet 10 pictures with the gallery import module, and now this damn thing tells me again 30M is to small, tells me increase your f**** php memory and kicks me to errorpage.
Í guess i go back joomla. There i get some help at least.
This is frustrating
there is a school with 700 students and 50 teachers waiting for that site

Anonymous’s picture

I have the exact same problem, and I dont see why it is still not addressed with any core developers? It happens only in drupal 6 for me.

It only resolves increasing the memory limit from settings.php, but it seems to be a memory hog.

Thank you.

plato1123’s picture

This problem seems to be due to a timeout problem of some sort... I notice if I browse to the enable/disable module screen and get the 500 error, I can get it to show if I refresh several times quickly. Basically I hold down F5 (the force-refresh in firefox) for 5 seconds and the page loads! It's as if I'm waking up the server and getting it's attention...
Here's my php.ini that attempts to fix this:
register_globals = off;
memory_limit = 48M;
allow_url_fopen = On;

upload_max_filesize = 20M;
post_max_size = 250M;
max_execution_time = 60;
set_time_limit = 60;
max_input_time = 60;
~~~~
it didn't fix it but I think it's because some of the commands at the bottom there are not supported in php 4.