Error http 500 - User registration only with email notification enabled

On user registration receive http 500 error but only if email notification is enabled.

gettext is enabled on server.


Debug show this message.

I’ve cloned OJS folder and DATABASE to local server and all works fine.
Can’t figure out what the problem is.

Using OJS

Can anybody help?
Thank you so much.

Anybody help with this?

Thank you!!

Hi all,

See solution posted here:

@caparicio, it’s best to keep each issue to its own topic (and post only once), but if you do post in several places, please make sure to keep them up to date if you find a solution.

Alec Smecher
Public Knowledge Project Team

Hi @asmecher,

thank you for your reply, but this is not the same question.
The other one about saving new submission is already solved as you can see but this one regarding user regsitration error when email notification’s enabled still unsolved.
I know this error is similar but i can’t find solution for it.

Can you help with this?
Thank you so much

Hi @caparicio,

It looks like the same issue of a missing autoincrement designation on a column, but for a different table. This one looks like access_keys.

Alec Smecher
Public Knowledge Project Team

Hi @asmecher, thank you for your reply.

I’ve checked all tables to ensure that autoincrement is not missing on none of them, except those that don’t need it.
Acces_keys is one of the tables where user registration process write data?
I can see that this table have only 3 entries and do not seams to be user data.
Anyway access_key_id is set to autoincrement.

Any other ideia about this?


Hello again.

Ok, I’ve deleted access_keys table and rebuild it and now the problem is gone.

Thank you for kind help.

1 Like

This topic was automatically closed after 5 days. New replies are no longer allowed.