• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
input library insansative problem

#1
Shocked 
Hello,

After new install, codeigniter doesn't work. $this->input tag doesn't work. If i change this tag to $this->Input; it is working. How can i solve this problem. Confused

I am using nginx and php 5.3.3.

Thanks...
Reply

#2
PHP version 5.6 or newer is recommended.

It should work on 5.3.7 as well, but we strongly advise you NOT to run such old versions of PHP,
because of potential security and performance issues, as well as missing features.
What did you Try? What did you Get? What did you Expect?

Joined the CodeIgniter Community in 2009.          ( Skype: insitfx )
Reply

#3
We are using Codeigniter 3.1.5 with nginx/php7.0-fpm. We are having the same problem. It's not a problem related to php 5.6. Any suggestions?
Reply

#4
This cannot possibly happen without modifications to the framework.
Reply

#5
We have ubuntu 16.04 setup in Turkish and nginx running over on it. It seems that in /systems/Core/Common.php $_is_loaded[strtolower($class)] = $class;

strtolower is not working with "Input". The "I" character can not be converted to lowercase. Is this because of Ubuntu 16 setup in Turkish or something related to nginx?

It works with apache 2.4.

Thx.
Reply

#6
nginx has nothing to do with this. It doesn't even know you're running PHP.

PHP-FPM may be affected by the system locale somehow, but even that I highly doubt ... More likely your code changes the locale and that propagates to subsequent requests as FPM shares the processes.
Reply

#7
We did not make any code changes to default codeigniter. We just created a view and controller and tried to receive a data from a posted request with "$this->input->post('form_element')".
Reply

#8
OK, my first reply was too absolute, it's not impossible.
But my previous one explained why and how ... and you're not replying to that.
Reply

#9
We changed the operation system's locale to en_US.UTF-8 from tr_TR.UTF-8 and it works now. Thank you.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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