CodeIgniter Forums

Full Version: thickbox and URI problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Hello guru!
I build a website using CodeIgniter, In admin section I use Jquery Thickbox for some ajax works...
In my localhost everything works fine BUT when I upload to client's hosting --> error occur

"The URI you submitted has disallowed characters." --> a blank thickbox appears and stuck

The link
<a class="thickbox" href="" style="color: rgb(255, 102, 0); cursor: pointer;">EDIT CATEGORY</a>

Please view attached file for more detail

Thanks for any helps
Best regards,

El Forum

You can try to enable query string in CI configuration - system/application/config/config.php


El Forum

enable_query_strings is meant to enable routing using query strings, so that's not a solution here.

Does your hoster work with PHP in CGI mode? If so you probably have a rewrite rule in your .htaccess to index.php? (note the question mark). If so, your URL adds a second question mark to the URI.

El Forum

If you enable a RewriteEngine and address your requests into index.php/main_cotroller/$1 you can use a query strings as a additional GET data Smile