havok89 / Hoosk

Hoosk Codeigniter CMS
http://hoosk.org
Other
128 stars 87 forks source link

Can't login to admin page #34

Closed milstrike closed 7 years ago

milstrike commented 7 years ago

I have successfully installed hoosk on my server. No problems happened, I can login to the admin page.

However, after I moved it to another server (with the same specs), I can not login to the admin page. There are no error messages, but can not log in to the admin page. If you use the wrong username / password, then an error message appears.

I've tried various things, including deleting the value in $ config ["cookie_domain"], truncate the session table, but still nothing changes.

is it any idea for this..?

havok89 commented 7 years ago

When it doesnt give an error message at the log in page and you know the details are correct it is because it isnt creating the correct cookie to allow you to log in, no error message is being shown because the database values are correct.

When you have moved server is the URL still the same or has it changed? it sounds like an issue with the config file.

milstrike commented 7 years ago

the URL changed..,

when moving to another server, I change the URL. then I reconfigure the config.php file in the root directory.

I read some issues here, and there are some tricks, but after I try, it still does not work.

Current Server information: PHP 5.6 Apache 2.4

Then I tried to install it on the server with PHP 5.4. The same error also occurs, but after clear the value in $ config ["cookie_domain"], everything works fine!. I can login into the admin page.

milstrike commented 7 years ago

Thanks for the help.., I can login to admin page now...