• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weird problem with CI in Godaddy

Hi everyone, good nights.

I have a problem with a CI site hosted in Godaddy and need some help to resolve it.

I can see the home page and some others pages, but there is certains pages that I can´t see. Lets explain.

I configured config.php as described in many sites relating CI to Godaddy:

$config['index_page'] = 'index.php?';

$config['uri_protocol'] = 'QUERY_STRING';

and included an htaccess files as:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]

There are some pages (apart of the home page) that are working OK, under the url http://www.mysite.com/index.php?/front/help/index , for example.

But there is a group of pages that are not working. When I move the mouse over the links to those pages, all looks OK, for example: http://www.mysite.com/index.php?/front/s...category/1, but when I click on the link, the url that try to open the broser is (following the exmple) http://www.mysite.com/index.php/front/search/index , and i receive an "No input file specified." error.

Then I manually include in the address bar a "?" after ".php", converting the url to www.mysite.com/index.php?/front/search/index and the page shows OK.

Can you help me with this issue please. I am in a hurry to get this site working and spend some days triyng to figure out a solution but still having the same error.

Thank you in advance for your help.



Woof woof,

Not sure if this will help but you may need to remove the forward slash from the uri after the index.php? So that the uri is http://www.mysite.com/index.php?front/search...

This format has worked for a site I has hosted on godaddy in the past.


Check $config['enable_query_strings'] in you config file, set it FALSE and remove "?" from index.php

may this work for you

Thank you very much Boony and PravinS. I tried your suggestions but still not working. I explain.

I modified function site_url, in system/core/Config.php in order to remove the the forward slash after the index.php?. This was reflected in the links, but still teh same problem, some pages woprking and others no. The links of the pages not working now look as http://www.mysite.com/index.php?front/search/category/1 , but when click, the address bar in browser shows http://www.mysite.com/index.php/front/search/index and the same error message. If manually change the forward slash after .php for a ? in the address bar, then it works.

I cheked $config[‘enable_query_strings’] and it is set to FALSE, and tried removing ? from $config[‘index_page’] but then nothing works.

Really I don´t know what mora could be tried.

Thanks people, any other idea?



I am having a similar problem, any ideas/solutions?

Thanks -

Try on this topic. Worked for me.

Thanks for the follow up :-)

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.