By pixel12345 on
Hi All, My drupal chat forum is now running perfectly on my PC and i am ready to upload it to my yahoo-purchased server space. My question is which files do I need to upload from my computer? I am familiar which uploading html sites but have never uploaded a PHP site before so please keep your instructions in simple terms. Many thanks!
Comments
Yikes
I'm doing some sorta of similar (moving sites to a new domain name) and it's a bit of a pain.
First make sure that your provider can support PHP. Otherwise, it's futile. Then, make sure they support MySQL. I know this sounds trivial and hopefully doesn't insult you in anyway but I've come across many similar cases where I made an assumption that turned out wrong...so, I'm just being cautious.
The move shouldn't be too difficult. Is the domain name on your test site the same as the one that will be on the yahoo servers?
This is particular important (to me as this is exactly where my difficulties lie at the moment). If it's the same upload the entire drupal directory and change the $db_url to reflect your new database settings. That file can be found under /sites/default. Then you should export your test database into yahoo's database.
If it's not the same, in addition to the above, you'll also have to change the $base_url, which is in the same settings.php file just about 10 lines down.
Let me know how it goes. This is my first "help" post and hoping it goes well.
settings.php
I managed to set up a database on my site and upload the drupal directory, however , it seems my settings.php file may still be causing problems.
Should 'localhost' in the settings.php file be replaced with the full URL of my drupal site (http://testsite.com.index.php, for example) or should it be replaced simply with testsite.com?
It would be most appreciated if you could let me know
In the meantime thanks for your feedback!
Localhost is not your
Localhost is not your website address. It is how drupal can locate your database through a server. If you have a database located on a different server, then you will have to provide the host name. If your database is located on the same server as your domain, then I believe you can use localhost.
For example: if you were going to use a database from my server, you would put mysql400.ixwebhosting.com (this is the full host name) instead of localhost.
If you think localhost is causing a problem, then look for the "host name" (probably in your control panel under database) and replace localhost with your host name.