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

[eluser]Aniket[/eluser]
Could you show the complete log means right from start to the point where it shows error....maybe i can help you looking at the log......
#12

[eluser]Aniket[/eluser]
Hey i just now downloaded CI 1.7.1 and installed on apache its working !!!.....check and recheck you config.php and routes.php for any mistakes... hope it helps
#13

[eluser]Computerzworld[/eluser]
Here is my original log file containing error...

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>

ERROR - 2009-02-27 02:34:37 --> 404 Page Not Found --> CI
ERROR - 2009-02-27 02:34:51 --> 404 Page Not Found --> CI
#14

[eluser]Aniket[/eluser]
ok..it seems there is some problem with the config.php file because the log would have mentioned about the loaded files.
#15

[eluser]Computerzworld[/eluser]
Here is my config file attached along with this post....kindly check & tell me what is the problem in it?
#16

[eluser]Krzemo[/eluser]
IMHO its due to .htaccess
#17

[eluser]Aniket[/eluser]
Nothing seems to be wrong with your config.php.
Could you make the following changes to config.php
set log threshold to 4 so all debug messages are logged maybe that can give you a hint...also if possible post the complete log upto error.
Code:
$config['log_threshold'] = 4;
#18

[eluser]Aniket[/eluser]
@Computerzworld
I think Krzemo is right you should check .htaccess file.Coz if all the configuration is right then its issue with server settings.
#19

[eluser]Computerzworld[/eluser]
so.. CI doesn't works without .htaccess? and i haven't used it because on the server rewrite mode is not on....
#20

[eluser]Computerzworld[/eluser]
i changed $config['log_threshold']=4 and i got these debug messages in log file...

<?php if ( ! defined(‘BASEPATH’)) exit(‘No direct script access allowed’); ?>

DEBUG - 2009-02-27 05:44:18 --> Config Class Initialized
DEBUG - 2009-02-27 05:44:18 --> Hooks Class Initialized
DEBUG - 2009-02-27 05:44:19 --> URI Class Initialized
ERROR - 2009-02-27 05:44:19—> 404 Page Not Found—> CI




Theme © iAndrew 2016 - Forum software by © MyBB