[eluser]LiorBroshi[/eluser]
This drives me crazy...i've been trying solve this for the past 2 days...
In my site, when i hit refresh on a specific page (article page) everything works fine.
-BUT-
When I try to access the -same- article from my internal search results, it produces the following debug notices on CI's log:
Code:
DEBUG - 2010-05-25 20:29:19 --> Config Class Initialized
DEBUG - 2010-05-25 20:29:19 --> Hooks Class Initialized
DEBUG - 2010-05-25 20:29:19 --> URI Class Initialized
ERROR - 2010-05-25 20:29:19 --> 404 Page Not Found --> 5223 <-- this is the ID of the article, uses show_article/5223
DEBUG - 2010-05-25 20:29:20 --> Config Class Initialized
DEBUG - 2010-05-25 20:29:20 --> Hooks Class Initialized
DEBUG - 2010-05-25 20:29:20 --> URI Class Initialized
DEBUG - 2010-05-25 20:29:20 --> Router Class Initialized
DEBUG - 2010-05-25 20:29:20 --> Output Class Initialized
DEBUG - 2010-05-25 20:29:20 --> Input Class Initialized
DEBUG - 2010-05-25 20:29:20 --> Global POST and COOKIE data sanitized
DEBUG - 2010-05-25 20:29:20 --> Language Class Initialized
DEBUG - 2010-05-25 20:29:20 --> Loader Class Initialized
DEBUG - 2010-05-25 20:29:20 --> Config file loaded: config/bikur_config.php
DEBUG - 2010-05-25 20:29:20 --> Config file loaded: config/database_tables_config.php
DEBUG - 2010-05-25 20:29:20 --> Helper loaded: url_helper
DEBUG - 2010-05-25 20:29:20 --> Helper loaded: form_helper
DEBUG - 2010-05-25 20:29:20 --> Helper loaded: html_helper
DEBUG - 2010-05-25 20:29:20 --> Helper loaded: users_helper
DEBUG - 2010-05-25 20:29:20 --> Helper loaded: db_helper
DEBUG - 2010-05-25 20:29:20 --> Helper loaded: general_helper
DEBUG - 2010-05-25 20:29:20 --> Language file loaded: language/hebrew/bikur_sys_lang.php
DEBUG - 2010-05-25 20:29:20 --> Session Class Initialized
DEBUG - 2010-05-25 20:29:20 --> Helper loaded: string_helper
DEBUG - 2010-05-25 20:29:20 --> Session routines successfully run
DEBUG - 2010-05-25 20:29:20 --> Controller Class Initialized
DEBUG - 2010-05-25 20:29:20 --> Model Class Initialized
DEBUG - 2010-05-25 20:29:20 --> Database Driver Class Initialized
DEBUG - 2010-05-25 20:29:20 --> Model Class Initialized
DEBUG - 2010-05-25 20:29:20 --> Model Class Initialized
Where the hell did this 404 came from?
This happens only when I place my .htaccess file which contains:
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
Any ideas?