Not sending my POST data - Extending Lang, Config |
[eluser]Mauricio de Abreu Antunes[/eluser]
Hi, I'm here again. I have some problems about my forms. I'm using this lib for internationalization (extending MY_Config and MY_Lang): https://github.com/daylerees/ci-lang - http://maestric.com/doc/php/codeigniter_i18n My routes.php is: Code: $route['default_controller'] = 'welcome'; I really don't know what is happening. When i submit any form, it refreshes and loads the same page and nothing happens. I think my problems is in MY_Lang, MY_Config and routes.php, but i don't know how to act about about this case. I printed some messages for debug and i figured out my post is empty. It's not sending data anymore because my $_POST is empty. I printed messages in core library and this line Code: public function run($group = '') I guess my problem is in routes.php. Any idea? This is my controller: Code: public function index () { My URL is: http://localhost/percutz/pt/teste_validacao OBS.: a good observations is: when i load any additional translation file like 'site_lang.php' ($this->lang->load('site', 'portuguese')) it does not load and shows me this error: File site.php does not exist, but the syntax is ok, because before these changing about internationalization, i was not getting this error. pt = my language (portuguese) Any idea? |
Welcome Guest, Not a member yet? Register Sign In |