Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 2 , justhost.com URI possible issue.
#1

[eluser]Unknown[/eluser]
Hi, im new to the codeigniter community ( been using it for 1 month ) and im being driven crazy by the following situation. I developed a website in my localhost and all was working smoothly.

Once i uploaded it to justhost (apache 2.2.25, php 5.2 ) the index.php cannot find any of the controllers and returns a page not found ( 404 ) error. I've tried enabling rewrite engine via htaccess but with no luck.

I have tried all possible URI_protocols from the configuration plus the ci is on the root folder of the host. (I can access index.php of ci normally, it just cant find the controllers/methods).

Also i noticed that if i test echo the $_GLOBAL options for URI protocol ( PATH_INFO etc ) i get nothing printed by php.

Any suggestions would be much appreciated.
#2

[eluser]danmontgomery[/eluser]
Generally speaking, when you go from a windows environment that works to a linux environment that doesn't, the issue is case sensitivity of file names.
#3

[eluser]John_Betong_002[/eluser]
Have you set your error log and viewed the results?

./application/config/config.php
Code:
$config['log_threshold'] = 4;

  $config['log_path'] = FCPATH .'/' .APPPATH; // index.php constants
 
#4

[eluser]nirvanist[/eluser]
hi,
i m hosting my site build with codeignter on "justhost" and it work perfectly
please verify you config file , have you setup the correct base url and can you copy your httacess content
#5

[eluser]DM613[/eluser]
i am also a student so nice to meet u ,what are u doing here?




Theme © iAndrew 2016 - Forum software by © MyBB