prita_cantik Posted January 14, 2012 Share Posted January 14, 2012 oke, sy berhasil instal presta shop. tp klo mau login ke admin panel, sy terus kembali ke hal login (redirect). jadi sy hanya bisa masuk (kadang2) pake link admin panel dari link presta shop yang diberikan di email. kalopun sy masuk, mau edit ini itu, sy hrs bolak balik login. kenapa bisa gitu? sy pake windows 7, dan mozilla. ada yg bisa nolongin??? thx Link to comment Share on other sites More sharing options...
jhonzz007 Posted January 19, 2012 Share Posted January 19, 2012 di cpanel coba di ubah sedikit coding nya di file Cookie.php terletak di: prestashop/classes/Cookie.php Langkah 1 di baris 65, coba cari coding seperti ini: $this->_expire = isset($expire) ? intval($expire) : (time() + 1728000); ubah nilai 1728000 menjadi 3600, jadinya seperti ini: $this->_expire = isset($expire) ? intval($expire) : (time() + 3600); Langkah 2 di baris 195, coba cari coding seperti ini: AND (!isset($this->_content['remote_addr']) OR $this->_content['remote_addr'] == ip2long(Tools::getRemoteAddr())) cukup tambahkan "//" (tanpa tanda kutip) persis di depan "AND" dan jadinya seperti ini: //AND (!isset($this->_content['remote_addr']) OR $this->_content['remote_addr'] == ip2long(Tools::getRemoteAddr())) di save dan coba reload browser sis.. Gud Luck Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now