Welcome Guest, Not a member yet? Register   Sign In
thickbox and URI problem
#1

[eluser]satanrulehis[/eluser]
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
Code:
<a class="thickbox" href="http://domain.com/admin/adminpage/cpanel/show_menu_detail/9?height=130&width=600&modal=true" style="color: rgb(255, 102, 0); cursor: pointer;">EDIT CATEGORY</a>

Please view attached file for more detail

Thanks for any helps
Best regards,
#2

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

greetings
D.
#3

[eluser]WanWizard[/eluser]
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.
#4

[eluser]Derdiusz[/eluser]
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




Theme © iAndrew 2016 - Forum software by © MyBB