i have made my site in drupal in my localhost (using Xampp).
i have imported all the db details and data on server as well as all files.
but it is not working on live .

Pls help.

Comments

ambientdrup’s picture

Can you elaborate with details on the exact issues you're experiencing? What types of error messages are you getting?

lionheart8’s picture

If by "on live" you mean on an online server, I suspect you have not edited the sites/default/settings.php file.
Go to settings.php and locate these lines

* Database URL format:
* $db_url = 'mysql://username:password@localhost/databasename';
* $db_url = 'mysqli://username:password@localhost/databasename';
* $db_url = 'pgsql://username:password@localhost/databasename';
*/
$db_url = 'mysql://yourXamppDBUsername:YourXamppDBPassword@localhost/YourXamppDBUsername;
$db_prefix = '';

Replace those Xampp values with those on YOUR ONLINE SERVER, ie the Online DB name, username, PWD and of course host IF it is NOT "localhost".

It should work after that. I use Xampp as well & I never get any issues in that area.

I hope it helps.

kumar_anup11’s picture

thanks it is working now..

UNarmed’s picture

Dose it make a difference whether you use Xampp or Wamp?

lionheart8’s picture

Not at all.
Xampp is a web server like WAMP. Some people use/prefer WAMP; I use & prefer Xampp.