Support

Home Forums Event Espresso Premium Registration Errors (6)

Registration Errors (6)

Posted: March 18, 2019 at 11:39 am

Viewing 10 reply threads


Team218

March 18, 2019 at 11:39 am

Getting these in WP Debug log:

[18-Mar-2019 17:24:47 UTC] PHP Warning: session_start(): open(/var/cpanel/php/sessions/imh-php72/sess_29c5a5285a7192793b3f9c23c79de472, O_RDWR) failed: No such file or directory (2) in /home/csaofia/public_html/wp-content/plugins/event-espresso-core-reg/core/services/session/SessionStartHandler.php on line 65
[18-Mar-2019 17:24:47 UTC] PHP Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/imh-php72) in /home/csaofia/public_html/wp-content/plugins/event-espresso-core-reg/core/services/session/SessionStartHandler.php on line 65

Also error during registration about taking too long…


Tony

  • Support Staff

March 18, 2019 at 11:56 am

Hi there,

Usually, those error means your site does not have the correct permissions to read.write sessions,

I’d recommend you open a support ticket with your host and have them investigate this further.

Also error during registration about taking too long…

This is likely related to the above so fix the sessions issue and then we can troubleshoot this further if needed.


Josh

  • Support Staff

March 18, 2019 at 11:59 am

Also, your support token form included this comment:

I have clients saying they are getting errors during registration.

May I ask exactly what error messages are they getting?


Team218

March 18, 2019 at 12:13 pm

I’m trying to pry that information out of the client.


Team218

March 18, 2019 at 12:14 pm

I did open a support ticket with my hosting provider and they indicated that it was a EE issue.


Tony

  • Support Staff

March 18, 2019 at 12:20 pm

I did open a support ticket with my hosting provider and they indicated that it was a EE issue.

Did you include the warning above in your ticket to them?

The function throwing the above warning is session_start() which is nothing to do with EE at all, it’s a PHP core function that EE is attempting to use. EE is simply attempting to use a core PHP function and it appears your server is not configured to handle sessions, I’m not how that’s an EE issue.

Does the host not support PHP Sessions?


Team218

March 18, 2019 at 12:27 pm

I have another support ticket in progress with them.


Team218

March 18, 2019 at 2:48 pm

Ok, I think I have the problem resolved. I had set the save.session.path to a tmp folder in PHP.ini but apparently there was a setting for the same thing in a USER.ini file that was overriding it. I think the errors in the debug.log file are cleared up now. I will monitor registrations to see if the “failed registrations” continue.


Josh

  • Support Staff

March 18, 2019 at 3:01 pm

One thing to keep in mind about any potential errors with that site is it has the WP User Integration add-on.

One potential error message they’ll see at checkout will say something to the effect of “An error has occurred: You have entered an email address that matches an existing user account in our system…”, followed by a Login button. This is an error message that’s expected to happen if they already have a user account, but have not logged in yet. If they log in to the site they’ll be able to proceed.


Team218

March 18, 2019 at 3:32 pm

I may end up disabling that add-on. I have tested it and it’s confusing as they move away from the registration page to login. Personally I’d rather not see an error and just programmatically handle that situation.


Josh

  • Support Staff

March 18, 2019 at 4:32 pm

If they click the Login button it should not move them away from the page (it should open a modal).

In any case, you can disable that check with either of these two code snippets:

https://gist.github.com/joshfeck/1131145859a3fab58f4d

The former skips the check against the email address if the user is logged out, and the latter skips the check for everyone.

Viewing 10 reply threads

The support post ‘Registration Errors (6)’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso