• Greetings,

    I downloaded and started testing your plugin this morning, and found out that the live preview does not seem to work.

    The iframe is populated when the page (re)loads, but does not update dynamically when the form is updated.

    Looking at the console, I see that the AJAX request (https://mysite.com/wordpress/wp-admin/admin-post.php) fails with HTTP 500. As far as I can tell, there are no errors in the Apache logs.

    Any ideas ?

    Cheers
    Damien

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author GusRuss89

    (@gusruss89)

    Hi @dregad,

    I’m keen to fix this, but not sure what direction to point you in to do it yourself. Would you be happy to create a temporary admin account for me on your site so that I can debug? If so, can you please create one for [email protected] and email me the details?

    Thanks,
    Angus

    Thread Starter dregad

    (@dregad)

    Hello Angus,

    Many thanks for your offer for help in troubleshooting this, I appreciate it.

    Unfortunately, and please don’t take offense, the association owning the blog I’m maintaining is not very keen on “giving away the house keys”…

    I guess I could probably convince them to do so if I really had to, but I’d rather go for an alternative solution if possible (if push comes to shove, it might mean not using your plugin, which would be a shame).

    What information can I give you to get you started ? Note, I’m quite experienced in PHP programming, web development and systems administration, so not your average dummy user I guess ;-).

    Cheers
    Damien

    Plugin Author GusRuss89

    (@gusruss89)

    Hi @dregad

    That’s perfectly understandable ??

    I think the first thing to do is probably to turn on WP_DEBUG and WP_DEBUG_LOG.

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );

    Then your debug log (in wp-content folder) will hopefully record the 500 error. The error might be self-explanatory enough for you to have a go at fixing in the PHP, but otherwise just let me know what the error is and I’ll see if I can figure out why it’s happening.

    Thanks for your help on this!
    Angus

    Thread Starter dregad

    (@dregad)

    Unfortunately, I see nothing but PHP Notices in the debug log, not sure if they are related. I’ll send it to you via e-mail so you can take a look.

    In parallel, I’ll try to replicate the problem in a development environment. Maybe it’s caused by a conflict with another plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Form preview not refreshing dynamically’ is closed to new replies.