1. Steve Wekarchuk
  2. Sherlock Holmes
  3. General
  4. Friday, 04 November 2016
  5.  Subscribe via email
 Yves,

I don't begin to understand how or why this solved the pagination issues for me. Periodically, pagination would stop working on one of the sites I maintain. Like many other users with this issue, I could not advance to the next page, but rather it would simply jump to the top of the page. This has been going on for months!

After reading some of the latest posts on this forum, I did some detective work with FireFox debugging (not a clue what I was doing). What I noticed is that just before the pagination issue would occur, I would log the following error "SyntaxError: missing ) after argument list[Learn More]". When I clicked on the details, the following line would appear;

"addMarker('1001 Erb's Road, RR 3 Waterloo, ON', null, '/waterlooduties/http://index.php/duties/event-list-new/event/0/15-north-division/1132-2016-december-post-opc-traffic-stop-training-assistance-role-players-required'); addMarker('200 Maple Grove Road, Cambridge Ontario N3H 5M1', null, '/waterlooduties/http://index.php/duties/event-list-new/event/0/15-north-division/1133-2016-december-post-opc-shoplifting-scenario-training-assistance-role-players-required');}"

As it seemed to relate to Google Maps, I went into each of the 4 events listed above, and corrected the addresses. For instance, I changed "200 Maple Grove Road, Cambridge Ontario N3H 5M1" to "200 Maple Grove Road, Cambridge, Ontario, N3H5M1". In other words I added more comma's and removed the space between the postal code.

And just like that, pagination NOW WORKS!!! Now Yves, you are the expert, what's the connection that makes that fail!?!

Thanks, Steve
Responses (3)


There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now
Powered by EasyDiscuss for Joomla!