Joomla security issue on free hosting

I moved a Joomla 1.5 site to free hosting site. I got a security error.

I contacted the hosting company and they sent me to a link to fix it. I added “@” before these three lines in the Libraries >> Joomla >> Sessions folder sessions.php file.

// You find these first two around line 105
//set default sessios save handler
@ini_set(‘session.save_handler’, ‘files’);

//disable transparent sid support
@ini_set(‘session.use_trans_sid’, ‘0’);

//This one is on around line 685
//sync the session maxlifetime
@ini_set(‘session.gc_maxlifetime’, $this->_expire);

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *