Problem in login


I have an OJS site

I deleted my site and reinstalled it and imported old site database and files to new site

I have a problem. I can not login in my site. I used reset password, but it didn’t work.

Any user/pass don’t work

Can anyone help me?

First check your to see if the hashing mechanism is different than expected (md5 vs sha).

If this has not changed from the old configuration to the new configuration, what what the version of the old OJS instance? What is the version of the new install?

1 Like

I checked and in twice files (old and new) encryption = md5

Our old version was ojs-2_4_6-0
Our new website version is ojs-2_4_8-0

My site was down last week. So I deleted my site information. Then I installed new OJS version
and in cpanel, I imported old site database. After this step, I saw that I can not login to the
site. Also I replaced old site files and images in new sites.

I try to use reset password section. but it don’t work. I tested some users and passwords, but
they don’t work.

Did you remember to run the upgrade process after importing your database into the new version?

1 Like

Thank you

I didn’t do it

I changed “installed = On” to “installed = Off”

but how “Run the following command from the OJS directory (not including the $):
$ php tools/upgrade.php upgrade”

I don’t know how do it

i also cannot do that. what i do is after changed the installed=On to installed=Off.
got to the ojs site and there will be an upgrade option.

i upgrade from 2.2.4 to 2.4.8.
make sure you follow the instruction properly


Dear Mr. Graham and Dear Mr. Arshad

Thanks very much.

Problem solved

God bless you!