Welcome Guest, Not a member yet? Register   Sign In
Polish characters are unallowed in argument?
#1

[eluser]rockstyle[/eluser]
I've got this error, but as a looked into the code it appears that polish characters are disallowed. I've got this in routes:
Code:
$route['zatwierdzone'] = "home/index/zatwierdzone";
$route['oczekujace'] = "home/index/oczekujące";
$route['odrzucone'] = "home/index/odrzucone";
It works but only for the first and for the last. It shows me an error when i'm trying to get to the second called oczekujące. I can also tell that oczekujace is record from column title.

ERROR:
Code:
A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/forum_list.php

Line Number: 3
A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/forum_list.php

Line Number: 5
A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: views/forum_list.php

Line Number: 5
#2

[eluser]moodh[/eluser]
include "ą" in allowed chars in config or change "ą" to a or something in the url-part.
#3

[eluser]Shay Falador[/eluser]
I don't know these polish characters but in order to fix them open application/config/config.php.
In this file you have this line:
Code:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
Add your polish characters into it and thats it!
#4

[eluser]rockstyle[/eluser]
Doesn't work. Does it seem that CI doesn't allow me to use Polish chars in argument? Kinda sucks, Neither changing url and adding permitted uri chars works...




Theme © iAndrew 2016 - Forum software by © MyBB