⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

No such file or directory (language file)



luciobrigido
  • profile picture
  • Member

Posted 08 April 2012 - 18:53 PM

hi everybody,

I'm writing just to register something curiour that ocurred to me this morning.

PROBLEM:
I was using groceryCRUD offline, with my Win7+WAMP and it worked fine. So I want to go online and for my surprise I got this anoying error with PHP include: "no such file or directory" pointing to my language file, which is pt-BR.portuguese.php

After a few minutes I figured it out: in libraries/grocery_crud.php, line 2732 it says:

$this->language = strtolower($ci->config->item('grocery_crud_default_language'));


So it converts "pt-BR.portuguese" into " pt-[b]br[/b].portuguese" (small case). This is fine with Windows but not with my ISP (which is Linux by the way).

SOLUTION:
I renamed my file to small case and get rid of it.

hope it helps someone.

c ya,

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 08 April 2012 - 19:21 PM

Thank you to mention it.

I just fix this issue (https://github.com/s...a73fd40c0f13e0d).

Thanks and sorry for this stupid bug.