hi,

brand new to drupal. i have nothing but horror stories when it comes to php, i am an experienced asp user, i admit it.

but, im trying. trying very hard. i tried phpbb and hated it. now im trying drupal because it looks real clean, professional, and it just "looks how a website should look" when i look at sites made with it.

anyway,

i am hosted on a freehost until i can get the hang of php software. i wont pay out the hoo-ha for asp hosting, so im going on the cheap, which is why im with php now. im using byethost. i dont know if you people support that or not, but unless i can find somewhere else thats better, its where im at. if i can get this crap running smoothly, ill pay for a real host.

so lets get down to it here. on the step, "database configuration", the install script goes nowhere. i enter my valid database name, database username, amd database password. if i leave the advanced options at default settings, with localhost for the databas ehost, i get a connection error.

so i set the database host to what i presume it to be based on the sidepanel in vistapanel. with everthing set:

DB name, DB username, DB password, DB host i press save and continue.

the page processes, and cycles me BACK to the same page, all fields blanked out.

i dont know if this is a settings.php issue, general software issue, or host issue. i opened a ticket with byethost and am now playing the waiting game so i thought id ask here in the mean time.

for the settings.php file, i copied the default.settings.php file to my sites... folder and simply renamed it settings.php. if thats an issue or out of line in any way, let me know. i hope someone can help. im really tired of bad news when it comes to open sourced php.

Comments

vincent sg’s picture

Make sure that settings.php is in the same directory as default.settings.php.
Settings.php must have write permission during installation.

Did you key in database name and database username correctly?
In shared hostings, the database name and database username are usually something_something.

osmorphyus’s picture

Mannual Solution Works
paulhult - September 18, 2008 - 10:58

I messed around with this for some time until I figured it out. Here are the steps you need to do to get around this issue once you reach the database install screen.

1.) Find the default.settings.php file in the site/default file folder.
2.) Open it with a text editor.
3.) Scan the beginning of the document for four statements, they look like this

$db_url = 'mysql://username:password@localhost/databasename'; * $db_url = 'mysqli://username:password@localhost/databasename'; * $db_url = 'pgsql://username:password@localhost/databasename'; */ $db_url = 'mysql://username:password@localhost/databasename';

4.) Copy and paste in your information for username, password, localhost and database name. Make sure you to apply to all four (4) cases.
5.) Save the document as setting.php. Please note the dropping of the "default" at the beginning.
6.) FTP the setting.php file to the site/default file folder on your server.
7.) Add your username, password, localhost and database info to the drupal database input screen and hit the button.

If the information is the same you will be pushed to the next screen. If you get an error, please check for misspellings and try again.

Good Luck!

works like a charm this way.

*blockquote permissions... nice!

vincent sg’s picture

Visit Administer -> Reports -> Status report

Make sure everything is green.

markloundy’s picture

It worked perfectly. I was sweating with this for several hours.

tlak8383’s picture

open the settings.php and at the db sintax just add the sintax that you will be using

for example

original was like this

$db_prefix = '';

and I replaced it with this

$db_prefix = 'cfc';

the the installation went through

Macek333’s picture

I had same trouble in this installations loop. But my mistake was missing default.settings.php in sites/default.

Explanation of this mistake was simple: by default is in this directory only file default.settings.php. I simple renamed this file to settings.php and voilá: loops and loops and loops...

Resolution: copy default.settings.php from install package to sites/default and install again (and at last :-p)

Sorry for my bad English :-)