Welcome Guest, Not a member yet? Register   Sign In
[An Error Was Encountered] The URI you submitted has disallowed characters
#11

[eluser]jmbatty[/eluser]
this probably has nothing to do with it, but you have a typo here
Code:
,{name : 'company_access_id', index: 'comapny_access_id',hidden:true}
#12

[eluser]maria clara[/eluser]
[quote author="jmbatty" date="1262954647"]this probably has nothing to do with it, but you have a typo here
Code:
,{name : 'company_access_id', index: 'comapny_access_id',hidden:true}
[/quote]

i already had fixed that typo.
here:
Code:
,{name : 'company_access_id', index: 'company_access_id', hidden:true}

but still my console shows this error:

Code:
<h1>404 Page Not Found</h1>
        <p>The page you requested was not found.</p>

thanks,
maria
#13

[eluser]hollow[/eluser]
Hello,

I also met this problem, with CI and jqGrid. My problem is when I use the dataUrl option for the select input, in the form editing mode.

Code:
editoptions: {dataUrl:"note/get_students_in_class"}

"get_students_in_class" is a method in the controller "note" which returns the select input as html. This method is called using a GET request (www.domain.com/note/get_students_in_class?_nsd=123214325) and jqGrid adds a parameter to it.

Very odd, as I was writing this post, where I was going to say that for 2 days I've been getting disallowed characters URI 400 and 404s, I changed the .htaccess file on the server (forgot to say that it worked for me locally, but not on the server) and everything seems to be ok now.

Here's my .htaccess now, may be that's the cause:

Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>

Good luck!
#14

[eluser]WebsiteDuck[/eluser]
If you're using rewrite in your .htaccess file and your GET parameters aren't coming through, try this:

Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L,QSA]
</IfModule>

QSA is query string append
#15

[eluser]hollow[/eluser]
My previous .htaccess had the QSA option set and it gave the error with the disallowed URI characters. Actually, only the jqGrid uses in this case a GET request and I don't need the parameters, so it's ok for me like that.

Thank you!




Theme © iAndrew 2016 - Forum software by © MyBB