I’ve encountered a problem where codeigniter returns a whitescreen to me.
Note: this was working fine when I was still in DSO.
Note: I have tried changing the value of $config[‘uri_protocol’]
Consider this example:
url> mysite.com/process/something/321
output> **** WHITESCREEN ****
url> mysite.com/process/something/321/2323
output> you have entered: 321
url> mysite.com/process/something/323/2asdfshdf
output> you have entered: 323
url> mysite.com/process/something/323
output> **** WHITESCREEN ****
code:
class process extends Controller{
public function something($digit){
die("you have entered: " . $digit);
}
}
what do I need to do to get rid of the whitescreen?
as commented by @Rick Calder, there’s a quick fix to this problem, you just have to update your .htaccess file. Thanks Rick!
solution can be found here: http://www.serveridol.com/2012/02/15/codeigniter-%E2%80%93-no-input-file-specified-error/
although I’m still curious as to why this happens and why it automatically converts decimal points to underscore.
ie.
i need to read more into this to verify why its happening.