Part of the EllisLab Network
   
 
CodeIgniter Initialization problem!! URGENT!
Posted: 18 September 2007 12:18 PM   [ Ignore ]  
Summer Student
Avatar
Total Posts:  21
Joined  07-12-2007

Hi,

I enter on the home page.

I view log, and appears like if codeigniter had been loaded two times.

I test it a lot of times and I have had the same issue always.

Due to that problem a security code is regenerated and my captcha form never recognizes the db_session stored value.

Please.. help!

Thanks,
libnac


DEBUG - 2007-09-18 19:16:39—> Config Class Initialized
DEBUG - 2007-09-18 19:16:39—> Hooks Class Initialized
DEBUG - 2007-09-18 19:16:39—> No URI present. Default controller set.
DEBUG - 2007-09-18 19:16:39—> Router Class Initialized
DEBUG - 2007-09-18 19:16:39—> Output Class Initialized
DEBUG - 2007-09-18 19:16:39—> Input Class Initialized
DEBUG - 2007-09-18 19:16:39—> Global POST and COOKIE data sanitized
DEBUG - 2007-09-18 19:16:39—> URI Class Initialized
DEBUG - 2007-09-18 19:16:39—> Language Class Initialized
DEBUG - 2007-09-18 19:16:39—> Loader Class Initialized
DEBUG - 2007-09-18 19:16:39—> Config file loaded: config/authconfig.php
DEBUG - 2007-09-18 19:16:39—> Config file loaded: config/equipautoconfig.php
DEBUG - 2007-09-18 19:16:39—> Helpers loaded: url, form, array, auth, assets
DEBUG - 2007-09-18 19:16:39—> Database Driver Class Initialized
DEBUG - 2007-09-18 19:16:39—> Encrypt Class Initialized
DEBUG - 2007-09-18 19:16:39—> Session Class Initialized (db)
DEBUG - 2007-09-18 19:16:39—> AuthLib Class Initialized
DEBUG - 2007-09-18 19:16:39—> Encrypt class already loaded. Second attempt ignored.
DEBUG - 2007-09-18 19:16:39—> Model Class Initialized
DEBUG - 2007-09-18 19:16:39—> Controller Class Initialized
DEBUG - 2007-09-18 19:16:39—> Model Class Initialized
DEBUG - 2007-09-18 19:16:39—> Entrando a Model > Talleresmodel
DEBUG - 2007-09-18 19:16:39—> Model Class Initialized
DEBUG - 2007-09-18 19:16:39—> Entramos en Model > productosmodel >Constructor
DEBUG - 2007-09-18 19:16:39—> Model Class Initialized
DEBUG - 2007-09-18 19:16:39—> Entrando a Model > Clubesmodel
DEBUG - 2007-09-18 19:16:39—> Model Class Initialized
DEBUG - 2007-09-18 19:16:39—> Validation Class Initialized : Qvz2r
DEBUG - 2007-09-18 19:16:39—> Inicializando modelo Categorias
DEBUG - 2007-09-18 19:16:39—> Model Class Initialized
DEBUG - 2007-09-18 19:16:39—> Entrando a Model > Paquetesmodel
DEBUG - 2007-09-18 19:16:39—> Model Class Initialized
DEBUG - 2007-09-18 19:16:39—> Model Class Initialized
DEBUG - 2007-09-18 19:16:39—> Entramos en Model > Fabricantesmodel >Constructor
DEBUG - 2007-09-18 19:16:39—> Model Class Initialized
DEBUG - 2007-09-18 19:16:39—> Pagination Class Initialized
DEBUG - 2007-09-18 19:16:39—> Helpers loaded: string
DEBUG - 2007-09-18 19:16:39—> Helpers loaded: moneda
DEBUG - 2007-09-18 19:16:39—> Helpers loaded: language
DEBUG - 2007-09-18 19:16:39—> Helpers loaded: image
DEBUG - 2007-09-18 19:16:39—> Equipauto class initialized
DEBUG - 2007-09-18 19:16:39—> Entramos en Hooks > Language > setlang
DEBUG - 2007-09-18 19:16:39—> Entramos en Hooks > Language > setlang : Existe el objeto session
DEBUG - 2007-09-18 19:16:39—> Cambiamos el idioma en HOOK a spanish, en la clase :equipauto
DEBUG - 2007-09-18 19:16:39—> Language file loaded: language/spanish/equipauto_lang.php
DEBUG - 2007-09-18 19:16:39—> Language file loaded: language/spanish/sentry_lang.php
DEBUG - 2007-09-18 19:16:39—> Entramos Hooks -> Moneda -> setmoneda
DEBUG - 2007-09-18 19:16:39—> sending session cookie
DEBUG - 2007-09-18 19:16:39—> File loaded: /var/www/vhosts/llantas.webclick.es/httpdocs/system/application/views/equipauto/paquetesview.php
DEBUG - 2007-09-18 19:16:39—> File loaded: /var/www/vhosts/llantas.webclick.es/httpdocs/system/application/views/equipauto/talleresview.php
DEBUG - 2007-09-18 19:16:39—> File loaded: /var/www/vhosts/llantas.webclick.es/httpdocs/system/application/views/equipauto/clubesview.php
DEBUG - 2007-09-18 19:16:39—> File loaded: /var/www/vhosts/llantas.webclick.es/httpdocs/system/application/views/equipauto/carritoview.php
DEBUG - 2007-09-18 19:16:39—> File loaded: /var/www/vhosts/llantas.webclick.es/httpdocs/system/application/views/equipauto/buscadorflashview.php
DEBUG - 2007-09-18 19:16:39—> File loaded: /var/www/vhosts/llantas.webclick.es/httpdocs/system/application/views/equipauto/buscadorVehiculos/selectmarcasview.php
DEBUG - 2007-09-18 19:16:39—> File loaded: /var/www/vhosts/llantas.webclick.es/httpdocs/system/application/views/equipauto/buscadorvehiculosview.php
DEBUG - 2007-09-18 19:16:39—> File loaded: /var/www/vhosts/llantas.webclick.es/httpdocs/system/application/views/equipauto/buscadorneumaticosview.php
DEBUG - 2007-09-18 19:16:39—> File loaded: /var/www/vhosts/llantas.webclick.es/httpdocs/system/application/views/equipauto/buscadorproductosview.php
DEBUG - 2007-09-18 19:16:39—> File loaded: /var/www/vhosts/llantas.webclick.es/httpdocs/system/application/views/equipauto/idiomamonedaview.php
DEBUG - 2007-09-18 19:16:39—> File loaded: /var/www/vhosts/llantas.webclick.es/httpdocs/system/application/views/equipauto/menuizquierdaview.php
DEBUG - 2007-09-18 19:16:39—> File loaded: /var/www/vhosts/llantas.webclick.es/httpdocs/system/application/views/equipauto/menucentralview.php
DEBUG - 2007-09-18 19:16:39—> File loaded: /var/www/vhosts/llantas.webclick.es/httpdocs/system/application/views/auth/login.php
DEBUG - 2007-09-18 19:16:39—> File loaded: /var/www/vhosts/llantas.webclick.es/httpdocs/system/application/views/equipauto/centroview.php
DEBUG - 2007-09-18 19:16:39—> File loaded: /var/www/vhosts/llantas.webclick.es/httpdocs/system/application/views/equipautoview.php
DEBUG - 2007-09-18 19:16:39—> Final output sent to browser
DEBUG - 2007-09-18 19:16:39—> Total execution time: 0.2362
DEBUG - 2007-09-18 19:16:41—> Config Class Initialized
DEBUG - 2007-09-18 19:16:41—> Hooks Class Initialized
DEBUG - 2007-09-18 19:16:41—> No URI present. Default controller set.
DEBUG - 2007-09-18 19:16:41—> Router Class Initialized
[..]

 Signature 


Liberto López
Design & web projects manager

······························
REACTION MEDIA · web & design
www.reactionmedia.es
······························

Profile
 
 
Posted: 18 September 2007 12:43 PM   [ Ignore ]   [ # 1 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1747
Joined  06-23-2006

This is most likely caused by how you have your Rewrite rules set up, probably the same way I have mine. Essentially, every file that isn’t found is passed through the index.php front controller. I’ve seen the same problem you’re describing when my sites were missing a favicon.ico image file, which many servers and/or browsers make a request for. If this file is missing, the request is handled by your CodeIgniter installation, which generates a 404 error, of course.

Solution: create the missing favicon.ico file in the root of your site. I usually just put an empty file there with that name.

 Signature 

Mac OS X 10.4.10, Apache 1.3.3, PHP 5.2.3, CodeIgniter 1.5.x., baby!

Profile
 
 
Posted: 18 September 2007 04:28 PM   [ Ignore ]   [ # 2 ]  
Summer Student
Avatar
Total Posts:  21
Joined  07-12-2007

Hi,

Thanks for your response!

I just arrived home!.


Well.. I try to find what file is missing or doesn’t exists and I have found a .js file. I help myself with firefox firebug debugger.

I remove this javascript load but the problem still the same. :(


You said “rewrite rules” in your response. Can you give another “light” about this issue?.


Thanks a lot!
libnac

 Signature 


Liberto López
Design & web projects manager

······························
REACTION MEDIA · web & design
www.reactionmedia.es
······························

Profile
 
 
Posted: 18 September 2007 05:06 PM   [ Ignore ]   [ # 3 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1747
Joined  06-23-2006

If you have an .htaccess file, can you post the contents of it here? That will help us identify a potential problem

 Signature 

Mac OS X 10.4.10, Apache 1.3.3, PHP 5.2.3, CodeIgniter 1.5.x., baby!

Profile
 
 
Posted: 18 September 2007 05:08 PM   [ Ignore ]   [ # 4 ]  
Summer Student
Avatar
Total Posts:  21
Joined  07-12-2007

Here you have.

<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteRule ^$ index.php [L]
  RewriteCond $1 !^(index.php|media|img|javascript|css|robots.txt|favicon.ico|pc|user_guide)
  RewriteRule ^(.*)$ index.php/$1 [L]   
</IfModule>

I have just added favicon.ico thinking about your recently post.

Thanks.
libnac

 Signature 


Liberto López
Design & web projects manager

······························
REACTION MEDIA · web & design
www.reactionmedia.es
······························

Profile
 
 
Posted: 18 September 2007 06:11 PM   [ Ignore ]   [ # 5 ]  
Summer Student
Avatar
Total Posts:  21
Joined  07-12-2007

Thanks for your help!,

I solved this issue.

I never believe I am going to said that.. thanks to IE I have discovered an unloaded image the “no image” icon from IE. In firefox, this icon doesn’t appears, only the image isn’t showed.

But, I’d still like to know how can we solve this issue, because we always have similar situations.

Thanks,
libnac

 Signature 


Liberto López
Design & web projects manager

······························
REACTION MEDIA · web & design
www.reactionmedia.es
······························

Profile
 
 
Posted: 09 January 2009 12:06 AM   [ Ignore ]   [ # 6 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2915
Joined  07-27-2006

You can solve the issue by properly referencing your assets. Then you won’t get 404s.

 Signature 

Check out the Template Library
Oh yeah, I tweet, too (regarding CodeIgniter on occassion).

Profile
 
 
   
 
 
‹‹ Upload Class Error      New to CI ››
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 721, on January 06, 2010 09:38 AM
Total Registered Members: 115024 Total Logged-in Users: 66
Total Topics: 122459 Total Anonymous Users: 6
Total Replies: 647357 Total Guests: 468
Total Posts: 769816    
Members ( View Memberlist )