• Bruce

    (@zabooey)


    Hi, folks.

    I had a working install of the EC3 event calendar (3.1.4) on an organization website (nmdance.com). I ended up having to move the entire organization website from one host to another after the first site’s host went AWOL and quit attending to his clients. I copied over files and set up the DB on the new host server to emulate exactly how the site was on the first host. I went ahead and updated WordPress from 3 to 4, and in the process, updated the Event Calendar plugin to 3.1.5.

    What has changed that I can’t seem to figure out is related to permalinks and how links pass variables to access functions. Specifrically, I can no longer pass dates onto the Events category (archive) page to get meaningful results.

    When I try to go to the Event page on the nmdance.com site using the link I’ve had on the home page of the site since I set it up (the archive page using the Event category),

    https://nmdance.com/?m=201411&cat=3,

    it tells me that there are no posts for that category (it recognizes the category but connects it to no content).

    However, if I do click on a link on the home page to a specific event, like

    https://nmdance.com/events/dancing-caravan-east-18/

    I get the single page appropriately displaying the month’s calendar widget on the left, and an entry with all of its elements on the right side of the page.

    If I simply try to access the events category in the archive using a traditional category permalink,

    https://nmdance.com/events/

    I do get a semblance of the archive page I should- the event calendar widget shows the calendar for the current month, and the event listing column on the right side of the page shows a list of entries- but it does not show just a month worth (for this month), but all remaining entries for events in the database.

    I’ve tried to find an appropriate permalink alternative to the above general event page link, like https://nmdance.com/events/201411/ or https://nmdance.com/events/2014/11/, and I cannot find a suitable combo that makes the event page come up correctly.

    Likewise, the links in the calendar widget to view earlier or later months, based on the above “https://nmdance.com/events/?m=201411&cat=3” format fail.

    I know the problem might be with the age of the plugin, but I also think that the permalink system or query parsing is missing some direct somewhere to handle the events category correctly.

    I am simply trying to understand how to feed the category and date information (year, month) to the archive page to get back its previous functionality. I don’t know what scripts or settings I need to change to get those three bits of info correctly to the EC3 scripts.

    I know i should probably get into a new event calendar, but I am a slow programmer and am afraid to reinstall a new calendar would take me several weeks, so I am really just hoping to find a date-passing fix here.

    All other functionality on the site is fine.

    The .htaccess in the WordPress folder contains:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    The .htaccess in the site root (which sits one level above the wordpress install) contains this:

    DirectoryIndex index.php

    # BEGIN W3TC Browser Cache
    <IfModule mod_deflate.c>
    <IfModule mod_headers.c>
    Header append Vary User-Agent env=!dont-vary
    </IfModule>
    AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
    <IfModule mod_mime.c>
    # DEFLATE by extension
    AddOutputFilter DEFLATE js css htm html xml
    </IfModule>
    </IfModule>
    # END W3TC Browser Cache
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    I’d appreciate any insight anyone could lend me that would help me get the calendar archive page producing a proper month-based index of events again.

    Thank you for your time.

    Bruce

  • The topic ‘URL Parsing/Variable Passing to Event Calendar 3 Fails After Site Move’ is closed to new replies.