CodeIgniter Forums
1.6 : There's no Database.php on my CodeIgniter 1.6 download - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: 1.6 : There's no Database.php on my CodeIgniter 1.6 download (/showthread.php?tid=5824)



1.6 : There's no Database.php on my CodeIgniter 1.6 download - El Forum - 02-05-2008

[eluser]D3N14M[/eluser]
Okay, I don't know if there has been a change that makes that the Database library has changed place or it's on another philosophy, but I downloaded the new CodeIgniter_1.6.0.zip and there's no Database.php on the libraries folder. Since I didn't updated from a previous version, I don't have the file and the framework crash every time I try to load it.

Has something change or is the file missing on the zip?


1.6 : There's no Database.php on my CodeIgniter 1.6 download - El Forum - 02-05-2008

[eluser]Alex007[/eluser]
The database config file ? It's in the application/config folder.


1.6 : There's no Database.php on my CodeIgniter 1.6 download - El Forum - 02-05-2008

[eluser]Seppo[/eluser]
The database library is in a particular folder, in system/database/ It has never been on the library folder... at least not in a while.


1.6 : There's no Database.php on my CodeIgniter 1.6 download - El Forum - 02-05-2008

[eluser]D3N14M[/eluser]
Ok, then it's not the problem I have.

I'm having a problem when loading the Database class... When I try to load it (using autoload.php, or $this->load->database()) the framework dies and the browser shows a white page (with no code at all)...

It's there any possibility that I have missed some configuration or code?


1.6 : There's no Database.php on my CodeIgniter 1.6 download - El Forum - 02-05-2008

[eluser]Derek Allard[/eluser]
blank white pages almost always mean a PHP error that's getting suppressed. Check your logs, and try try turning on errors.

http://www.derekallard.com/blog/post/error-handling-in-codeigniter/