Y'day i was moving my Joomla 1.7 local site on live server. Everything was going correct & when i opened my site i got this error "Infinite loop detected in JError". I haven't done anything wrong then why this error ocurred. Same thing i tried one more time but same problem.
I googled this error. Somewhere told that it was hosting problem so call hosting support & they will solve this problem & somewhere was go to such n such line number in Joomla folder n replace those lines with these n all. Somewhere told that you have entered wrong database either username, password or database name in configuration file, but i have entered correct database details & checked 10 times whether i did any mistake.
At last decided to write to hosting support team. It was not their problem then how are they going to solve it. While waiting reply from hosting i checked whether i assigned correct user to correct database. Opened Cpanel & assigned correctly & it worked hushhh....
Finally the coclusion is that if you are getting "Infinite loop detected in JError" error. Then just check whether you have assigned corret user to correct database. That was it. I am glad that i solved this error myself. I am sharing this through my blog cause i didn't get correct answer & i'll be happy if this help you.