Is anyone else using 1and1 hosting having problems with their drupal site? I have three running 4.3.2 and since yesterday, they're all returning Error 500: Internal Server Error. And since 1and1 doesn't make the error logs available its a real pain to debug.

Anyone else seeing this? Or better still worked around it?

In case it helps, according to someone on this thread:
http://s88567960.onlinehome.us/forums/index.php?showtopic=650&st=0&
apparently they recently upgraded to PHP 3.3.6. Also other installs are being broken like xoops.

thx, michael

Comments

mikemee’s picture

Fwiw, the phpinfo results can be found here:

http://s89376282.onlinehome.us/phpinfo.php

in case someone can take a look and say "well of course it won't work because ....". Also, removing the htaccess file "fixes" things, in that it removes the error.

Contents of the htaccess file are:

#
# Apache/PHP/site settings:
#

# Protect files and directories from prying eyes:
<Files ~ "(\.(conf|inc|module|pl|sh|sql|theme)|Entries|Repositories|Root|scripts|updates)$">
  order deny,allow
  deny from all
</Files>

# Set some options
Options -Indexes
Options FollowSymLinks

# Set the default handler to index.php:
DirectoryIndex index.php

# Customized server error messages:
ErrorDocument 400 /error.php
ErrorDocument 402 /error.php
ErrorDocument 403 /error.php
ErrorDocument 404 /error.php
ErrorDocument 500 /error.php

# Overload PHP variables:
<IfModule mod_php4.c>
   # If you are using Apache 2, you have to use <IfModule sapi_apache2.c>
   # instead of <IfModule mod_php4.c>.
   php_value register_globals        0
   php_value track_vars              1
   php_value short_open_tag          1
   php_value magic_quotes_gpc        0
   php_value magic_quotes_runtime    0
   php_value magic_quotes_sybase     0
   php_value arg_separator.output    "&amp;"
   php_value session.cache_expire    200000
   php_value session.gc_maxlifetime  200000
   php_value session.cookie_lifetime 2000000
   php_value session.auto_start      0
   php_value session.save_handler    user
   php_value session.cache_limiter   none
   php_value allow_call_time_pass_reference  On
</IfModule>

# Various rewrite rules
<IfModule mod_rewrite.c>
  RewriteEngine on

  # Modify the RewriteBase if you are using Drupal in a subdirectory and the
  # rewrite rules are not working properly:
  #RewriteBase /drupal
RewriteBase /

  # Rewrite old-style URLS of the form 'node.php?id=x':
  #RewriteCond %{REQUEST_FILENAME} !-f
  #RewriteCond %{REQUEST_FILENAME} !-d
  #RewriteCond %{QUERY_STRING} ^id=([^&]+)$
  #RewriteRule node.php index.php?q=node/view/%1 [L]

  # Rewrite old-style URLs of the form 'module.php?mod=x':
  #RewriteCond %{REQUEST_FILENAME} !-f
  #RewriteCond %{REQUEST_FILENAME} !-d
  #RewriteCond %{QUERY_STRING} ^mod=([^&]+)$
  #RewriteRule module.php index.php?q=%1 [L]

  # Rewrite URLs of the form 'index.php?q=x':
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

</IfModule>


# $Id: .htaccess,v 1.53.2.1 2003/12/15 23:38:23 dries Exp $
ti’s picture

Michael, I've had similar problem when I was setting up a site for a friend on 1and1. I posted about it here on May 21. You can click on the links there to check it out for yourself. I could not recreate the same 500 server error in any other web host. (I think Donovan is running Drupal 4.3.2 in his nice site.)

One possible solution for it might be what c0c0c0 suggested here.

Anyhow, right now it seems that 1and1 has fixed their server settings and clicking on restricted links I now get an access denied message and not a 500 server error. YMMV.

Donovan’s picture

After responding to ti's post on May 22, I realized that I spoke too soon after checking on a Drupal 4.4.1 site that I'm now soaking. That site was now returning 500 errors.

I called 1and1 support and allowed myself to be convinced by the tech that the problem was a script error caused by my site. So, I deleted the install and totally rebuilt the site. This worked so I thought the problem was resolved. However, this morning the 500 errors returned.
So, I called 1and1 support again and informed them of the problem. The Tech started down the "scripting error" path, so I then brought him to the 1and1 support board (he didn't know that 1and1 had a support forum) and the drupal forums and showed him that I was not the only person who was experiencing the problem as he had claimed.

When presented with this evidence, he conceded that the problen was likely caused by 1and1, and committed to personally escalate the issue to his supervisor. I hope that ti's respobse is indicative that the problem is now fixed. I'll keep my fingers crossed.

Donovan.

"It always seems impossible, until it is done."
- Nelson Mandela

deltat1’s picture

Where is this 1and1 support board? Is it this sub-forum here?

celerityfm’s picture

It used to be at http://s88567960.onlinehome.us/ but it's gone now.. I've started a new one here: http://groups.google.com/group/1and1-unofficial-support/

venkat-rk’s picture

I experienced a serious occurence of such messages on Pair Networks until I found the unlikely solution on a comment thread on kerneltrap.org (Kerneltrap runs drupal and Jeremy of kernel trap also contributes a lot to drupal). If you have phpmyadmin, in the server setting block for the dbserver that connects to your drupal site, set the database connection type to 'pconnect', especially if your database is on a different server.

Not only have I never seen the Internal Server error message again, my drupal site has also been noticeably faster. But, my sites are very small, so please check with your host if this is okay.

danaparkinson’s picture

I am using 4.7 on 1and1 and once I get to a certain number of modules (the configuration doesn't seem to matter), I start getting error 500, try again later (later never works) when I enable modules. The system seems to enable them anyway but the error is disconcerting. I always have a JS Done, but with errors on the page message, if that has anything to do with it (on all my Drupal sites). I went into phpmyadmin from 1and1 and can't seem to figure out how to set the database connection type to pconnect. Please advise.
Thank you.

zorroposada’s picture

Hi, I have a drupal 4.7.6 installed on 1and1 server.

When I was trying to install the ecommerce module I got

Error 500 - Internal server error

An internal server error has occured!
Please try again later.

I followed instructions found at http://drupal.org/node/31819 and it seems that the problem is the memory allocation.

I am still working on how to resolve it.

zorroposada’s picture

I called the guys at 1and1 support at 1-877-435-7281 and they helped me fix the problem.

I have a shared hosting account. I have a drupal 4.7 installed.

I was getting Server Error 500 on admin/blocks and admin/modules pages

I created a php.ini file in my drupal root directory and inserted max_execution_time = 50000

This made the trick for me.

Hope this help you.