No input file specified - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: No input file specified (/showthread.php?tid=40377) |
No input file specified - El Forum - 04-07-2011 [eluser]Sara rad[/eluser] Hi friends ... when i upload my script script showed this error . i read very topics about this problem and test very ways but just this way work for me : Htaccess : Code: RewriteEngine on Config : Code: $config['index_page'] = 'index.php?'; And now when user redirect to another page url like that it : Quote:www.site.com/index.php?/profile/user/../username or when user click on this link : Quote:http://site.com/posts/id/1 in url bar url is a : Quote:http://site.com/index.php?/posts/id/1 can i remove this ? how ? and image with lowercase don't showed in site , Error pages style and js not loaded . i need help Regards No input file specified - El Forum - 04-07-2011 [eluser]toopay[/eluser] Are you try to remove 'index.php' from your uri? then,try this .htaccess Code: RewriteEngine On Code: $config['index_page'] = ""; No input file specified - El Forum - 04-07-2011 [eluser]Sara rad[/eluser] i change my htaccess and config to it :-? now first page loaded but when i want go to another page script showed first page ! www.site.com showed home controller www.site.com/users/ showed home controller and ... Showed home controller No input file specified - El Forum - 04-07-2011 [eluser]toopay[/eluser] try this config... Code: $config['uri_protocol'] = "PATH_INFO"; No input file specified - El Forum - 04-07-2011 [eluser]Sara rad[/eluser] As previously ... No input file specified - El Forum - 04-07-2011 [eluser]toopay[/eluser] change back uri_protocol to 'AUTO', then try this .htaccess : Code: RewriteEngine On No input file specified - El Forum - 04-07-2011 [eluser]Sara rad[/eluser] its worked , thank you :X but lowercase images dont showed file name : Micron.jpg dont work : www.site.com/micron.jpg wokrkd : www.site.com/Micron.jpg i want both of theme Display . and i have an other problem i say it here : Quote:http://ellislab.com/forums/viewthread/185771/ Can you help me about this ? Regards No input file specified - El Forum - 04-07-2011 [eluser]toopay[/eluser] I believe there are something wrong with your php environment. Can you print out your php environment? Do this way : 1. Create a view file, and controller to display it, then write this in your view file Code: <?php phpinfo(); ?> No input file specified - El Forum - 04-07-2011 [eluser]toopay[/eluser] I've receive your private message. Why your image url pointing to http://localhost ? Are you configure your config.php in 'application/config/' properly? No input file specified - El Forum - 04-07-2011 [eluser]InsiteFX[/eluser] Code: string strtolower ( string $str ) InsiteFX |