Hi
I have a problem, that I hope someone will be able to help me with. I've only just started learning Drupal, and I've created my first site "localhost" on my laptop.
Now I want to move it to an online domain.
I have uploaded all the files in my Drupal Site folder to my domain using an .ftp program, and also I have exported the database to the database provided by my host.
But then I have a problem. When I type in my web-address, this is what I get:
"Site off-line
The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.
If you are the maintainer of this site, please check your database settings in the settings.php file and ensure that your hosting provider's database server is running. For more help, see the handbook, or contact your hosting provider."
I have tried to look in my settings.php file, and I have tried changing this line:
$db_url = 'mysql://root:root@localhost/chouloz_com';
$db_prefix = '';
to this
$db_url = 'mysql://chouloz_com:MYPASSWORD@https://dbadmin.one.com/chouloz_com';
$db_prefix = '';
Can anyone help me with this ?
Thank you
Comments
That's almost certainly not right
It's not an https connection to the database server - so I suspect it should read
db_url = 'mysql://chouloz_com:MYPASSWORD@dbadmin.one.com/chouloz_com';
Assuming dbadmin.one.com actually IS the database server name for your hosting service. And that your database name is chouloz_com.
Steve Hanson
Publisher Eye On Dunn County
https://eyeondunn.com
Hmm...
Hi Steve
I have tried changing the line in my settings.php, so that it reads what you wrote above, but it says exactly the same. So that didn't work.
the information, that I've gotten from my hosting service is as follows:
MySQL:
Host: localhost
Database: chouloz_com
Username: chouloz_com
Password: My own
PhpMyAdmin:
PhpMyAdmin: https://dmadmin.one.com/
Username: chouloz_com
Password: My own
Can anyone help me, what I need to change, so that my site will be running online on the server
Thank you
Problem solved
I solved the problem, but I am posting this last comment, in case that someone else might run into the same problem.
The right line for my settings.php file looks like this for it to work.
$db_url = 'mysql://chouloz_com:MYPASSWORD@localhost/chouloz_com';
$db_prefix = '';
NOTE: It is not sure, that your hosting domain uses "localhost". But if they do, this might be the solution to your problem.
Thank you, friend. That was
Thank you, friend. That was really helpfull