WordPress.org

Ready to get started?Download WordPress

Forums

calendar not showing (12 posts)

  1. chiczero
    Member
    Posted 7 years ago #

    Hi, I have installed the calendar plugin by o'shea, unsuccessfully. when I add an event, I get the error msg
    "Error: For some bizare reason your event was not added. Why not try again "

    I can see below that it was added, and I can see in the database that it was added; however, I dont see the new calendar on my blog. please advise.
    -----------------------------------------------
    my .hta looks like the following:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    RewriteRule ^calendar/([^/\.]+)/([^/\.]+)/?$ wp-calendar.php?year=$1&month=$2 [QSA,L]
    RewriteRule ^calendar/?$ wp-calendar.php [QSA,L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    --------------------------------
    on the calendar screen within the wp-admin panel it says the following are in the DB.

    ID Title Description Start Date End Date Recurs Repeats Edit Delete
    4 test test 2007-07-04 0000-00-00 Never N/A Edit Delete
    5 test2 test2 desc 0000-00-00 0000-00-00 Never N/A Edit Delete

  2. Kieran O'Shea
    Member
    Posted 7 years ago #

    Firstly you must ensure you enter a start and finish date in the add event screen. If you want an even that just lasts a day put the same date in each field. The time is optional and will not show if you leave it blank. The error message doesn't always mean that the event wasn't added, just that it wasn't entirely successful.

    Your .htaccess looks fine to me but as you haven't provided a link to your blog I can't check out reasons why it may not be showing. If you provide me with a link I will assist further.

  3. herzogbr
    Member
    Posted 7 years ago #

    My calendar isn't showing either, but my problem sounds different than chiczero's. After I installed everything, I was able to add a couple test events, to which the plugin did say "Event added. It will now show in your calendar." However, when I visit the page in a browser (http://www.chelmsfordlibrary.org/volunteer/calendar), there's no calendar.

    The only oddity I noticed during install was that on the plugins management page, the Calendar plugin showed up twice. One could be activated and one couldn't. When I uploaded the files, they ended up like this:
    wp-admin
    -edit-calendar.php
    wp-content
    +plugins
    -calendar.php
    -wp-calendar.php

    Is that right? Thanks.

  4. Kieran O'Shea
    Member
    Posted 7 years ago #

    The upload structure should be

    wp-calendar.php
    wp-content
    + plugins
    - calendar.php
    wp-admin
    - edit-calendar.php

    wp-calendar.php needs to be in the root of your WordPress install. Then you should find that everything works

  5. herzogbr
    Member
    Posted 7 years ago #

    Yep, that was my problem. Thanks for clearing it up. Now I just need to fiddle with the style sheets to make it readable. Thanks again. Take care.

  6. CanalNoises
    Member
    Posted 7 years ago #

    I'm also having problems with this plugin. I followed the installation instructions carefully and it seems to work fine until actually trying to view the calendar. It shows up in the admin panel and lets me add events, but when I go to /calendar I get a 404. Think you could help me out? My site is http://www.utahlug.org. Thanks!

  7. thedudealive
    Member
    Posted 7 years ago #

    Probably your .htaccess is not updated according the readme file of the calendar plugin. Update it and the calendar should show up. Also make sure that the permissions for this .htaccess file after update is set to 555, otherwise it will be set back to the original after a while and the same problem will occur again.

  8. Kieran O'Shea
    Member
    Posted 7 years ago #

    Yup, that solution should sort out the problem nicely for you.

    I'm still not entirely sure what resets the .htaccess back to the standard WordPress configuration - this doesn't happen for me but I'm running the 2.0.x branch. I assume this is something that happens in later versions of WP.

  9. CanalNoises
    Member
    Posted 7 years ago #

    That didn't work, but after playing around with it a bit I think I found the problem. I have my site set up so the index.php and .htaccess files are in the root directory and everything else for WP is in a subdirectory (see this article on codex.wordpress.org). I tried moving wp-calendar.php to the root directory, and instead of just giving me a 404 at /calendar like it has been I got an error message saying it couldn't find the header. Then I changed line 12 to point to the correct location of my blog's header and now it works! Thanks for the replies. This is a great plugin, by the way!

  10. Alex Dunae
    Member
    Posted 6 years ago #

    Check out this answer.

  11. JohnnyAngel
    Member
    Posted 6 years ago #

    hey i can't get the calendar to show up at my site http://www.therightwing.net/calendar . It is showing up at ...wp-calendar.php. I followed all the directions and my .htaccess file seems right based on the directions and all the other posts. Any ideas?

    ------------------------------------
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^calendar/([^/.]+)/([^/.]+)/?$ wp-calendar.php?year=$1&month=$2 [QSA,L]
    RewriteRule ^calendar/?$ wp-calendar.php [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

  12. Kieran O'Shea
    Member
    Posted 6 years ago #

    Johnny, where do you have your blog installed relative to your domain?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags