21.gif

Search (advanced search)
Use this Search form before posting, asking or make a new thread.
Tips: Use Quotation mark to search words (eg. "How To Make Money Online")

10-16-2014, 06:20 PM
Post: #21
RE:
(10-08-2014 11:31 AM)goreB Wrote:  
(10-06-2014 06:38 PM)ozghelp Wrote:  Can't Login...

Login success but redirect Login Form again.
u need to apply the ekkator3fix.zip from Loomy or download voky version and replace the code yourself


there are 3 files to be fixed



application/controllers/install.php
application/views/install/install.php
system/libraries/Session.php

some sample found on the net.
on line 656 cut all function ( lines 661 to 724) and put this
Code:
* Write the session cookie
*
* @access public
* @return void
*/
function _set_cookie($cookie_data = NULL)
{
if (is_null($cookie_data))
{
$cookie_data = $this->userdata;
}

// Serialize the userdata for the cookie
$cookie_data = $this->_serialize($cookie_data);

if ($this->sess_encrypt_cookie == TRUE)
{
$cookie_data = $this->CI->encrypt->encode($cookie_data);
}

$cookie_data .= hash_hmac('sha1', $cookie_data, $this->encryption_key);

$expire = ($this->sess_expire_on_close === TRUE) ? 0 : $this->sess_expiration + time();

// Set the cookie
setcookie(
$this->sess_cookie_name,
$cookie_data,
$expire,
$this->cookie_path,
$this->cookie_domain,
$this->cookie_secure
);
}

and working!!!

after success login, there are many incomplete form page when you try to insert data. add the form that you desire or the simple method is to unselect the not null mysql.db field property.

[Image: ekk.jpg]

have fun
thanks bro... Working !!




8.gif