[eluser]Razican[/eluser]
[quote author="John_Betong" date="1291906912"]A long time ago I had a problem with the controllers loading twice. Eventually managed to trace the cause to the wrong path for the favicon.ico.
I found the error by checking in the Apache and PHP error log files.
Well worth a try...
[/quote]
I have tried to find all broken URLs but I found nothing.
[quote author="WanWizard" date="1291858310"]I can't look into your environment, so it's very difficult for me to give you the correct config.
What you can do as a temporary measure, add
Code:
log_message('debug', "URL requested: ".$_SERVER['REQUEST_URI']);
as last statement of the constructor in system/core/controller.php. Make sure to set the log_threshold to 4 in your config to be able to see debugging.
It will log every URL requested to the log file. That would help you to find which assets are missing.[/quote]
With that statement this is the log with the -d and -f on:
Code:
DEBUG - 12-12-2010 16:58:42 --> Config Class Initialized
DEBUG - 12-12-2010 16:58:42 --> Hooks Class Initialized
DEBUG - 12-12-2010 16:58:42 --> Unicode Class Initialized
DEBUG - 12-12-2010 16:58:42 --> Unicode Class - UTF-8 Support Enabled
DEBUG - 12-12-2010 16:58:42 --> URI Class Initialized
DEBUG - 12-12-2010 16:58:42 --> Router Class Initialized
DEBUG - 12-12-2010 16:58:42 --> Output Class Initialized
DEBUG - 12-12-2010 16:58:42 --> Input Class Initialized
DEBUG - 12-12-2010 16:58:42 --> Security Class Initialized
DEBUG - 12-12-2010 16:58:42 --> XSS Filtering completed
DEBUG - 12-12-2010 16:58:42 --> XSS Filtering completed
DEBUG - 12-12-2010 16:58:42 --> CRSF cookie Set
DEBUG - 12-12-2010 16:58:42 --> Global POST and COOKIE data sanitized
DEBUG - 12-12-2010 16:58:42 --> Language Class Initialized
DEBUG - 12-12-2010 16:58:42 --> Loader Class Initialized
DEBUG - 12-12-2010 16:58:42 --> Config file loaded: megapublik/config/megapublik.php
DEBUG - 12-12-2010 16:58:42 --> Helper loaded: language_helper
DEBUG - 12-12-2010 16:58:42 --> Helper loaded: form_helper
DEBUG - 12-12-2010 16:58:42 --> Helper loaded: html_helper
DEBUG - 12-12-2010 16:58:42 --> Helper loaded: url_helper
DEBUG - 12-12-2010 16:58:42 --> Helper loaded: cookie_helper
DEBUG - 12-12-2010 16:58:42 --> Helper loaded: overal_helper
DEBUG - 12-12-2010 16:58:42 --> Language file loaded: language/spanish/overal_lang.php
DEBUG - 12-12-2010 16:58:43 --> Database Driver Class Initialized
DEBUG - 12-12-2010 16:58:43 --> Session Class Initialized
DEBUG - 12-12-2010 16:58:43 --> Helper loaded: string_helper
DEBUG - 12-12-2010 16:58:43 --> Encrypt Class Initialized
DEBUG - 12-12-2010 16:58:43 --> Session routines successfully run
DEBUG - 12-12-2010 16:58:43 --> Model Class Initialized
DEBUG - 12-12-2010 16:58:43 --> Model Class Initialized
DEBUG - 12-12-2010 16:58:43 --> Controller Class Initialized
DEBUG - 12-12-2010 16:58:43 --> URL requested: /megapublik/es
DEBUG - 12-12-2010 16:58:43 --> Language file loaded: language/spanish/login_lang.php
DEBUG - 12-12-2010 16:58:43 --> File loaded: megapublik/views/menu_outgame.php
DEBUG - 12-12-2010 16:58:43 --> File loaded: megapublik/views/head.php
DEBUG - 12-12-2010 16:58:43 --> File loaded: megapublik/views/footer.php
DEBUG - 12-12-2010 16:58:43 --> File loaded: megapublik/views/login.php
DEBUG - 12-12-2010 16:58:43 --> Language file loaded: language/spanish/profiler_lang.php
DEBUG - 12-12-2010 16:58:43 --> Helper loaded: text_helper
DEBUG - 12-12-2010 16:58:43 --> Final output sent to browser
DEBUG - 12-12-2010 16:58:43 --> Total execution time: 0.0521
This is when I put the
Code:
RewriteCond %{REQUEST_URI} !^(images|javascript|css)
Code:
DEBUG - 12-12-2010 16:59:29 --> Config Class Initialized
DEBUG - 12-12-2010 16:59:29 --> Hooks Class Initialized
DEBUG - 12-12-2010 16:59:29 --> Unicode Class Initialized
DEBUG - 12-12-2010 16:59:29 --> Unicode Class - UTF-8 Support Enabled
DEBUG - 12-12-2010 16:59:29 --> URI Class Initialized
DEBUG - 12-12-2010 16:59:29 --> Router Class Initialized
ERROR - 12-12-2010 16:59:29 --> 404 Page Not Found --> index_php