Posted: December 4, 2013 at 2:23 pm
|
Hi Guys, When I try to modify an event title, I get a database error. Here is the error. Is this a conflicting plugin? UPDATE |
|
Does it print an actual error message? This looks like it’s outputting what it’s trying to do without printing an actual error. It may help to know whether this is a WordPress multisite installation or a single site installation. If it’s multisite, is the Event Espresso plugin network activated or activated on a per site basis? It should be activated only on the sites that use it, not network activated. |
|
Hi Josh,
|
|
<pre class=”brush: sql; gutter: true; first-line: 1; highlight: []; html-script: false”>WordPress database error: [Unknown column 'ticket_id' in 'field list'] |
|
Hi Again Josh, <pre class=”brush: text; gutter: true; first-line: 1; highlight: []; html-script: false”>WordPress database error: [Unknown column 'ticket_id' in 'field list'] Do you want me to reinstall the plugin? and deactivate all add-on plugins? Cheerz |
|
Hi Kcray, The license wont make any difference at this point. The odd thing is, both those ‘errors’ posted, arn’t actual error’s they are the update SQL string that it is trying to run, so doesn’t actually show us anything. Is that the full message seen? Is WP_DEBUG enabled? |
|
Hi Tony, I’m not sure how to test if debug is set, but was working with previous version prior to upgrade. <pre class=”brush: text; gutter: true; first-line: 1; highlight: []; html-script: false”>You have the correct Site License Key for Event Espresso but your current membership access only allows for automatic upgrades on one domain. Please log into your account to manage your Site License Keys or purchase a support license now. Not sure if this is relevant. |
|
I checked my online account, and it says that the license is active, and that i have support, so not sure what the message about site license keys is about. Anyway, I think this may be a side issue as you suggested, lets stay focused on the upgrade and database errors. Would you like me to deactivate all plugins and reinstall the main plugin, eventespresso? |
|
Licensing errors will not make any difference currently :) Just to confirm the site is NOT part of a multisite network at all? (just strange that the license has error’d this quickly – usually caused by Multisite) Would you mind downloading a fresh copy of Event Espresso from the site and installing it manually? We have a guide posted here http://staging.eventespresso.com/wiki/updating-event-espresso/#update_manually which will guide you through. |
|
No Not multisite. Will download and reinstall. |
|
Interesting. An error occured while attempting to update the attendee meta. An error occured. No Attendee was received. Not sure if this is a function of the draft status of the event? Went back to plugins, showed it activated ok. Perhaps I should delete all plugins, start again from scratch. Thoughts? Cheerz |
|
There is this error though: [Unknown column ‘ticket_id’ in ‘field list’] Which could mean that the ticket_id column wasn’t created when the database setup scripts were run. Forcing a version number change (eg. updating from Event Espresso 3.1.36.P to 3.1.36.1.P) may help because the database scripts will run right after you update. When you update, please be sure to let the update scripts finish running. So if you notice that right after you update it takes a longer than usual amount of time to load up the admin, let it keep loading up. If you try to navigate to another page in the admin or try to refresh the page the database scripts may not be able to finish the job. |
|
update: deleting the plugins and reinstalling will not help in this case because the issue is within the database. Someone from support staff may need to trouble shoot this further. Can you send FTP credentials and temp admin WordPress credentials via this form so we can investigate further? |
|
Thanks. |
|
Successful reinstall. Still same missing field error. |
|
Hey guys, Not a great idea to return login credientials in the clear by public email. This creates a opportunity for a security breach. You might want to consider turning off the email Auto Reply. |
|
Sorry about that. I changed the notification settings for that form. |
|
I’m afraid I do not have what I need in order to force a database update. This is something that you will need to do: If you SSH in you go into the wp-content/plugins/event-espresso directory and open up espresso.php and change the version number on lines 9 and 34 so it becomes a slightly new version: 3.1.36.11.P Then save the file. You will trigger a database script run when you load up another page in the admin after that. You’ll know the script updater is running when that admin page takes a little longer to load up. |
|
Ok, I don’t have permissions at the moment, so will update as soon as I have. Thanks |
|
Hi Josh, Can you be a little clearer re: ” load up another page in the admin after that.” Did you mean create a new page in the wp admin ” I thought I did it, but still get the same error. Thanks |
|
I mean load up a page by visiting another page in the admin in your browser. I don’t think it’s a case of missing an interim revision. The way Event Espresso updates its tables is if there is a table column that’s missing, it adds it. It seems that something on your server is preventing the necessary database columns from being added. It almost seems like there was an older version of Event Espresso installed at one time and the way the server is configured now, Event Espresso isn’t able to add any new columns to what is already there. Is this a newer installation of Event Espresso, or was an older version of Event Espresso installed on there before? Can you check with your server admin and see if they might know a reason why PHP code that runs MySQL commands to create new table rows isn’t being executed? It may help to take a look at the server’s error logs. If you can make a backup of the wp_options table and the Event Espresso tables (they all have the word _events_ in their name) and email it to us we take take a look at the data for any additional clues. Our email address is support@eventespresso.com |
|
To answer your question, there was a previous version installed on the server before. It was a personal version with ticketing. You should have records of that. So some of the content has carried forward to the new version. the original email address was dgerrell@kellycodetectors.com Would this have caused the problem? |
|
I don’t think it would cause the problem, it’s more like another symptom. Another thing you might try is make a back up of the database, then delete all of the _events_ tables, and drop any options in the wp_options table that have the term “espresso” in the option name. This will in effect give you a clean slate to start with. However, if something else is preventing Event Espresso from creating any new tables, you’ll need to check with the server admin as to why it’s not allowing PHP to create new tables. Or check the server’s error logs. |
|
Hi Josh, After deleting the tables, I was able to successfully update the tables for the current version, so all appears to be working fine now. Thanks for your assistance, This ticket can now be closed! |
The support post ‘Can't change Event Title’ 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.