IIS 7 & Joomla 1.7 = 'Infinite loop detected in JError'

This forum is for issues with installing Joomla! 2.5 (All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5.) on IIS webservers.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
jr3151006
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Oct 31, 2011 11:54 pm

IIS 7 & Joomla 1.7 = 'Infinite loop detected in JError'

Post by jr3151006 » Tue Nov 01, 2011 2:03 pm

Hi,

I started a fresh install of Joomla on our Windows Server (64x) using Microsoft Web Plataform Installer, the IIS website and database was created without errors but in the first try to open we face the following msg:
Infinite loop detected in JError
After a little searchs I found that article explanining how to enable the 'debug errors': http://docs.joomla.org/Infinite_loop_de ... Joomla_1.7

So, righ now the error msg is:
####################
JLIB_UTIL_ERROR_CONNECT_DATABASE
Can some one help me?

** PHP Version 5.2.17
** MySQL v5.4.3
Last edited by jr3151006 on Tue Nov 01, 2011 2:11 pm, edited 2 times in total.

jr3151006
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Oct 31, 2011 11:54 pm

Re: IIS 7 & Joomla 1.7 = 'Infinite loop detected in JError'

Post by jr3151006 » Tue Nov 01, 2011 2:06 pm

#1 JError::raise(1, 500, Application Instantiation Error, , 1) called at [C:\inetpub\wwwroot\joomla17\libraries\joomla\error\error.php:218]
#2 JError::raiseError(500, Application Instantiation Error) called at [C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php:50]
#3 JFactory::getApplication() called at [C:\inetpub\wwwroot\joomla17\libraries\joomla\error\error.php:634]
#4 JError::customErrorPage(JException Object ([] => 1,[] => 500,[] => JLIB_UTIL_ERROR_CONNECT_DATABASE,[] => ,[] => C:\inetpub\wwwroot\joomla17\libraries\joomla\error\error.php,[] => 148,[] => ,[] => ,[] => ,[] => ,[] => Array ([0] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\error\error.php,[line] => 148,[function] => __construct,[class] => JException,[object] => JException Object ( *RECURSION*,[type] => ->,[args] => Array ([0] => JLIB_UTIL_ERROR_CONNECT_DATABASE,[1] => 500,[2] => 1,[3] => ,[4] => 1)),[1] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\error\error.php,[line] => 218,[function] => raise,[class] => JError,[type] => ::,[args] => Array ([0] => 1,[1] => 500,[2] => JLIB_UTIL_ERROR_CONNECT_DATABASE,[3] => ,[4] => 1)),[2] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 600,[function] => raiseError,[class] => JError,[type] => ::,[args] => Array ([0] => 500,[1] => JLIB_UTIL_ERROR_CONNECT_DATABASE)),[3] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 253,[function] => _createDbo,[class] => JFactory,[type] => ::,[args] => Array ()),[4] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\session\storage\database.php,[line] => 59,[function] => getDbo,[class] => JFactory,[type] => ::,[args] => Array ()),[5] => Array ([function] => read,[class] => JSessionStorageDatabase,[object] => JSessionStorageDatabase Object ([] => ,[] => Array ()),[type] => ->,[args] => Array ([0] => to059m6sb8a5drf74ktoo6c027)),[6] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\session\session.php,[line] => 462,[function] => session_start,[args] => Array ()),[7] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\session\session.php,[line] => 110,[function] => _start,[class] => JSession,[object] => JSession Object ([] => active,[] => 900,[] => JSessionStorageDatabase Object ([] => ,[] => Array ()),[] => Array ([0] => fix_browser),[] => ,[] => Array ()),[type] => ->,[args] => Array ()),[8] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\session\session.php,[line] => 148,[function] => __construct,[class] => JSession,[object] => JSession Object ([] => active,[] => 900,[] => JSessionStorageDatabase Object ([] => ,[] => Array ()),[] => Array ([0] => fix_browser),[] => ,[] => Array ()),[type] => ->,[args] => Array ([0] => database,[1] => Array ([name] => 96a350642a6b864c9b2d313e553cc1ef,[expire] => 900))),[9] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 559,[function] => getInstance,[class] => JSession,[type] => ::,[args] => Array ([0] => database,[1] => Array ([name] => 96a350642a6b864c9b2d313e553cc1ef,[expire] => 900))),[10] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 103,[function] => _createSession,[class] => JFactory,[type] => ::,[args] => Array ([0] => Array ([name] => 96a350642a6b864c9b2d313e553cc1ef))),[11] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\application\application.php,[line] => 924,[function] => getSession,[class] => JFactory,[type] => ::,[args] => Array ([0] => Array ([name] => 96a350642a6b864c9b2d313e553cc1ef))),[12] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\application\application.php,[line] => 115,[function] => _createSession,[class] => JApplication,[object] => JSite Object ([] => ,[] => ,[] => ,[] => 0,[] => Array (),[] => site,[scope] => ,[requestTime] => ,[startTime] => ,[] => Array ()),[type] => ->,[args] => Array ([0] => 96a350642a6b864c9b2d313e553cc1ef)),[13] => Array ([file] => C:\inetpub\wwwroot\joomla17\includes\application.php,[line] => 48,[function] => __construct,[class] => JApplication,[object] => JSite Object ([] => ,[] => ,[] => ,[] => 0,[] => Array (),[] => site,[scope] => ,[requestTime] => ,[startTime] => ,[] => Array ()),[type] => ->,[args] => Array ([0] => Array ([clientId] => 0))),[14] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\application\application.php,[line] => 154,[function] => __construct,[class] => JSite,[object] => JSite Object ([] => ,[] => ,[] => ,[] => 0,[] => Array (),[] => site,[scope] => ,[requestTime] => ,[startTime] => ,[] => Array ()),[type] => ->,[args] => Array ([0] => Array ())),[15] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 53,[function] => getInstance,[class] => JApplication,[type] => ::,[args] => Array ([0] => site,[1] => Array (),[2] => J)),[16] => Array ([file] => C:\inetpub\wwwroot\joomla17\index.php,[line] => 28,[function] => getApplication,[class] => JFactory,[type] => ::,[args] => Array ([0] => site))),[] => ,[] => Array ([0] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\error\error.php,[line] => 218,[function] => raise,[class] => JError,[type] => ::,[args] => Array ([0] => 1,[1] => 500,[2] => JLIB_UTIL_ERROR_CONNECT_DATABASE,[3] => ,[4] => 1)),[1] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 600,[function] => raiseError,[class] => JError,[type] => ::,[args] => Array ([0] => 500,[1] => JLIB_UTIL_ERROR_CONNECT_DATABASE)),[2] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 253,[function] => _createDbo,[class] => JFactory,[type] => ::,[args] => Array ()),[3] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\session\storage\database.php,[line] => 59,[function] => getDbo,[class] => JFactory,[type] => ::,[args] => Array ()),[4] => Array ([function] => read,[class] => JSessionStorageDatabase,[type] => ->,[args] => Array ([0] => to059m6sb8a5drf74ktoo6c027)),[5] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\session\session.php,[line] => 462,[function] => session_start,[args] => Array ()),[6] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\session\session.php,[line] => 110,[function] => _start,[class] => JSession,[type] => ->,[args] => Array ()),[7] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\session\session.php,[line] => 148,[function] => __construct,[class] => JSession,[type] => ->,[args] => Array ([0] => database,[1] => Array ([name] => 96a350642a6b864c9b2d313e553cc1ef,[expire] => 900))),[8] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 559,[function] => getInstance,[class] => JSession,[type] => ::,[args] => Array ([0] => database,[1] => Array ([name] => 96a350642a6b864c9b2d313e553cc1ef,[expire] => 900))),[9] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 103,[function] => _createSession,[class] => JFactory,[type] => ::,[args] => Array ([0] => Array ([name] => 96a350642a6b864c9b2d313e553cc1ef))),[10] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\application\application.php,[line] => 924,[function] => getSession,[class] => JFactory,[type] => ::,[args] => Array ([0] => Array ([name] => 96a350642a6b864c9b2d313e553cc1ef))),[11] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\application\application.php,[line] => 115,[function] => _createSession,[class] => JApplication,[type] => ->,[args] => Array ([0] => 96a350642a6b864c9b2d313e553cc1ef)),[12] => Array ([file] => C:\inetpub\wwwroot\joomla17\includes\application.php,[line] => 48,[function] => __construct,[class] => JApplication,[type] => ->,[args] => Array ([0] => Array ([clientId] => 0))),[13] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\application\application.php,[line] => 154,[function] => __construct,[class] => JSite,[type] => ->,[args] => Array ([0] => Array ())),[14] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 53,[function] => getInstance,[class] => JApplication,[type] => ::,[args] => Array ([0] => site,[1] => Array (),[2] => J)),[15] => Array ([file] => C:\inetpub\wwwroot\joomla17\index.php,[line] => 28,[function] => getApplication,[class] => JFactory,[type] => ::,[args] => Array ([0] => site)))))
#5 call_user_func(Array ([0] => JError,[1] => customErrorPage), JException Object ([] => 1,[] => 500,[] => JLIB_UTIL_ERROR_CONNECT_DATABASE,[] => ,[] => C:\inetpub\wwwroot\joomla17\libraries\joomla\error\error.php,[] => 148,[] => ,[] => ,[] => ,[] => ,[] => Array ([0] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\error\error.php,[line] => 148,[function] => __construct,[class] => JException,[object] => JException Object ( *RECURSION*,[type] => ->,[args] => Array ([0] => JLIB_UTIL_ERROR_CONNECT_DATABASE,[1] => 500,[2] => 1,[3] => ,[4] => 1)),[1] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\error\error.php,[line] => 218,[function] => raise,[class] => JError,[type] => ::,[args] => Array ([0] => 1,[1] => 500,[2] => JLIB_UTIL_ERROR_CONNECT_DATABASE,[3] => ,[4] => 1)),[2] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 600,[function] => raiseError,[class] => JError,[type] => ::,[args] => Array ([0] => 500,[1] => JLIB_UTIL_ERROR_CONNECT_DATABASE)),[3] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 253,[function] => _createDbo,[class] => JFactory,[type] => ::,[args] => Array ()),[4] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\session\storage\database.php,[line] => 59,[function] => getDbo,[class] => JFactory,[type] => ::,[args] => Array ()),[5] => Array ([function] => read,[class] => JSessionStorageDatabase,[object] => JSessionStorageDatabase Object ([] => ,[] => Array ()),[type] => ->,[args] => Array ([0] => to059m6sb8a5drf74ktoo6c027)),[6] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\session\session.php,[line] => 462,[function] => session_start,[args] => Array ()),[7] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\session\session.php,[line] => 110,[function] => _start,[class] => JSession,[object] => JSession Object ([] => active,[] => 900,[] => JSessionStorageDatabase Object ([] => ,[] => Array ()),[] => Array ([0] => fix_browser),[] => ,[] => Array ()),[type] => ->,[args] => Array ()),[8] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\session\session.php,[line] => 148,[function] => __construct,[class] => JSession,[object] => JSession Object ([] => active,[] => 900,[] => JSessionStorageDatabase Object ([] => ,[] => Array ()),[] => Array ([0] => fix_browser),[] => ,[] => Array ()),[type] => ->,[args] => Array ([0] => database,[1] => Array ([name] => 96a350642a6b864c9b2d313e553cc1ef,[expire] => 900))),[9] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 559,[function] => getInstance,[class] => JSession,[type] => ::,[args] => Array ([0] => database,[1] => Array ([name] => 96a350642a6b864c9b2d313e553cc1ef,[expire] => 900))),[10] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 103,[function] => _createSession,[class] => JFactory,[type] => ::,[args] => Array ([0] => Array ([name] => 96a350642a6b864c9b2d313e553cc1ef))),[11] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\application\application.php,[line] => 924,[function] => getSession,[class] => JFactory,[type] => ::,[args] => Array ([0] => Array ([name] => 96a350642a6b864c9b2d313e553cc1ef))),[12] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\application\application.php,[line] => 115,[function] => _createSession,[class] => JApplication,[object] => JSite Object ([] => ,[] => ,[] => ,[] => 0,[] => Array (),[] => site,[scope] => ,[requestTime] => ,[startTime] => ,[] => Array ()),[type] => ->,[args] => Array ([0] => 96a350642a6b864c9b2d313e553cc1ef)),[13] => Array ([file] => C:\inetpub\wwwroot\joomla17\includes\application.php,[line] => 48,[function] => __construct,[class] => JApplication,[object] => JSite Object ([] => ,[] => ,[] => ,[] => 0,[] => Array (),[] => site,[scope] => ,[requestTime] => ,[startTime] => ,[] => Array ()),[type] => ->,[args] => Array ([0] => Array ([clientId] => 0))),[14] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\application\application.php,[line] => 154,[function] => __construct,[class] => JSite,[object] => JSite Object ([] => ,[] => ,[] => ,[] => 0,[] => Array (),[] => site,[scope] => ,[requestTime] => ,[startTime] => ,[] => Array ()),[type] => ->,[args] => Array ([0] => Array ())),[15] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 53,[function] => getInstance,[class] => JApplication,[type] => ::,[args] => Array ([0] => site,[1] => Array (),[2] => J)),[16] => Array ([file] => C:\inetpub\wwwroot\joomla17\index.php,[line] => 28,[function] => getApplication,[class] => JFactory,[type] => ::,[args] => Array ([0] => site))),[] => ,[] => Array ([0] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\error\error.php,[line] => 218,[function] => raise,[class] => JError,[type] => ::,[args] => Array ([0] => 1,[1] => 500,[2] => JLIB_UTIL_ERROR_CONNECT_DATABASE,[3] => ,[4] => 1)),[1] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 600,[function] => raiseError,[class] => JError,[type] => ::,[args] => Array ([0] => 500,[1] => JLIB_UTIL_ERROR_CONNECT_DATABASE)),[2] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 253,[function] => _createDbo,[class] => JFactory,[type] => ::,[args] => Array ()),[3] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\session\storage\database.php,[line] => 59,[function] => getDbo,[class] => JFactory,[type] => ::,[args] => Array ()),[4] => Array ([function] => read,[class] => JSessionStorageDatabase,[type] => ->,[args] => Array ([0] => to059m6sb8a5drf74ktoo6c027)),[5] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\session\session.php,[line] => 462,[function] => session_start,[args] => Array ()),[6] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\session\session.php,[line] => 110,[function] => _start,[class] => JSession,[type] => ->,[args] => Array ()),[7] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\session\session.php,[line] => 148,[function] => __construct,[class] => JSession,[type] => ->,[args] => Array ([0] => database,[1] => Array ([name] => 96a350642a6b864c9b2d313e553cc1ef,[expire] => 900))),[8] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 559,[function] => getInstance,[class] => JSession,[type] => ::,[args] => Array ([0] => database,[1] => Array ([name] => 96a350642a6b864c9b2d313e553cc1ef,[expire] => 900))),[9] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 103,[function] => _createSession,[class] => JFactory,[type] => ::,[args] => Array ([0] => Array ([name] => 96a350642a6b864c9b2d313e553cc1ef))),[10] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\application\application.php,[line] => 924,[function] => getSession,[class] => JFactory,[type] => ::,[args] => Array ([0] => Array ([name] => 96a350642a6b864c9b2d313e553cc1ef))),[11] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\application\application.php,[line] => 115,[function] => _createSession,[class] => JApplication,[type] => ->,[args] => Array ([0] => 96a350642a6b864c9b2d313e553cc1ef)),[12] => Array ([file] => C:\inetpub\wwwroot\joomla17\includes\application.php,[line] => 48,[function] => __construct,[class] => JApplication,[type] => ->,[args] => Array ([0] => Array ([clientId] => 0))),[13] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\application\application.php,[line] => 154,[function] => __construct,[class] => JSite,[type] => ->,[args] => Array ([0] => Array ())),[14] => Array ([file] => C:\inetpub\wwwroot\joomla17\libraries\joomla\factory.php,[line] => 53,[function] => getInstance,[class] => JApplication,[type] => ::,[args] => Array ([0] => site,[1] => Array (),[2] => J)),[15] => Array ([file] => C:\inetpub\wwwroot\joomla17\index.php,[line] => 28,[function] => getApplication,[class] => JFactory,[type] => ::,[args] => Array ([0] => site))))) called at [C:\inetpub\wwwroot\joomla17\libraries\joomla\error\error.php:617]

jr3151006
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Oct 31, 2011 11:54 pm

Re: IIS 7 & Joomla 1.7 = 'Infinite loop detected in JError'

Post by jr3151006 » Tue Nov 01, 2011 3:55 pm

I found that the user prompted for dbconnection during install was not created in the MySQL.

jr3151006
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Oct 31, 2011 11:54 pm

Re: IIS 7 & Joomla 1.7 = 'Infinite loop detected in JError'

Post by jr3151006 » Tue Nov 01, 2011 5:22 pm

I downloaded the last version 1.7.2 from Joomla website (http://joomlacode.org/gf/download/frsre ... ackage.zip) and decompress to another folder, point my IIS website to it and:

- after open the webpage and follow the instruction (http://server/installation/) I realized that the CONFIGURATION.PHP was not created, so I copied from the old install (made by Microsoft Web Plataform).

salmidach
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Nov 02, 2011 1:13 pm

Re: IIS 7 & Joomla 1.7 = 'Infinite loop detected in JError'

Post by salmidach » Wed Nov 02, 2011 4:50 pm

I found this happened after I allowed chrome to save my password and then changed the password in Joomla.

worked in IE.

greallyqt
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Dec 06, 2011 3:53 am

Re: IIS 7 & Joomla 1.7 = 'Infinite loop detected in JError'

Post by greallyqt » Tue Dec 06, 2011 4:04 am

I am using godaddy.com and after two conversations with them and reading any post I can find I am back to ask this question.

I had my site designed in a subfolder when I updated my website to point to the sub folder the site was not working correctly, I moved the site back to the folder it was pointed to for some testing, and now my site is getting Infinite loop detected in JError. I did add the code to the error file to write out the details.

I have checked the configuration.php file and it looks like it is correct. I can point to another database and everything is fine but when I move it back to the correct database, same error. godaddy support tried to help but one they decided it was in joomla, they suggested I look here. I have tried to create a new database and import it in phpmyadmin and I keep getting errors there.

I am guessing this is an access issue in the database but am not sure how to correct this without making it worse.
You do not have the required permissions to view the files attached to this post.

stavroch
Joomla! Intern
Joomla! Intern
Posts: 97
Joined: Wed Feb 15, 2006 10:23 pm

Re: IIS 7 & Joomla 1.7 = 'Infinite loop detected in JError'

Post by stavroch » Mon Sep 30, 2013 3:19 pm

I have the same problem when I download the site to localhost. I use xampp.

How can I solve it?


Locked

Return to “Joomla! 2.5 on IIS webserver”