By kumar_anup11 on
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.
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
More details needed ...
Can you elaborate with details on the exact issues you're experiencing? What types of error messages are you getting?
If by "on live" you mean on
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.
thanks it is working now..
thanks it is working now..
Dose it make a difference
Dose it make a difference whether you use Xampp or Wamp?
No at all. Xampp is a web server
Not at all.
Xampp is a web server like WAMP. Some people use/prefer WAMP; I use & prefer Xampp.