WordPress.org

Ready to get started?Download WordPress

Forums

User Submitted Posts
[resolved] Warning with getimagesize (12 posts)

  1. mageguild
    Member
    Posted 2 years ago #

    When I try to submit content via the form, I get this error however the submission does appear to get saved.

    Warning: getimagesize() [function.getimagesize]: Filename cannot be empty in /home/tbassett/webapps/tennisblog/wp-content/plugins/user-submitted-posts/user-submitted-posts.php on line 280

    http://wordpress.org/extend/plugins/user-submitted-posts/

  2. gijigogo
    Member
    Posted 2 years ago #

    Hi I am getting the exact same error but I don't event see that it is getting posted.

  3. ke86
    Member
    Posted 2 years ago #

    I am also getting this error when I submit the form without attaching an image. Any idea how to allow for submission w/o error even if no images have been attached? Thanks!

  4. MyNameis
    Member
    Posted 1 year ago #

    I'm having this problem also. Quite frustrating.

  5. walz12
    Member
    Posted 1 year ago #

    are the other aspects of this plugin working for you?

  6. berglomi
    Member
    Posted 1 year ago #

    Having these troubles as well.

    I do recommend Gravity Forms, however it does cost 39 bucks. But it will do the same as this plugin and more - and on top of that you can use it for all your other WP form needs.

  7. andruss
    Member
    Posted 1 year ago #

    I am using this plugin and having an issue with uploading images. Can anyone assist me?

  8. MJPeyton
    Member
    Posted 1 year ago #

    Hey all,

    Try going into the .php file and on line 279 change

    for ($i = 0; $i < count($fileData['name']); $i++)

    to

    for ($i = 1; $i < count($fileData['name']); $i++)

    (ie, Change the 0 to a 1).

    This worked for me, hope it works for you.
    mp

  9. Jeff Starr
    Member
    Plugin Author

    Posted 1 year ago #

    User Submitted Posts is now updated with many improvements and bug fixes. I wasn't able to replicate the error described by mageguild, but hopefully the new version catches it. If not please let me know at http://perishablepress.com/contact/ Thanks!

  10. Jeff Starr
    Member
    Plugin Author

    Posted 1 year ago #

    Update: another new version (20121120) of the plugin with more improvements, fixes, and features.

  11. lonseidman
    Member
    Posted 1 year ago #

    I am also having this problem, the latest version of the plugin did not address the issue, but MJPeyton's code change did solve things for me.

    Just a note: I'm running on a network installation with multiple sites, not sure if that has an impact on things.

  12. Jeff Starr
    Member
    Plugin Author

    Posted 1 year ago #

    Hi lonseidman, not sure what's happening, but if you're running the latest version of USP and have fully read the readme.txt and configured your options, things should be working fine. If you're still stuck I would be glad to take a look. Contact me at http://perishablepress.com/contact/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic