I have been having problems for days now getting my site transfered to Dreamhost from another host. This isn't their fault, and their support is great, but I can't see my site.

After lots of troubleshooting with Dreamhost, they cam up with this:

Your index.php executes when
running it directly at the shell prompt

UMMM... What do I do now? :)

Kris

Comments

BryanSD’s picture

Kris,

To me it looks like this is an .htaccess issue. What happens when you do something like:

http://yoursite.com/node or
http://yoursite.com/user/register

Does anything come up?

-Bryan
CMSReport

kweisblatt’s picture

Hi Bryan,
Everything is BLANK!! Do you still think it is an .hta access issue? WIth my old host, I couldn't upload the .htaccess file but everything worked fine. Now, with dreamhost I can upload the .htaccess file and I have because I didn't know if that was the reason it wasn't showing, but still blank.

The other difference I noticed is the mysql version.

Thanks,
~~~~~~~~~~~~~~~~
Kris
Current projects: www.cribfax.com
www.myabatherapist.com

BryanSD’s picture

No, I have some doubts this is .htaccess. I'm assuming it is the cribfax site since there is some source code being generated but the page is blank:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <title>  </title>
  <meta http-equiv="Content-Style-Type" content="text/css" />
      </head>
<body  >
<div id="MainWrapper">
<div id="header">
              <br class="clear" />
</div>
<div id="top-nav">

      </div>
<table id="content">
  <tr>
             <td class="main-content" id="content-  ">
                                                             <!-- start main content -->
                 <!-- end main content -->
        </td><!-- mainContent -->
       </tr>
</table>
<div id="footer">

   <!-- footer -->
    </body>
</html>

What theme were you using before you transferred over and is it in the directory? I will assume that your site was a Drupal 4.7 site before the transfer and that the theme engine you were using is phptemplate. I'll also found some evidence that Drupal is running on your site, but the errors may give away to much information about your server. I'll e-mail you what I'm seeing.

Bryan
CMSReport

kweisblatt’s picture

Thanks for checking up on this! I used the theme noprob and before I tranffered, I made backups of everything and put those same files on the new host. And yes, I have always used 4.7 with this. I will wait for your email.

~~~~~~~~~~~~~~~~
Kris
Current projects: www.cribfax.com
www.myabatherapist.com

BryanSD’s picture

Ok...before we go even further...check out http://drupal.org/node/72714#comment-135657 .

If you don't have shell access, I would assume you have something like phpmyadmin that could get this job done. I was able to connect through your alternative domain that you gave to me in e-mail and there were some errors that may indicate that UID 0 is missing. This is a long shot, but an easy fix if it is the users table. I seem to recall I ran into something like this myself not long ago.

-Bryan
CMSReport

kweisblatt’s picture

I tired it, but that's not it. I also had to do this before, but I had a feeling it wouldn't be so easy :(
I have a feeling that something happened to my databse during the transfer. But Dreamhost said the following:

"This appears to be an issue with Drupal. Your index.php executes when
running it directly at the shell prompt."
~~~~~~~~~~~~~~~~
Kris
Current projects: www.cribfax.com
www.myabatherapist.com

mactoph’s picture

Kris-
This isn't a direct answer and you may have already seen this resource, but there may be something in it that can help:
http://wiki.dreamhost.com/index.php/Drupal

kweisblatt’s picture

Yes, I have seen this before and it is useful, but it doesn't solve my current problem :(
~~~~~~~~~~~~~~~~
Kris
Current projects: www.cribfax.com
www.myabatherapist.com

BryanSD’s picture

Kris,

I see you finally got your site working. Care to share what you finally found out the problem to be?

-Bryan
CMSReport

kweisblatt’s picture

Unfortuntely I had to rebuild it. I started a freash install of drupal with a freash database and added on my back up files one by one. I have no idea what happened, so no solution.
~~~~~~~~~~~~~~~~
Kris
Current projects: www.cribfax.com
www.myabatherapist.com

BryanSD’s picture

Just good to hear that you got it back up and running. Site moves are always a pain...

kweisblatt’s picture

You're right about that...luckily I found a host I like and moved before I had more than 20 members :)
For anyone else reading this: If you are moving your site, make sure you make current backups of everything and don't forget your DB! It's useful to have a couple back-ups just in case.

(If anyone is reading this who is thinking of going to Dreamhost- this wasn't a Dreamhost issue. It was a Drupal issue that I never figurerd out. Dreamhost support was great!)
~~~~~~~~~~~~~~~~
Kris
Current projects: www.cribfax.com
www.myabatherapist.com