CI on Windows problem |
[eluser]nigelb[/eluser]
Having a problem with CI on windows 2003 with PHP4.3.10. The welcome message shows fine, but if I try to run a script I get the following message... Code: Warning: Unknown(C:\Home\f\i\fin\www\index.php\admin\login): failed to open stream: No such file or directory in Unknown on line 0 admin\login is the name of the controller and function On linux this run fine. Any ideas what could be causing the problem.
[eluser]TheFuzzy0ne[/eluser]
It would really help if we could see the code that's causing this.
[eluser]nigelb[/eluser]
The problem is not being caused by the code. I can enter www.domain.com/index.php/controllor/anything and it will generate the same error message (subsituting admin/login for controllor/anything).
[eluser]Dam1an[/eluser]
Forgot you was on windows... Just though it you was using htaccess, you might be rewritting some paths, so it would look for something elsewhere, which is why it can't find it You refer to the welcome message, is this a clean install? If not, try that, see if it works
[eluser]TheFuzzy0ne[/eluser]
I don't understand why the fopen(?) is trying to open what appears to be a URI. Something is trying to load the file "C:\Home\f\i\fin\www\index.php\admin\login", and obviously it doesn't exist. What we need to find, is the code that's trying to do that.
[eluser]nigelb[/eluser]
the code to do that is just a redirect - nothing special Adding a ? after index.php gets it working - however it looks stupid, how do I get rid of the ?
[eluser]Iverson[/eluser]
The important question is what web server are you running? It could be an htaccess problem if you're running Apache.
|
Welcome Guest, Not a member yet? Register Sign In |