Ah, yes, you’re using a 32-bit version of PHP; you’re running in to this problem here. We can tell by the ID for the ticket iframe being 2147483647 instead of the event’s actual ID of 19512467315.
The best thing to do is just ask your hosting provider to switch to 64-bit PHP (note that this is the PHP install, not the operating system; some hosts still run 32-bit PHP on 64-bit OSs for some reason). There’s also an article on what to do if you absolutely need to stay on 32-bit.
Thread Starter
thepdw
(@thepdw)
Thanks so much for getting back with me. I had godaddy update PHP but it’s still not displaying properly. Do I need to create a new API key?
I would uninstall and reinstall the Eventbrite plugin to make sure that all database and caching are completely cleared; then you should be good to go, if your hosting plan is now 64-bit PHP (on a 64-bit OS).
Thread Starter
thepdw
(@thepdw)
OK, I tried uninstalling both the eventbrite plugin and keyring and I even tried creating a new API key. Nothing seems to work >_<
I am on economy linux hosting on godaddy so maybe that’s not 64-bit PHP? I am under the impression that it is though since that’s what the godaddy support seemed to be saying when I asked them to upgrade.
Hi thepdw,
Did they confirm to you that you are running 64-bit PHP, also on a 64-bit OS? I couldn’t see any additional details for that plan, but it’s kind of hard to imagine hosting (even inexpensive hosting) not running all 64-bit across the board (but we still see it). As long as the event is showing that ID of 2147483647, something is 32-bit (PHP or OS).
If you’re attached to your plan as-is, someone also wrote up how you can keep using 32-bit PHP if you need to: http://wvega.com/850/getting-eventbrite-api-wordpress-plugin-to-work-on-systems-with-32-bit-builds-of-php/
Hi thepdw, any resolution to this?
Thread Starter
thepdw
(@thepdw)
Hi Automattic, not yet. I haven’t had a chance to talk to GoDaddy yet but I shall in the near future. I will let you know.
I’m having the same problem and I’ll open my own ticket if necessary… But I have a question. If the event ID is incorrect because of the PHP 32-bit limitation, how is it that the correct event title is displayed?
Dave
Hi Dave,
The API returns an array of events, which the plugin then displays; at that point, the ID is not yet important. It’s when we try to use that ID (for example, when outputting the ticket info) that we get the issue.
Thread Starter
thepdw
(@thepdw)
I talked to godaddy and apparently we are on a 32-bit plan. I guess I’ll try the 32-bit workaround though I’m intimidated by all that code. It looks complicated!
The listing shows up fine at https://www.mbbanyc.org/ but clicks to individual events result in a 404 error. I’ve looked through other messages and have tried various solutions, but can’t get this to work on GoDaddy live host (full site uses SSL). On my dev site at BlueHost (http://www.tworiversystems.com/mbba/ – no SSL), it works like a charm. Here are the issues I’ve tried to work through: I’ve changed GoDaddy php to 5.4.19; rewrite rules show Eventbrite 2nd from top; SSL is used sitewide at GoDaddy; created a new page, assigning Eventbrite template to page, but no change. I have phpinfo.php installed in root directory, if that helps. (Not sure what the permissions change on *.php refers to.)
forgot to say – using child theme of twentythirteen
both links should be followed with /eventbrite
Hi thepdw, you’re right, it is pretty complicated – but currently the only option if you can’t just move to a 64-bit hosting plan :/
Hi pakison, yes, you’re in the same boat as thepdw, you’re on a 64-bit OS, but have a 32-bit version of PHP installed (hence the IDs are incorrect in the URL, and 404’ing). Your best option is to have your hosting correct the PHP version, otherwise, the article mentioned above to thepdw. Please start a new thread if you want to follow up on any issues, I’ll be closing this one.