PS not sure if this is related to my other post about jumpiness on hover which was remedied per developer suggestion.
Anonymous User
(@anonymized-1391468)
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?
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
Anonymous User
(@anonymized-1391468)
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.
Hmmm, okay, but de-activating the two social media plugins does not fix the calendar….. suggestions??
thanks!
Anonymous User
(@anonymized-1391468)
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 ….”.
Is there a way to know the source of this event so I can get rid of it?
Anonymous User
(@anonymized-1391468)
This is google analytics onclick tracking.
Okay, so I would have to disable Google Analytics then I suppose? Bummer….
Anonymous User
(@anonymized-1391468)
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?
I am using All in One SEO by Yoast. I disabled it to no avail.
Will also try to disable the GA account….
Nope, stopped GA and no difference. Sorry!
Anonymous User
(@anonymized-1391468)
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”
Changed all references to spiffycalyear to no avail. 🙁
Anonymous User
(@anonymized-1391468)
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.