How to fix JFolder::create: Infinite loop detected Joomla error when trying to install

Okay, got this Joomla error, when trying to install components to admin site

* JFolder::create: Infinite loop detected
* Warning! – Failed to move file

This error might be caused of the missed configurations or wrong path on your Path to Temp-folder and Path to Log folder in Global Configuration dashboard. So, here’s how to resolve this error.

First, navigate Site>>Global Configuration and under System tab check if the Path to Log Folder has the correct url settings, the url should be like below

joomla-tut3

Second, click on the Server tab and check the url and change it when isn’t correct like the url path below

joomla-tut2

And Save the changes that you made. Now try to install the extensions or plugin again. Hope this works.

How to add Color Theme option on J2.5 templates

In this tutorial i will explain on how to add color theme option on your joomla 2.5 templates by adding fields on template parameters.

In your templateDetails.xml, paste this codes

<fieldset name="COLOR">    <field name="theme" type="list" default="Default" label="Color Theme" description="Choose Color theme from list">
    <option value="default.css">Default</option>
    <option value="red.css">Red</option>
    <option value="blue.css">Blue</option>
    </field>
</fieldset>

And then on index.php file, you will need to call this param function, paste this codes at the top of your index.php page, inside the php

$templateparams = $app-&gt;getTemplate(true)-&gt;params;

and in order for the css code to function call it through adding this code inside the head tag

<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/colortheme/<?php echo $this->params->get( 'theme' ) ?>" type="text/css" />

Please note that you will need to add different color style on each css files that been added, for it to take an effect and to select the color theme, you have to login to your administrator and on template manager select your template and you must see the color theme option at the right side area.

Hope this helps.

Scroll To Top