Viewing 15 replies - 1 through 15 (of 26 total)
  • Thread Starter swami12

    (@swami12)

    PS not sure if this is related to my other post about jumpiness on hover which was remedied per developer suggestion.

    Something seems to be stripping out the year in the post links to next & prev. There is likely a conflict with another plugin or your theme. Can you try with the default theme and plugins turned off?

    Thread Starter swami12

    (@swami12)

    Thanks, Bev. I just went through all that. Reverting to default theme had no effect, and then I went through the plugins one at a time.

    The only difference I found was when I DE-activated the Slideshow Gallery plugin, I got this error message. (Calendar still misbehaved, though)

    Warning: mysql_real_escape_string(): No such file or directory in /homepages/1/d249002805/htdocs/website/wordpress/wp-content/plugins/spiffy-calendar/spiffy-calendar.php on line 2248

    Warning: mysql_real_escape_string(): A link to the server could not be established in /homepages/1/d249002805/htdocs/website/wordpress/wp-content/plugins/spiffy-calendar/spiffy-calendar.php on line 2248

    Could this be a clue?
    DO you think reverting to an earlier version of your plugin or the Slideshow Plugin might help?

    Hate to abandon Spiffy Calendar!

    thanks
    N

    The warnings are due to the year being missing, so that is not the cause but a result of the problem.

    I checked again and see you have a Javascript error on the page, highlighting the year field from the URL. For some reason a Twitter widget is replacing the “year” in the links.

    Thread Starter swami12

    (@swami12)

    Hmmm, okay, but de-activating the two social media plugins does not fix the calendar….. suggestions??

    thanks!

    Now the year is being replaced by onclick trackevent.

    Try viewing the page source after moving prev/next to a new month. You will see the links messed up. The initial calendar load shows ‘yr=2014’ in the links, as it should. After moving prev/next the links come up as ‘yr=” onclick ….”.

    Thread Starter swami12

    (@swami12)

    Is there a way to know the source of this event so I can get rid of it?

    This is google analytics onclick tracking.

    Thread Starter swami12

    (@swami12)

    Okay, so I would have to disable Google Analytics then I suppose? Bummer….

    Just disable it to see if that fixes it. I can’t see why it would be messing up the URL. What plugin are you using to insert the GA code?

    Thread Starter swami12

    (@swami12)

    I am using All in One SEO by Yoast. I disabled it to no avail.

    Will also try to disable the GA account….

    Thread Starter swami12

    (@swami12)

    Nope, stopped GA and no difference. Sorry!

    I still think something is stripping out the “yr=2014” value when the page is loaded. You notice that the first load shows “September 2014” in the title, but after hitting prev/next the URL is correct but the 2014 is missing from the title.

    Maybe try editing the spiffy-calendar.php source code and change all references of “yr” to “spiffycalyear”

    Thread Starter swami12

    (@swami12)

    Changed all references to spiffycalyear to no avail. ??

    Try changing this:

    $c_year = mysql_real_escape_string($_GET[‘yr’]);

    to this:

    $c_year = $_GET[‘yr’];

    mysql_real_escape_string should still be available as far as I know, but I don’t think the call was needed there anyway.

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Next/Prev Month error’ is closed to new replies.