Welcome Guest, Not a member yet? Register   Sign In
Basic server setup for CI
#31

[eluser]Computerzworld[/eluser]
i have already assigned recursive 777 permission on this "/site" folder but i don't know what exactly the problem is... and also the problem is not of case because it is the default controller welcome...
#32

[eluser]zimco[/eluser]
You might want to try a different URI PROTOCOL in your in config file.
Currently yours is set to AUTO some server setups need a different setting. Have you tried any of the different ones listed in the config file?
Code:
$config['uri_protocol']    = "AUTO";

I have had good results using REQUEST_URI on finnicky webservers.
Code:
$config['uri_protocol']    = "REQUEST_URI";
#33

[eluser]TheFuzzy0ne[/eluser]
The $application_folder variable is probably not set correctly in your index.php. If htaccess is correct, and file permissions are correct, that's really the only thing I can think of that will cause the problem.
#34

[eluser]dmorin[/eluser]
Try this. Open your Router.php from system/libraries. Around line 146 you should see:
Code:
function _set_request($segments = array())
{    
    $segments = $this->_validate_request($segments);

add in a debugging line so it says
Code:
function _set_request($segments = array())
{    
    var_dump($segments);
    $segments = $this->_validate_request($segments);

Save that, refresh the page, and see if you get a little bit of text at the top of the page. If so, let us know what exact URL you originally requested and what the output of var_dump is.
#35

[eluser]Computerzworld[/eluser]
thanks... problem got solved by changing
Code:
$config['uri_protocol']    = "AUTO";

to

Code:
$config['uri_protocol']    = "REQUEST_URI";

HTH...




Theme © iAndrew 2016 - Forum software by © MyBB