Home › Forums › Ticket Products › Event Tickets Plus › Editing Ticket
- This topic has 8 replies, 2 voices, and was last updated 10 years, 1 month ago by
Cliff.
-
AuthorPosts
-
March 19, 2016 at 4:05 am #1091285
Gary
ParticipantI cannot edit tickets for events that are currently live.
According to my access log:
Got error ‘PHP message: PHP Fatal error: Class ‘WPSC_Product’ not found in /jaxrestaurant-www/wp-content/plugins/theeventscalendar.compu_request_pluginevent-tickets-plusversion4.1pu_get_download1pue_active_version4.0-Lr04Nu/src/Tribe/Commerce/WPEC/Main.php on line 623\n’Also, when looking at the console in chrome -> developer tools I see
POST https://www.jaxrestaurantreviews.com/wp-admin/admin-ajax.php 500 (Internal Server Error)send @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,utils,plupload&ver=4.4.2:5m.extend.ajax @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,utils,plupload&ver=4.4.2:5m.(anonymous function) @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,utils,plupload&ver=4.4.2:5(anonymous function) @ tickets.js?ver=4.1:432m.event.dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,utils,plupload&ver=4.4.2:4r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,utils,plupload&ver=4.4.2:4March 19, 2016 at 4:16 am #1091288Gary
Participanterror log obviously…not access log.
Perhaps related?
I have a stylesheet that TEC is enqueueing that is being blocked due to a mixed content warning:
Mixed Content: The page at ‘https://www.jaxrestaurantreviews.com/wp-admin/post.php?post=8187&action=edit’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css?ver=4.4.2’. This request has been blocked; the content must be served over HTTPS.When I force the edit event page to load over non-https: I still get the 500 error listed above.
March 21, 2016 at 8:14 am #1091785Cliff
MemberHi Gary. Thanks for your detailed questions.
I see you’re using Event Tickets Plus with WP e-Commerce.
Let’s take it one step at a time.
First, I see you experienced the updater bug we had in place for 1 day. Your folder name should be manually changed from
theeventscalendar.compu_request_pluginevent-tickets-plusversion4.1pu_get_download1pue_active_version4.0-Lr04Nutoevent-tickets-plusDepending on what other Modern Tribe plugins you have installed, you might need to do that for other folder names as well. Here’s a screenshot of all the correct plugin folder names: http://cl.ly/0n2d3z3W3q3T
===
Related: please make sure you have the latest versions of all our plugins.
===
Next, your
http://ajax.googleapis.com...script source should behttps://ajax.googleapis.com...Whatever theme or plugin code is adding that script is where this problem should be corrected, not the URL in the browser forcing to load HTTP instead of HTTPS.
===
Please let me know how things go for you!
March 21, 2016 at 9:46 am #1091866Gary
ParticipantThanks Cliff,
I’m actually using ETP with EDD, not Woo.
I changed the plugin folder names and verified I am at the current versions. However, when I click edit it still doesn’t allow me to edit. I have a secondary site also running TEC and EDD and I am experiencing the same problems there (that site is not as heavily trafficked and I didn’t think to check that out when I encountered this issue).
I’m having some major site slowdowns in general for cache-misses (5-6 second page load) so I’ve asked my host to help me profile where the slowdown is.
I assumed that the smoothness jquery css file was something from your plugins as I was not getting the mixed content issue before the last update.
March 21, 2016 at 9:50 am #1091870Gary
ParticipantTo be more specific. After renaming the plugin directories I’m still getting the WPSC_Product Class error:
Mar 21 16:48:59 192.168.205.226 apache2[29277]: [u789] [jaxrestaurant.onpressidium.com] [50.196.104.195] [Mon Mar 21 16:48:59 2016] [error] [pid 29277] mod_proxy_fcgi.c(666): [client 192.168.205.222:52816] AH01071: Got error ‘PHP message: PHP Fatal error: Class ‘WPSC_Product’ not found in /jaxrestaurant-www/wp-content/plugins/events-tickets-plus/src/Tribe/Commerce/WPEC/Main.php on line 623\n’
March 21, 2016 at 10:10 am #1091894Gary
ParticipantAnd digging in a little more…
since I’m using EDD and not Woo or WPEC, should the code at line 623 in the ETP plugin folder /src/Tribe/Commerce/WPEC/Main.php even be executing?It looks like the /src/Tribe/Commerce/Loader.php does a test in the construct to see if each of 4 storefronts can be used.
I commented out everything but EDD and still had the same error.-
This reply was modified 10 years, 1 month ago by
Gary.
March 22, 2016 at 4:10 am #1092235Cliff
MemberThanks for the info, Gary.
I asked one of our developers and they weren’t able to replicate this. As such, please follow our Testing for Conflicts Guide — including renaming your ‘mu-plugins’ folder to deactivate any of those plugins if they exist — and see if that helps narrow down the cause of this.
Let us know what you find out.
Thanks.
March 22, 2016 at 6:10 am #1092283Gary
ParticipantThanks Cliff,
I created a staging site and disabled all plugins and went to the 2015 theme.
That worked, so…as I added components back in it is indeed my theme.What I found was in my theme>function.php I had a function I had pulled from the forums here to move the purchase form location.
The function contained an array of the 4 ETP ecom classes.
So, I commented out the 3 I didn’t need (actually shopp was already commented out) and things started working as expected again.March 22, 2016 at 10:38 am #1092491 -
This reply was modified 10 years, 1 month ago by
-
AuthorPosts
- The topic ‘Editing Ticket’ is closed to new replies.
