I am currently running Drupal 6.8. I had it hosted on a free host (at byethost.com), and am trying to move it to a 1and1 server.
These are the steps I followed-
First I downloaded all of the Drupal files from byethost.
I then made a backup and downloaded by SQL database.
I uploaded all the Drupal files to the new host
I imported the SQL into a new database
Modified settings.php to match the new database.
Then I ran into some other issues. First, there was no styling. It was all white, with my content in the usual place, but without any sort of theming. I then modified my .htaccess file to use RewriteBasee \ and disabled clean URLs, and the theme started working again. This also fixed another problem I was having, which was getting 404s on most every page.
I also had to edit php.ini. As per other posts about 1and1, I had to set register globals to off, and had to increase the memory limit to 16M.
The date module was returning a whole bunch of critical SQL errors, so I deleted that module from my directory. The Calendar module also returns critical errors, along with a number of other modules (notably Views, which doesn't totally crash, but does fill up my logs). My Status Report told me my MySQL version was out of date (it was 4.0.7 I believe), so after some research I went and created a new database that was MySQL 5, imported the database again, and changed my settings.php file. I am having the same no-theme problem and modules problems as before, but shanging the settings in .htaccess is not helping.
Finally, every time I try to run update.php, I get a 500 error on the finished page. I also receive a 500 message when trying to access my modules administration page.
You can find my .htaccess file at http://s274007356.onlinehome.us/htaccess.txt. It is currently uploaded to /sites/default/files.
My (edited to remove password) settings.php file can be found at http://s274007356.onlinehome.us/settings.txt.
Finally, my php.ini can be found at http://s274007356.onlinehome.us/php.txt
How can I get this working? I have tried most suggestions for getting Drupal to work with 1and1 (including clean URLs, which are also still not working), to no avail.
As a side note, when 1and1 created the MySQL 5 database, the path was db693.perfora.net:/tmp/mysql5.sock. This does not work in settings.php, so I changed it to db693.perfora.net, which seems to be working for all my content.
Comments
Sorry for the bump, but I
Sorry for the bump, but I really need to fix this.