• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Load database library wouldnt work...


When I load the database-library (autoload or $this->load->database()) I get the message that the file "language/db_lang.php" couldnt be loaded.

Thats a little strange:
1) Wherever I copy the db_lang.php its not found (system/languages or application/languages)
2) Why should a languagefile be loaded at that stage?

Can anybody help me what Im doing wrong?

At the time of loading there is no database-query yet.

What is the language set in the config file? if is (for example) italian, you mut have a sublfolder in the languages folder named italian and into the dd_lang.php file.

Yeah, that was my fault and solved the problem.

I had a default language loaded but forgot to create the folder.

Thanks for ur hint :-)


But a little strange that the error message didnt tell me the real folder.

It said "language/db_lang.php" but should have said "language/the_custom_language/db_lang.php"

no the message is ok... CI load automatically the correct folder

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.