#1 2012-06-07 13:14:29

MartinK
Member
From: Tallinn
Registered: 2012-03-04
Posts: 30
Website

Admin login problem after importing database tables

I have a site which is made on a test server. Everything is working fine but after moving the site to the client server admin can't log in (no error message was displayed).

Installed another ionize on the client server everything was fine (admin login worked without problems) but after replacing the new installation's database tables with the previous one's tables (with the real data) I ran into the same problem again.

Has anybody had the same problem and what would be the best solution?

Last edited by MartinK (2012-06-07 13:15:31)


Ionize will rule the Internet one day!

Offline

#2 2012-06-08 15:04:58

MartinK
Member
From: Tallinn
Registered: 2012-03-04
Posts: 30
Website

Re: Admin login problem after importing database tables

by now I've found the solution.

I reinstalled Ionize, copied the theme and my previous database tables (with the actual content) all except the ones which were storing user-related data. Everything works fine now.


Ionize will rule the Internet one day!

Offline

#3 2012-09-08 09:06:23

ddenis
Member
Registered: 2012-06-22
Posts: 10

Re: Admin login problem after importing database tables

Hi MartinK,

we had exactly the same problem, as we moved our site from a windows testing server to a linux staging server. The problem was that on the windows machine the "mcrypt" library was installed, while on linux it was not. This means that when users where created on the windows machine they where cyphered with "mcrypt" while on the linux server, it couldn't verify that password, as it has no mcrypt installation. By the way, installing and enabling mcrypt resolved the problem.

By the way, here is the code that is responsible for it
https://github.com/ionize/ionize/blob/m … t.php#L202

Last edited by ddenis (2012-09-08 09:13:00)

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel , Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : www.ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Translations on GitHub