Share it

Bookmark and Share

Translate

Friday, August 12, 2011

0 Opencart-Admin session out problem

The Problem is Shared hosting and tmp directory
Solution:
The fix is to create your own session directory
open and edit /cart/system/library/session.php 
Add just before the
session_set_cookie_params(0, '/');

$garbage_timeout = 3600; // 3600 seconds = 60 minutes = 1 hour
ini_set('session.gc_maxlifetime', $garbage_timeout);
ini_set('session.save_path','/path/to/your/cart/create a directory/my_sessions');
Also change the new my_sessions directory to 777

0 comments:

Post a Comment

Thanks for your valuable Comment

 

TechnoTipworld- Tips,Tricks,Technology Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates