Support

Home Forums Event Espresso Premium An error occured. The primary attende's data could not be updated.

An error occured. The primary attende's data could not be updated.

Posted: January 15, 2013 at 9:37 am

Viewing 19 reply threads


Edouard Morrissette

January 15, 2013 at 9:37 am

Hi,
I just installed the event espresso plugin and i would like to know why wouldn’t a primary attendee’s data not be updated?

When a try to test registering for an event, clicking the submit button gives me the error message: “An error occured. The primary attende’s data could not be updated. ( add_attendees_to_db.php )”

The attendee is in fact added as a visitor to the event and i is registered with the printable ticket and all…

It seems that attendee’s can register to an event, but the “thank you” page return the afore mentionned error message instead…

Why?


Josh

  • Support Staff

January 15, 2013 at 10:50 am

Hi Edouard,

This might be a plugin or possibly even a theme conflict. Can you post a link to the registration page so we can investigate further?


Edouard Morrissette

January 15, 2013 at 11:00 am

Here it is: http://cybersavoir.csdm.qc.ca/rv2013/event-registration/?ee=1

or

this one: http://cybersavoir.csdm.qc.ca/rv2013/2013/01/15/formation-aides-technologiques/


Josh

  • Support Staff

January 15, 2013 at 11:12 am

Hi Edouard,

I would first try deactivating and reactivating Event Espresso.

Then, in the WP-Super-Cache advanced settings, you will need to add the event-registration, thank-you, and transactions pages to the “Do not cache” list. Then clear the cache. The registration pages should not be served as cached files.

Then if the issue persists, you can try deactivating all non-EE plugins, then test. Please let us know if that makes any difference.


Edouard Morrissette

January 15, 2013 at 11:15 am

OK, I’ll try that. I also had another issue, this one involving the espresso-services ticketing portion: i am unable to login using the iphone app “blog returned invalid date”. I posted the question yesterday and was told to replace
{$wpdb->prefix}events

with
{$wpdb->prefix}234_events

(234 being my blog ID)

Anything else that could be blocking this feature from logging in?


Josh

  • Support Staff

January 15, 2013 at 11:19 am

Hi Edouard,

The espresso-services files need to be in the same directory as the core WordPress installation. Also, the endpoint URL should be the same URL where these files reside.


Edouard Morrissette

January 15, 2013 at 12:41 pm

It seems that I am at a loss: neither problems seem to be solved. I give up. Maybe another day.


Edouard Morrissette

January 16, 2013 at 7:12 am

Hi,
this morning I’m very disappointed, neither problems are solved. I have a multisite wordpress with over 1200 members and 230 blogs, i can’t really deactivated all my plugins and reactivate them without some catastrophic effects… I installed the basic twenty ten theme on the blog http://cybersavoir.csdm.qc.ca/rv2013. I wonder if i give you the user and password for the admin dashboard, could you just check if my expresso settings are correct? I mean, i would hate to learn that i forgot to check a checkbox for everything to work, but it’s far less worse than learning that AFTER having dealt with a massive plugin deactivation-reactivation…

As per the espresso-services that returns an error, i could send you the files i modified as per you input and maybe you could check the code? I mean, it wasn’t meant for multisite, and i added “234_” in front of events but should i add it in front of attendees, too? Maybe i committed a syntax mistake in applying the “hack” you proposed?

Thanks.


Josh

  • Support Staff

January 16, 2013 at 8:15 am

Hi Edouard,

You don’t need to deactivate all the plugins across the network for every site, only the plugins that are activated on the site running Event Espresso. As an aside, Event Espresso should only be activated for the site you’re using it on, it should not be network activated. Deactivating other plugins is a common troubleshooting step that often leads to a solution.

With the ticketing app api, yes, if you do a global find and replace for {$wpdb->prefix}events, it will find and replace any instances of that string, including the events_detail and event_attendees tables. I’ve created a custom espresso-services folder for your blog with the ID of 234, you can download it here:

download link

You can unzip it and upload the espresso-services folder to the same location where WordPress is installed.


Edouard Morrissette

January 16, 2013 at 8:29 am

Thanks for the file, that’s s’well of you! I’ll give it a spin. As per the plugins, all plugins for this blogue are deactivated except event espresso and ticketing. Would you be so kind as to going in my dashboard and checking the Event espresso general settings, just to make sure that the payment page is well linked ? I did follow the instructions…

What bothers me is that the registration process doesn’t work. Go to: http://cybersavoir.csdm.qc.ca/rv2013/event-registration/?ee=1

Error message: An error occured. The primary attende’s data could not be updated. ( payment_page.php )

Then, when I open the event in the dashboard and list the attendees, they’re all there!

Why?

Furthermore: why can an attendee register TWICE for the same event? Shouldn’t there a message that says: you’re already registered?


Edouard Morrissette

January 16, 2013 at 9:02 am

As you can see, i replaced espresso-services: https://dl.dropbox.com/u/26582085/image001.png
I tried it and still: blog returned invalid data: can’t login

as per: https://eventespresso.com/wiki/espresso-ticketing/#services

Domain: cybersavoir.cdm.qc.ca — i tried cybersavoir.csdm.qc.ca/rv2013 with and without trailing slash…
Login ID: morrissettee (that ID is creator of blog 234 & Super Admin on the platform)

I mean, what do i do wrong?

Please help me ’cause i’m getting to the point of wanting to delete everything and ask for a refund. Not that the support service is bad, to the contrary, you’ve been great!

But maybe this plugin just wont work on our system…

Thanks


Josh

  • Support Staff

January 16, 2013 at 9:04 am

Hi Edouard,

As per the plugins, all plugins for this blogue are deactivated except event espresso and ticketing. Would you be so kind as to going in my dashboard and checking the Event espresso general settings, just to make sure that the payment page is well linked ? I did follow the instructions…

I don’t think this is a general settings issue. Can you try turning on debugging to see what error messages you get when you hit the register button? There is a suggested method to turn on debugging for one multisite blog posted in the .org forums here:

http://wordpress.org/support/topic/debugging-multisite-blogs

Furthermore: why can an attendee register TWICE for the same event? Shouldn’t there a message that says: you’re already registered?

There isn’t a feature in Event Espresso that restricts people from registering for the same event multiple times.


Edouard Morrissette

January 16, 2013 at 9:54 am

ok, here’s the debug info:

Inscription
Notice: Undefined index: price_id in /var/www/html/wp-content/plugins/event-espresso/includes/process-registration/add_attendees_to_db.php on line 144 Notice: Undefined index: price_id in /var/www/html/wp-content/plugins/event-espresso/includes/process-registration/add_attendees_to_db.php on line 149 Notice: Trying to get property of non-object in /var/www/html/wp-content/plugins/event-espresso/includes/process-registration/add_attendees_to_db.php on line 152 Notice: Trying to get property of non-object in /var/www/html/wp-content/plugins/event-espresso/includes/process-registration/add_attendees_to_db.php on line 152 Notice: Trying to get property of non-object in /var/www/html/wp-content/plugins/event-espresso/includes/process-registration/add_attendees_to_db.php on line 152 Notice: Trying to get property of non-object in /var/www/html/wp-content/plugins/event-espresso/includes/process-registration/add_attendees_to_db.php on line 153

An error occured. The primary attende’s data could not be updated. ( payment_page.php )

Hope it helps…


Josh

  • Support Staff

January 16, 2013 at 12:12 pm

It might help. Can you try changing the Price name in the event editor? I realize it’s a free event, but something with the event price doesn’t seem right here.


Edouard Morrissette

January 16, 2013 at 12:44 pm

It did change the price, i put in 1.00$ but still same error.

On another machine, we tried creating a fresh installation of WordPress (in a VR) and installed espresso services. Everything worked flawlessly, except for the ticketing app on iphone connecting but not finding any events. Probably just a glitch, but it’s to show that maybe we should try to completely start afresh on Cybersavoir.csdm.qc.ca wth a new blog and redownloading all the event espresso folders from my account page….

What would be a safe way to ensure complete and utter deletion of any data related to Event espresso?

I think we should:
1) delete the blog 234
2) deleting all the espresso plugins files on the server, thus deactivating all espresso plugins
2) deleting (but safekeeping) espresso-services folder you modified, replacing the234 number with the new blog number
3) deleting all dB starting with events in the name …

Did i miss something?

Do you think it’s ise, or should you have a way to fix this another way?


Josh

  • Support Staff

January 16, 2013 at 1:07 pm

I would deactivate the Event Espresso plugins first, then delete. This way, any plugin settings stored in the wp_options table will be recorded as a deactivated state.


Edouard Morrissette

January 16, 2013 at 2:26 pm

OK so we reinstalled everything. I mean, deleted databases and all. I created a test event and registered to it, got same error:

An error occured. The primary attende’s data could not be updated. ( payment_page.php )

I’ll try again tomorrow.


Josh

  • Support Staff

January 17, 2013 at 8:27 am

Hi Edouard,

Can you post a link to the new event registration page so I can take a look?


Edouard Morrissette

January 17, 2013 at 8:41 am

There: http://cybersavoir.csdm.qc.ca/rendez-vous/event-registration/?ee=8


Josh

  • Support Staff

January 17, 2013 at 10:02 am

Hi Edouard,

From viewing the source of this page, it looks like there are several other plugins loading their scripts. Have you been able to determine whether this happens if all the other plugins are disabled on this site?

Viewing 19 reply threads

The support post ‘An error occured. The primary attende's data could not be updated.’ 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