Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.
  • Page:
  • 1
  • 2

TOPIC:

Creation of new users fails in management dialogue 11 years 6 months ago #52

  • DZenker
  • DZenker's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Hi everybody,

I succesfully installed the most recent XOT version 2.0 (but, the readme.txt says 1.91??) on a public server, and so far, everything works fine. To prevent any misuse, I changed the authentification in auth_config.php from "guest" to "Db". Then, when I want to create a new user in the site administration, I always get the following error message:
Failed to add user: Error when adding user to the Db, do you have write permissions for MySQL?

The DB user has full access to the XOT database ("GRANT ALL ON xertedb.* TO ...'), thus insufficient rights cannot be cause of this error. I checked all relevant logs etc. but haven't found any error messages.

Any idea what is going wrong?

Thanks in advance for help,

greetings, Dietmar Zenker

Please Log in or Create an account to join the conversation.

Creation of new users fails in management dialogue 11 years 6 months ago #54

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
Can you let me know what verion you have exactly? (See version.txt)
There was a bug in the earlier 2.0 packages that prevented the user table to be created correctly.

Please Log in or Create an account to join the conversation.

Creation of new users fails in management dialogue 11 years 6 months ago #57

  • DZenker
  • DZenker's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Thanks for the quick reply.
It's the "xertetoolkits_2.0" which I downloaded this morning as zip from this site (last update 2013-05-15). The readme.txt says it's version 1.91, in the changelog file the last entry is "2013-05-15 14:07 ...".
I updated an older version I installed some days before (V 1.9 in the readme.txt) and replaced everything except the dirs USER-FILES, error_logs & import and the files database.php and auth_config.php.
I checked logging in the MySQL server and indeed, there is no table "users" in the XOT database (?).

I guess it would be recommended to install everything from scratch with a new fresh database, right?

Please Log in or Create an account to join the conversation.

Creation of new users fails in management dialogue 11 years 6 months ago #58

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
No, upgrading should work fine.
Can you try to login first (not going to management.php, but the normal website), and just enter a bogus login name and a bogus password.

Is the user table created now?

Are you able to add a table yourself, if I give you the SQL statement?

Please Log in or Create an account to join the conversation.

Creation of new users fails in management dialogue 11 years 6 months ago #59

  • DZenker
  • DZenker's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Bingo!
Login with a fake user fixed the problem: the user table exists now and I can add users in the administration.

Thank you very much for your immediate help,

Greetings, Dietmar!

Please Log in or Create an account to join the conversation.

Creation of new users fails in management dialogue 11 years 6 months ago #60

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
Ok. Good, I'll fix that issue.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: ronmjultenJohnSmith
Time to create page: 0.052 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search