Skip to main content

FuelPhp Error - Invalid data source name


If you are new to FuelPhp, chances are you might have faced one or two errors during your setup. One of the common errors has to do with configuring the database for your app. If you keep coming across the error below, it could be due to two reasons.


1. You have probably not entered the right details in your db.php located in app/config/development/db.php or app/config/production/db.php. The only difference between these two is that one configuration file is used when your app is in development mode and the other (in the Production folder) is used when you set your app to be in production mode. Just enter the right database settings and you might be fine :) else try the second option below. 

2. You have not created the database at all. Go ahead and create the database you entered in your db.php file and you should be fine. 

Comments

Popular posts from this blog

EC isn't prepared to take technology to the next level in Elections

In Election 2012, Ghana's EC introduces a new process to verify voters before they are allowed to cast their vote. This was in the form of biometric verification, a good idea but poorly not so well implemented.

Be a part of the experience, and make sure your Polling Station is represented on Google Maps!

Excited to see the number of polling stations that have been mapped by Ghanaian voters. It is validation of the belief in the internet’s role in helping to ensure that the 2012 elections will be the best ever held in Ghana.