Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author room34

    (@room34)

    Hi… thanks for your feedback.

    I tried your code on a test site, and it functioned properly. (I had to convert the smart quotes to straight quotes, but I think that may have been introduced when you pasted the shortcode in here. But be sure to check your site to see that it is not using smart quotes in the shortcode.)

    Another possibility is that your server has the allow_url_fopen PHP setting turned off. This is a requirement for the plugin.

    I’ve just rolled out version 1.2.0 of the plugin which addresses various issues. Please download the new version and see if it helps. Let me know what you find. Thanks!

    Hi and thanks for making this – it’s really helpful!

    I seem to have a similar issue though: when adding the shortcode to a page, it renders only to the point of the shortcode. So the page is basically just a header, the rest is blank/white. The shortcode seems to be ok, because it works totally fine on a different site.

    The website is hosted on 1&1, allow_url_fopen is on (but allow_url_include is off).

    Any ideas what could cause the issue?

    Thanks in advance, kind regards

    George

    Plugin Author room34

    (@room34)

    You should only need allow_url_fopen, not allow_url_include, so I don’t think that’s the problem.

    My gut reaction is that the 1&1 server might be running an older version of PHP that doesn’t support one of the functions I’m using. Can you find out which version of PHP you’re using?

    Beyond that, I’d suggest going into your wp-config.php file and temporarily setting the WP_DEBUG constant to true, then load the page. It should display an error message that will help us pinpoint the issue.

    Thanks!

    I just activated allow_url_include via php.ini, but this doesn’t solve the issue either.

    Yes!!! That was it – the site was still running on php 5.6. I set it to 7.2 and now it’s running smoothly. Thanks for the super fast support and a great plugin!

    Regards

    Georg

    Plugin Author room34

    (@room34)

    Thanks… I’m glad to hear you were able to resolve it. Even though I thought the plugin should work on 5.6… but I’m only running 7 on my testing environments, so maybe I used a 7-only function without realizing it.

    Would you mind temporarily switching back to 5.6 and turning on WP_DEBUG in wp-config.php, and then letting me know what the error message is?

    Thanks!

    Ooops, sorry must have been php 5.5.
    So I reset it to php 5.5, switched on debugging and now it gets weird:
    the page loads fine with no errors shown.

    I don’t get it…

    Plugin Author room34

    (@room34)

    Hard to say… there might be some kind of server-side caching that was causing the problem and it got purged when you switched versions.

    Anyway, if you don’t mind, I’ll mark this issue as resolved. If anything else comes up feel free to open another thread. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Page crashes when shortcode is added’ is closed to new replies.