#cookie #joomla #php

Joomla 2.5.* – Can’t Login to backend

If you can’t login to Administration Panel of a Joomla 2.5.* site, try setting above in You configuration.php : public $cookie_domain = ''; public $cookie_path = ''; Quick fix for the directories permissions: chmod 755 administrator language/overrides language/en-GB libraries cache administrator/cache modules media plugins templates tmp logs images components administrator administrator/language/en-GB administrator/language/overrides administrator/manifests/files administrator/components administrator/language administrator/manifests/packages administrator/manifests/libraries administrator/modules administrator/templates

#joomla #migration

Joomla – migration from 1.5 to 2.5

Joomla migration Unfortunately Joomla upgrade is not automatic in any way. So if you are trying to update you Joomla version from the last LTS (1.5) release to the current LTS (2.5) prepare for trouble. Many framework changes in Joomla! like nested categories and new ACL system make the migration very painfull, for a complicated Joomla installation. Semi – Automatic migration with JUpgrade First of all upgrade to the latest Joomla 1. ...

#joomla #php

Joomla get POST data from form using jinput

As from Joomla! 1.5 retrieving POST data through JRequest::getVar('var_name'); or JRequest::get('post'); is deprecated. The new approach to get the whole $_POST array : $input = JFactory::getApplication()-input; $post_array = $input-getArray($_POST); Retrieving single value from $_POST: $input = JFactory::getApplication()-input; $my_val = $jinput-get('my_val'); The Jinput class provides the capability of filtering data. Avaible filters are: INT, INTEGER – Matches the first, signed integer value. UINT – Matches the first unsigned integer value. FLOAT, DOUBLE – Matches the first floating point number. ...