Welcome Guest, Not a member yet? Register   Sign In
problem with URI_PROTOCOL
#1

[eluser]redhorselancer[/eluser]
Hi codeIgniters!

I have a problem with uri_protocol. I had this problem before and I have managed to fix it but this time is different.

I installed a script to a root server and it’s working (with the uri_protocol set to AUTO). Now I installed it on a directory of that same server and it’s not working (still in AUTO). Then I changed the uri_protocol to REQUEST_URI (as this worked before), but it didn’t work. Now I tried the “different flavors” (PATH_INFO, QUERY_STRING, ORIG_PATH_INFO) for the uri_protocol but nothing worked… how do you solve this kind of problem?

Hoping to hear from you! tatah! Smile
#2

[eluser]redhorselancer[/eluser]
I forgot to mention, I already did changed the value of $config[’index_page’] to “index.php?” and again tried the different uri_protocol options. I’m not using an htaccess file here or anything to get rid of the “index.php"…
#3

[eluser]Derek Allard[/eluser]
Did you change base_url? Is the site publicly accessible? It'd be easier to diagnose if we could see it.
#4

[eluser]redhorselancer[/eluser]
yes sir i've changed the base_url :-)

here's the site: http://www.leveragetracker.com/quiz/

as you can see, there's a "No activated quiz." message there (that should happen because its default controller is coded to display that message when there's no quiz is up. so the default controller is recognized) but when you try to go to the admin panel of that site (http://www.leveragetracker.com/quiz/index.php/admin) you'll see a "No input file specified." message which i don't remember i put it there.

hope this issue would be solved!
regards!
#5

[eluser]Derek Allard[/eluser]
Hm. http://www.leveragetracker.com/quiz/index.php?/admin works. I know you said you changed to "index.php?", but it doesn't seem to be taking. Try deleting the config file on the server and re-uploading.
#6

[eluser]redhorselancer[/eluser]
Uhm it's still not working sir. you see, the "No activated quiz." message should ONLY appear in the default controller which is the controller named "home". and if you go to the admin panel, you should see the admin's login form.
here's a site that has that same script: http://freequiz.info/dev/admin except it has its "index.php" removed by an htaccess file. the script should function like that. http://freequiz.info/dev/ is its base url.

please check sir, thanks!

BTW, what does that "No input file specified." mean and how do i get that message? I really want to know, thanks! Smile
#7

[eluser]Derek Allard[/eluser]
Can you give me an example of a controller name?

If you search these forums for no input file, you'll get lots of hits that way.
#8

[eluser]redhorselancer[/eluser]
i'll search the forum then. Smile some controller names are: home, admin, analyze, thankyou, confirmed.
under the "admin" controller there are some functions named: login, add_quiz, edit_quiz, change_pass, logout, reports, gen_rep.
and under the "confirmed" controller there's the "onlist" function.
#9

[eluser]redhorselancer[/eluser]
Please help... :ohh:
#10

[eluser]redhorselancer[/eluser]
CodeIgniter peeps out there?




Theme © iAndrew 2016 - Forum software by © MyBB