Viewing 9 replies - 1 through 9 (of 9 total)
  • Hey there civicwebmedia,

    How are you doing today?

    You’re still missing service provider and service shortcodes but this shouldn’t affect pagination in any way.

    Any idea how I can fix this? Is there a problem because next month is next year?

    Most likely not the case here, I did test the same exact shorctodes on my sandbox site and the navigation was switching to next month properly.

    I did see few js errors on your site so I’m assuming this could prevent scripts from working properly. Can you please test for conflicts by using default WordPress theme like Twenty Fifteen and deactivating all other plugins as displayed in the following flowchart to know which theme/plugin is conflicting if any.

    http://premium.wpmudev.org/wp-content/uploads/2013/12/Support-Process-Support-Process.png

    Please let me know if you find anything.

    Cheers,
    Bojan

    Thread Starter civicwebmedia

    (@civicwebmedia)

    Hello,

    I switched to Twenty Fifteen and deactivated all other plugins, but still the calendar won’t change page.

    What should I do?

    Hey again civicwebmedia,

    That’s pretty odd, I checked your site again and I can still see theme and plugins active there.

    Can you please try creating default booking page from Appointment settings to see if that will help? If it doesn’t try deactivating plugins and switching to Twenty Fifteen again while using the default booking page.

    You can create one in Appointments -> Settings -> Display Settings -> Create an Appointment Page, all you have to do is check the checkbox and select type of calendar from the dropdown and hit save settings after.

    You should be able to find created page in Pages.

    Please let me know how that goes.

    Cheers,
    Bojan

    Thread Starter civicwebmedia

    (@civicwebmedia)

    Thank you for looking into this for me.

    Sorry, I turned everything back on after I tested it just in case anyone visited the site.

    I’ve created a new appointment page as you asked me to, but it also doesn’t turn the page. I’ve changed the theme, disabled plugins (all but one vital security one, that I’ve been told by my hosting company never to disable), but still nothing.

    Here’s a naked version of my site: http://thecommsguy.com.au/make-an-appointment/

    Any advice much appreciated.

    Hey again civicwebmedia,

    I’ve checked your site and double checked everything on my sandbox site so I can try to find what could possibly be wrong here but I couldn’t.

    The shortcodes are good, the pagination URL is good and there are no JS errors in the console.

    To get further information on this can you enable WP_DEBUG in your wp-config.php file and tell me if there are any errors displayed?

    To output the WordPress debugging information you can open your wp-config.php file and change:

    define('WP_DEBUG', false);

    To:

    define('WP_DEBUG', true);

    You can also have these errors output to a debug.log file located in your /wp-content/ folder, to do this add the following to your wp-config.php file:

    define('WP_DEBUG_LOG', true);

    Please let me know if there are any errors there.

    Cheers,
    Bojan

    Thread Starter civicwebmedia

    (@civicwebmedia)

    I did that (for some reason the _log was already set to true, but not the first one). I’ve had to change it back to false now because it was giving my website errors and changing the layout of my theme.

    While it was on, I clicked a few times on the next month and nothing has shown up in the log. There are some from 4 November, but I imagine they’re unrelated.

    Do you think it’s possible that it’s something to do with the strict nature of my hosting company’s servers?

    Hey again civicwebmedia

    Using WP_DEBUG would put the errors on the site, you can hide those and just have them out put the WP_DEBUG_LOG (if set to true) by using this as well:

    define(‘WP_DEBUG_DISPLAY’, false);

    Please let me know which error you get when you try to click on the next button, you can also do it with twenty fifteen and all other plugins deactivated which would allow you to see it clearly if you have a lot of errors otherwise.

    This could also be a server related issue, hopefully error will give us more information.

    Cheers,
    Bojan

    Thread Starter civicwebmedia

    (@civicwebmedia)

    From my hosting guy:

    “From what I can see, this appears not to be a WordPress / PHP issue, but a JavaScript coding issue.
    As I can understand it, so far, It would appear that a client side script is attempting to perform a server side function, with the server side database.

    This in any instance, would not be a valid outcome.
    The logical conclusion would be, if this practise was allowed, is that any client side script, from any source, would be able to reference any server property at will, by request.
    In this instance, this is a classical description of an SQL injection vulnerability.”

    Does that make sense to you? Do you think that’s what’s causing the problem?

    Hey there civicwebmedia,

    Does that make sense to you? Do you think that’s what’s causing the problem?

    It makes sense in case you’re hosting provider has some sort of protection that prevents javascript from working properly.

    I’m not a developer myself but this is how AJAX works in WordPress and it is a standard way of getting data from server, see here https://codex.wordpress.org/AJAX.

    So I’d call this classical description of an AJAX request rather then classical description of an SQL injection vulnerability.

    Also I’ve tried checking your “naked” version so I can get an opinion from our developer on those errors but I’m not being able to access the page πŸ™

    Best regards,
    Bojan

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Next month button is not working’ is closed to new replies.