I am new user of OJS. I am trying installation OJS in my Desk Top computer,
Operating system : Windows 7 Ultimate Service Pack 1
Processor: Intel (R) Core (TN)2 Duo
System type: 32 But Operating System
I am using
I am getting error at http://localhost/ojs/index.php/index/install/install
DB Error: Duplicate entry ‘admin’ for key ‘users_username’
Please note that run http://localhost/ojs/index.php/index/install but second install is come automatically, you may check http://localhost/ojs/index.php/index/install/install
Please advise how I can fix this error.
Ph +92 300 929 7089
Hmmm… It seems like there is already an admin user in your OJS database. Could you take a look in your database table users? Did you maybe try to do the installation several times i.e. could it be that first something went wrong? Maybe you should drop that database, create a new one and start a clean installation again?
Yes, I understand that there is already an admin user in your OJS database
but how I can remove it? I tried many time to install,
I drop the database start a clean installation but still having same problem
Hmmm… I have no idea how is then this possible :-\
The admin user is created and inserted in this function pkp-lib/PKPInstall.inc.php at ojs-3_0_2-0 · pkp/pkp-lib · GitHub that is called here ojs/install.xml at ojs-3_0_2-0 · pkp/ojs · GitHub.
And this happens only once…
Do you create the empty DB for OJS before the installation start or do you let the OJS create the DB?