The photo view list does not appear since the last upgrade (3.12)

Home Forums Calendar Products Events Calendar PRO The photo view list does not appear since the last upgrade (3.12)

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1003555
    Cristina
    Participant

    I’ve just transferred my website to a new server.

    Then I’ve saved the permalinks.
    After that, I upgraded CAL and Cal PRO to the new releases 3.12.

    Since that change, the photo view option for the events page gives an empty article page with a small photo on it.
    The other two page views I chose, list view and month view, are fine luckily.
    You can try yourself at genovacultura.eu/eventi.

    On the old server with the previous releases the photo view is fine.
    May you help me?
    Thanks.
    Regards,
    Cristina

    #1003898
    Nico
    Member

    Howdy Cristina,

    Welcome to our support forums and thanks for reaching out to us. Sorry to hear about this issue with Photo view. I’ll help you out getting this right again.

    Made a little test in your site and I can see this is a permalink issue, I can see the photo view working here: http://genovacultura.eu/eventi/photo/. You seem to have a post which permalink is ‘foto’ -http://genovacultura.eu/archivio-stampa-2013/foto/. Can you please change the permalink for that and test again?

    Please let me know if that fixes the issue,
    Best,
    Nico

    #1004103
    Cristina
    Participant

    Hi, Nico.
    I changed the permalink for that post, now the photo view shows another post which permalink begins with the word “foto”: http://genovacultura.eu/evento/fotografando-1-fotocamera-e-obiettivo/.
    It seems CAL PRO makes confusion betweenn the two words: italian “foto” and english “photo”.
    It’s near to impossibile I have no permalink without the word “foto” somewhere because I have several events about photography.
    Before last upgrade to 3.12 all was correct as you can see here: nu1.us/gcult/eventi, and the photo view uses the word “foto” and not “photo”.
    I’m waiting for your reply.
    Thanks again for your help.
    Best,
    Cristina

    #1004414
    Nico
    Member

    Hi Cristina,

    Thanks for following up on this! Apparently you are right in your theory.

    To make this right for now you can add this snippet to your theme’s functions.php file – located at wp-content/themes/your_theme/:


    add_filter( 'tribe_get_photo_view_permalink', 'fix_foto_permalink' );

    function fix_foto_permalink ( $link ) {
    return str_replace ( 'foto' , 'photo' , $link );
    }

    It should replace the ‘foto’ in the URL with ‘photo’, so it at least fix the strange behavior in the site.

    Also have you tried re-saving permalinks settings in WordPress back-end -WP-Admin > Settings > Permalinks > Save Changes ?

    Please let me know how this goes,
    Best,
    Nico

    #1004465
    Cristina
    Participant

    Hi Nico,
    with your snippet all is fine now.

    As I wrote in the first message:

    “I’ve just transferred my website to a new server. Then I’ve saved the permalinks.”

    So I think it does not depend on the permalinks.
    I don’t know why this happens: with previous CAL Pro release 3.11 all was fine.
    I’ve an old test version of this website where you can see the photo view shows with /eventi/foto path:
    http://nu1.us/gcult/eventi/foto

    Perhaps it’s something regarding translation or new release templates.
    I hope you will fix this in the next CAL Pro release.
    Thank you very much again, you save me 🙂

    All the Best,
    Cristina

    #1004466
    Cristina
    Participant

    Nico, I’m controlling all the links and now I can’t view month view and photo view for categories:
    here you can see normal list view

    http://genovacultura.eu/eventi/categoria/tour/

    but if you try to switch to month view or photo view they show “no results”.

    I don’t think this is related to your snippet, I believe instead it’s related to the new CAL and CAL PRO releases.

    As I see the old test site where all views are fine (for events and categories events), and all these changes are complicated to solve, may I downgrade in the new website both CAL releases to the last version without losing all the events I put in?

    How Can I do this?

    Thanks again.
    Best,
    Cristina

    #1004968
    Nico
    Member

    Hi Cristina,

    Thanks for following up!

    This same issue was reported by other users and a bit of testing on our side confirmed this a bug indeed. We’ve already logged it to be addressed in the upcoming maintenance release. There’s still no date defined for this but hopefully we can see this out before the end of the month.

    Downgrading as you say sounds like a good idea at this point. Doing so won’t affect the events as they are stored in the database (doing a backup of the database is always a good idea anyway) and not related with the plugin files. This article: Downgrading a plugin to a past version covers the process, it’s quite simple but if you encounter any issues during the downgrade please let me know. After the downgrade is complete, be sure to re-save permalinks!

    Sorry again for the inconvenience this might be causing to you, hope we can see this fixed very soon,
    Best,
    Nico

    #1008133
    Geoff
    Member

    Hey there,

    Just want to let you know that we just shipped an update and a patch for this issue was included. Please update and feel free to drop us a new note if you continue to bump into any issues with this. We appreciate your patience while we worked on this–thanks for your support!

    Cheers,
    Geoff

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘The photo view list does not appear since the last upgrade (3.12)’ is closed to new replies.