I'm following the directions, I have downloaded Drupal 5.2 and uploaded it to the root of my dreamhost webspace. I have setup the necessary MySQL database, etc. However when I go to http://www.mysite.com in Firefox it spins it's wheels until it says:

http://www.mysite.com/cgi-system/install.php

The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
* This problem can sometimes be caused by disabling or refusing to accept
cookies.

When I try it with the dreaded IE it just spins it's wheels into oblivion.

Comments

carusen’s picture

I have the same problem. 5.2 never installs on my Dreamhost server.
5.1 works as a charm - 5.2 never works. It doesn't matter if I make an upgrade or a fresh install...

dillanlaughlin’s picture

Thanks for the tip about 5.1. I will give that a shot, but still 5.2 install remains unresolved.

-Dillan Laughlin

kimble’s picture

In my case the problem was that register_globals in php.ini was turned on. To turn it off at Dreamhost go to your panel page, then to "manage domains" in the list of domains click the edit button for the domain you are trying to install on. Near the top uncheck the box labeled "Extra Web Security?"

Fixed it for me.

Kimble

preetinder’s picture

Hi,

You can solve this problem by editing your settings.php and setting $base_url variable to your domain.

settings.php is available in www.mysite.com/sites/default folder.

Hope this helps.

Cheers,
Tony

-----
I am available for drupal customization work.

cayenne’s picture

Oh yeah baby, that saved the day!

And I have done this several times before. So many things to overlook... so few cups of coffee.

:)

staypuftman’s picture

To remove the '#' in front of the $base_url variable in settings.php. That dumbshit move cost me 30 minutes.

Also note that while you are in the settings.php file, you might be tempted to fill in the $db_url variable because Dreamhost specifically says you can't login to a DB using localhost/password login credentials.
DO NOT DO THIS!!!

If you happen to fill this in, you will see that weird mysql db screwup output splattered all over your browser window while sitting there thinking 'Man, i clearly connected drupal to the db, why must it torture me so?'

For some reason beyond me, the Drupal 5.2 + Dreamhost combo needs this variable left to the default:
$db_url = 'mysql://username:password@localhost/databasename';

I think the cgi file that sets the system up probably configures this variable itself, so it sees it filled in and has a conniption.

This is a pretty glaring problem if you ask me, considering how many people use dreamhost. Is this just a 5.2 issue?

kmull’s picture

Tony- I was having this same problem on Dreamhost awhen attempting to set Drupal up for the 1st time. Your little post just saved me from wasting any more time. (I won't confess how much time I have wasted already trying to figure this one out.) Thanks.

-Kevin

jmbagroup’s picture

Tony how do I contact you. I am having a problem and you seem to be the right person to help solve it. I can be reached at joseph at jmbagroup dot com

I do alot of programming / design work and i am looking for top experts to work with us

thanks

menoseficaz’s picture

So, after spending a couple days to figure this out - pretty sad, I know. I tried all the other stuff with regards to php.ini, settings.php etc.

FINALLY - I notice that my domain is set to be PHP 4.x and I set it to PHP 5.x - IT WORKS.

I'm using DreamHost, too. FYI. Anyway, thanks for the right push - I'm sure I'd still be stuck if not for this thread.