CodeIgniter Forums
Errors after uploading site to host - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Errors after uploading site to host (/showthread.php?tid=49422)



Errors after uploading site to host - El Forum - 02-18-2012

[eluser]rajend3[/eluser]
My website was working fine locally. I uploaded to a server and I get the following error every time I click a link on my index page:

Quote:A Database Error Occurred

Unable to connect to your database server using the provided settings.

Filename: C:\xampp\htdocs\system\database\DB_driver.php

Line Number: 124

Any ideas what's wrong?


Errors after uploading site to host - El Forum - 02-18-2012

[eluser]mast3rpyr0[/eluser]
Modify your database file to be correct with the new server you are using. Is your database still at localhost?same credentials? same name?


Errors after uploading site to host - El Forum - 02-18-2012

[eluser]rajend3[/eluser]
doh, this is embarrassing Though my database credentials and URL were updated all my forms and links were pointing to the localhost.

Thanks for the reply.


Errors after uploading site to host - El Forum - 02-18-2012

[eluser]mast3rpyr0[/eluser]
Sure thing xD