I recently switched to Dreamhost which I like a lot and the supposrt is great, but I can;t seem to figure out why I am not able to see my site still. I have another site on Dreamhost that I installed Drupal on and it works great, so I am thinking that something must have happend in the transfer.
Here's what I did:
I made a complete backup of my site and DB.
I added the domain to my Dreamhost account.
I switched over the DNS name servers to point to Dreamhost.
I added the new DB with their MYSQL control panel. (They use 5.0 and my past host used 4.3 I think)
I impored my DB files in my new DB.
I uploaded my site files to Dreamhost.
I changed my settings.php to reflect my new DB.
After a day, I was getting the following error:
error id: "bad_httpd_conf"
I was told that it might be that the DNS didn't completely change over yet, so I waited another day. I was still getting the error yesterday and cleared my DNS cache, but was still receiving the error last night.
This morning, I had to clear my cache to get to the site, which has been a blank page.
Dreamhost said my DNS settings are fine now.
I tried putting a freash install of drupal ontop of my old files (worked before, but not this time). Still a white page.
Any ideas on what could be causing this before I wipe out the whole site and start again?
Thanks,
Kris
Comments
htaccess file
Use the .htaccess file from your working drupal site instead of the old .htaccess file. But remember to keep a backup of the transferred .htaccess file.
My old host didn't allow me
My old host didn't allow me to upload the .htaccess file, but Dreamhost did. So, there's another difference. When I put the new install of Dupal ontop of my old file, it installed an .htaccess file that I previously didn't have. I tried removing it, but no change.
~~~~~~~~~~~~~~~~
Kris
Current projects: www.cribfax.com
www.myabatherapist.com
PHP Memory
I have had this problem before when my site was using to much php memory. Either bump up the amount of memory php can use, or get rid of unneeded modules.
You will have to ask your host how much they are giving you, and how to change that php setting on their server.
-Cheers, Shmee
I think this might be a
I think this might be a problem with my database. The base drupal databse runs fine, but when I add my backup database, I get errors. I am going to try and reintall everything with all my backup files once again ad see if it takes this time. If not, I will look into the memory issue.
Thanks,
~~~~~~~~~~~~~~~~
Kris
Current projects: www.cribfax.com
www.myabatherapist.com
Same White Screen
I am new to Drupal and just tried installing it yesterday and I am having a similar problem; any help would be greatly appreciated.
When I go to my domain there is just a blank white screen.
A couple side questions/background:
I dropped the contents of the compress Drupal in the "/public_html" folder. Is this the right place?
Also, in the settings.php I replace the following strings
[
$dbh = DBI->connect("DBI:mysql:Database:localhost","UserName","Password");
$db_prefix = '';
]
With the strings from the cPanel MySQL Account Maintenance.
[
Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:"":localhost","","");
PHP
$dbh=mysql_connect ("localhost", "", "") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("");
]
Is that right? (before I was getting invalid login information)
Thanks for any help
Useful lines to add at the end of .htaccess
When I've had problems of white pages with no source html data whatsoever, I find it useful to put these two lines at the end of my .htaccess file:
php_flag display_errors on
php_value error_reporting 2047
And when I've solved the problem, I stick a "#" in front of each line to make it easy should I need them again.
http://www.siliconmeadow.net