Forum Replies Created
-
AuthorPosts
-
October 23, 2014 at 9:03 am in reply to: [UPDATE] Single event view not showing and other generally odd behaviour #829791
Amy Kiser
ParticipantThanks! Yeah, this matter is resolved. We’ll see what kind of trouble I get into, until the next thread…
April 2, 2014 at 3:24 pm in reply to: single event view not showing and other generally odd behaviour #127138Amy Kiser
ParticipantWhile looking into this I found a rewrite rule plugin for viewing rewrite rules.
It seems we’re definitely enforcing many rewrites that don’t jive with TEC 3.4. Here’s a link to a google spreadsheet with rewrite rule information:
https://docs.google.com/spreadsheet/ccc?key=0AimFTrQTBvdWdDExeTR2TVZNSmtyXzBUMmwyMFlEN2c&usp=sharingNot sure if you can provide any feedback from that alone, but sending it your way just in case. I’ll be working on this tomorrow (4/3) and will update with any progress.
Thanks!
March 27, 2014 at 12:52 pm in reply to: single event view not showing and other generally odd behaviour #123910Amy Kiser
ParticipantI just wanted to check in, I’ve had to switch focus to other items and will be revisiting this issue next week. I’ve seen previous discussions closed due to inactivity.
Thank you for mentioning rewrite rules and I understand there are no simple solutions. That being said, can you recommend any commonly known php files in which theme designers might add/modify rewrite rules?
I plan to dive into whatever documentation I can find regarding rewrite rules when I revisit this but any hints are appreciated.
Thanks!
March 20, 2014 at 11:34 am in reply to: single event view not showing and other generally odd behaviour #121576Amy Kiser
ParticipantI believe the version prior was 2.0.9:
2.0.9 -> 2.0.11 -> 3.1 -> 3.4
I’m not sure if there was a version prior to 2.0.9, that was the version we were on when I assumed control over this site.
Regarding the query, I’m using the Debug plugin which adds a “Debug” option on the top bar of the front end (when logged in) which shows REQUEST, QUERY STRING, MATCHED REWRITE RULE,MATCHED REWRITE QUERY.
Here’s the full output with our theme:
REQUEST:events/edible-garden-series-from-design-to-harvest-2
QUERY STRING:
name=edible-garden-series-from-design-to-harvest-2&category_name=events
MATCHED REWRITE QUERY:
(.+?)/([^/]+)(/[0-9]+)?/?$
MATCHED REWRITE QUERY:
category_name=events&name=edible-garden-series-from-design-to-harvest-2&page=
————————————–
Output without our theme:Request:
events/edible-garden-series-from-design-to-harvest-2
Query String:
tribe_events=edible-garden-series-from-design-to-harvest-2&post_type=tribe_events&name=edible-garden-series-from-design-to-harvest-2
Matched Rewrite Rule:
events/([^/]+)(/[0-9]+)?/?$
Matched Rewrite Query:
tribe_events=edible-garden-series-from-design-to-harvest-2&page=
March 19, 2014 at 3:59 pm in reply to: single event view not showing and other generally odd behaviour #121276Amy Kiser
ParticipantSorry for the spam, I figure it would be good to update since I’ve identified the issue.
As I suspected, our template isn’t constructing an appropriate query string:
With our template:
name=edible-garden-series-from-design-to-harvest-2&category_name=eventswithout:
tribe_events=edible-garden-series-from-design-to-harvest-2&post_type=tribe_events&name=edible-garden-series-from-design-to-harvest-2I plan to re-examine our template (which I didn’t write) to see if we’re over-writing a query somewhere. I’ve sent this message in case you have a recommendation for specific areas in our templates or wordpress I can look at.
March 19, 2014 at 3:40 pm in reply to: single event view not showing and other generally odd behaviour #121272Amy Kiser
ParticipantOne last thought, I’d love your feedback, do TEC plugin updates need to be incremental?
Either way, here was my upgrade path:
2.0.11 (last ver?) -> 3.1 -> 3.4
3.1 ->3.4 is when single event pages broke.Not sure if that was communicated properly in prior messages.
March 19, 2014 at 3:03 pm in reply to: single event view not showing and other generally odd behaviour #121265Amy Kiser
ParticipantThanks for your feedback. Disabling our theme THEN saving permalinks fixed the issue and /event urls work. Once I re-enable our theme single event pages break. I tried re-enabling the theme and saving permalink settings, but that didn’t make /events urls work with our theme active.
We do have an /events and /tribe-events folder in the theme folder, during this whole process I renamed them to /events-bak and /tribe-events-bak respectively. So as far as I understand, the site should be using templates included in the plugin folder.
So it seems this is theme related, but not customizing TEC theme but rather some part of page generation before the page gets assembled? This is what I’m debugging right now using the Debug plugin.
March 18, 2014 at 1:31 pm in reply to: single event view not showing and other generally odd behaviour #120840Amy Kiser
ParticipantThank you for your response, I disabled all other plugin save for TEC, TEC Pro, and WordPress Better Security (WPBS). Events started to show in the backend, so that’s probably a plugin conflict between TEC Pro and another plugin; however, event links still did not work.
I went ahead and disabled WPBS, which proceeded to break the calendar and site all-together. I kind of expected that, which is why this is all on the development server =)
But now event links don’t work for sure.So now I’m going to re-enable our theme and a few plugins to see if I can return this development site back into what it was; otherwise I’ll copy our live site and start from there. Once I get another setup going I plan to re-disable plugins and our theme and begin looking at the database and code base to identify the issue.
I should also note that I tried to clear the Filters & Columns controls in the Events tab as well as re-saving our page url construction settings.
will update with any findings…
-LorenzoAmy Kiser
Participant@Jonah
Where would I add the add_post_type_support code? Would it go in a functions.php file for the theme? Thanks for entertaining my naive question.
– David -
AuthorPosts
