WordPress.org

Ready to get started?Download WordPress

Forums

WP RSS Multi Importer
[resolved] warning after selecting except image checkbox (16 posts)

  1. ddawkins7
    Member
    Posted 1 year ago #

    When i select "if you want excerpt images, check to fix their width at 150 (can be over-written in shortcode)."

    when i view a live page i see php "warning" code at the top of the feed:
    Warning: getimagesize() [function.getimagesize]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in ....
    or
    ...failed to open stream: no suitable wrapper could be found ...

    this didn't happen in the last version.

    Is anybody else getting this?

    http://wordpress.org/extend/plugins/wp-rss-multi-importer/

  2. Allen
    Member
    Plugin Author

    Posted 1 year ago #

    are you using the default template or some other template when this happens?

  3. ddawkins7
    Member
    Posted 1 year ago #

    default template ...

    i unchecked it. The images show without the warning at top but I have no control of the sizing and tried uses maximgwidth="150" in the page but that doesn't seem to work either.

    [wp_rss_multi_importer category="12" morestyle="Read More >>" maximgwidth="150"]

    ps the morestyle="Read More >>" does work.

  4. Allen
    Member
    Plugin Author

    Posted 1 year ago #

    ok..let me see if I can reproduce this error....the parameters in the shortcode look right...I'll get back to you on this. thanks.

  5. Allen
    Member
    Plugin Author

    Posted 1 year ago #

    on more thing...could you give me an example RSS feed you are using?

  6. ddawkins7
    Member
    Posted 1 year ago #

  7. Allen
    Member
    Plugin Author

    Posted 1 year ago #

    ok....I'll need to find out more about the source of this..here is what that feed looks like on a production server I run (this is a multiuser wordpress site), and I'm not getting any errors when selecting the option to fix the widths at 150.

    http://inside.insightla.org/allen/insightla-blog/

    I will say that when I search google for this error, I get many results that says the problem is with server (a fix is with the php file)...example:
    https://forums.hostdime.com/showthread.php?8620-PHP-allow_url_fopen

    Again, this means I need to see if this is being caused by my code or something outside of my control.

  8. Allen
    Member
    Plugin Author

    Posted 1 year ago #

    ok...the function getimagesize that is causing the problem is a php function my plugin uses...if it's throwing an error (which it appears to be doing) then this is related to the server you are using..the only thing I can't explain is why this wasn't happening before for you..did you change servers, did your hosting company change something on your server, etc.

  9. ddawkins7
    Member
    Posted 1 year ago #

    i built site locally XAMMPP on mac when i used the other version.

    Moved to hosting sever then updated to new version of plugin without checking the old version first. So not sure if it would have worked or not.

  10. ddawkins7
    Member
    Posted 1 year ago #

  11. Allen
    Member
    Plugin Author

    Posted 1 year ago #

    yes, I built the plugin in xampp but test it on blushost servers, and other servers before launching it...so it seems this is related to your server configuration (that's my best guess). I would check the php configuration of your current production server to see if they have the same issue as that mentioned in the article above....I know this doesn't occur on bluehost servers, for example.

  12. ddawkins7
    Member
    Posted 1 year ago #

    hmm interesting. I use A2Hosting. I will have to check to see what configured (htaccess, write privileges, etc) i guess.

    thanks for the quick feedback.

  13. Allen
    Member
    Plugin Author

    Posted 1 year ago #

    what did you find out.....was this resolved by checking your server?

  14. ddawkins7
    Member
    Posted 1 year ago #

    No didn't find out how/what it exactly was.
    i just used css to control the the sizing.

  15. Allen
    Member
    Plugin Author

    Posted 1 year ago #

    ok...in the next update I'm going to eliminate that error message by first seeing if there getimagesize sees a real image there. This seems to be a problem throughout the web.

    Be sure to save the CSS template so that the next update doesn't override it (go to the templates panel in the admin section).

  16. Allen
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks..I'm going to recommend others use the CSS fix (I added that to my FAQs).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic