catogory pages – page not found

Home Forums Calendar Products Events Calendar PRO catogory pages – page not found

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #67654
    aurelio
    Participant

    Hi guys
    recently I had to change my ‘default events page’ code to the below to fix some issues I was having with my theme and allow widgets to display correctly. the code is below:
    [code]
    if ( !defined(‘ABSPATH’) ) { die(‘-1’); } ?>

    <!– /.col.grid_12_of_12.tribe-events-template –>
    <!– /#primary.site-content.row –>

    [/code]

    my problem now is that when I click on one of the event category buttons (provided by 3rd party plugin) I get a dead link. I have confirmed that the php changes made to the default-template.php in my child them are the cause, because when I revert back to another template it works ok..

    can someone help? thanks!

    #67657
    aurelio
    Participant

    argh! I don’t know how to paste the code.. try here instead: http://pastebin.com/hzN2TEn6

    #67917
    Rob
    Member

    Hey aurelio. We can definitely try to help you out here as best we can; but do you have a link where we can check this out in action? The code you provided is helpful but a link would be the best path to a diagnosis.

    Send that over and we’ll do our best to get you a response in as timely a fashion as possible. Thanks for your patience so far!

    #67950
    aurelio
    Participant

    This reply is private.

    #68142
    aurelio
    Participant

    I have also noticed the problem is not limited to categories.. it also happens when I click on a tag name

    IE sitname.com/tag/xyz and sitname.com/category/abc both bring me to dead links

    #68186
    Barry
    Member

    Hi Aurelio,

    I can indeed see that and don’t believe it is due to or limited to the buttons generated by The Events Calendar Category Colors (if that’s what you were referring to when you mentioned event category buttons provided by a 3rd party plugin) simply because following a category link, or as you pointed out a tag link, from single event pages results in the same problem.

    I have confirmed that the php changes made to the default-template.php in my child them are the cause, because when I revert back to another template it works ok.

    I don’t see any glaringly obvious issues with your code; can you clarify though if removing your customizations – so that it is the original Default Events Template – resolves this? Or do you just mean that the problem disappears if you switch to, for example, the Default Page Template?

    If so is there some reason you can’t use the Default Page Template? Thanks for clarifying!

    #68206
    aurelio
    Participant

    ive deleted my custom default-template.php from my child theme, and I still get the dead links with the default events template selected

    if I switch over to default page template everything is ok

    the reason for the modification of the code for the default events template in my child theme was to register widget areas on the page

    #68229
    Barry
    Member

    Right – and is this specific to your theme? If for instance you switch to a default, unmodified theme such as Twenty Twelve and set up a default events template do you find the same problem occurs?

    If it does not that suggests a conflict with your theme; if it does could you continue to deactivate all other plugins (ie, those not made by Modern Tribe) and test again in case there is a conflict with one of your other plugins?

    Thanks!

    #68233
    aurelio
    Participant

    I have tried switching to twenty twelve and deactivating all plugins but events calander and pro addon but still get the same result :/

    #68285
    Barry
    Member

    OK, that’s unfortunate but there are two more things we might try here.

    1) Flush the permalinks – this can be done simply by visiting the Settings → Permalinks admin screen, you don’t actually have to change anything or hit the save button.

    2) Deactivating a plugin doesn’t necessarily remove all it’s effects – caching plugins are a great example of this whereby in many circumstances cached pages can still be served after the plugin has been deactivated. I wonder if it would be possible for you to install a new instance of WordPress in a sub-directory in the same hosting environment and activate only our plugins and see if this problem still occurs. If it does, that rather suggests we may be looking at an environmental issue (and it would then be great if you could summarize what sort of hosting package you are using).

    Thanks!

    #68327
    aurelio
    Participant

    ok I think I may have made some headway.. after looking at another post on this forum: https://tri.be/support/forums/topic/category-conflict/
    I took have the permalink structure: /%category%/%postname%
    Upon setting the permalink structure to default I can now see my category pages by viewing an event and clicking the category link. (though the Events Calendar Category Colors legend I use brings me to a dead link…but one problem at a time :P)

    The problem is I cannot change permalink structure, my site is pretty much based around it and thus I need to keep it /%category%/%postname%

    any ideas!?

    #68396
    Kelly
    Participant

    Hi, aurelio. Thanks for the further explanation.

    It sounds like the issue you’re running into is that TEC uses a separate taxonomy for Categories. (TEC tags are parts of the site-wide taxonomy, but categories are not.) Right now, there is no way to change the URL beyond the fields in TEC Settings.

    I’m sorry that I don’t have better news for you. Is there anything else we can help you with?

    #68486
    aurelio
    Participant

    i dont know how, but after the 3.1 update that was just released the category and tag links work!! i am still using /%category%/%postname% still too
    😀

    #68511
    Barry
    Member

    Excellent! Well in that case we’ll go ahead and close this 🙂

    If there’s anything else we can help with definitely feel free to create new threads as needed.

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘catogory pages – page not found’ is closed to new replies.