mageguild
Member
Posted 1 year 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/
gijigogo
Member
Posted 11 months ago #
Hi I am getting the exact same error but I don't event see that it is getting posted.
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!
MyNameis
Member
Posted 10 months ago #
I'm having this problem also. Quite frustrating.
walz12
Member
Posted 10 months ago #
are the other aspects of this plugin working for you?
berglomi
Member
Posted 10 months 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.
andruss
Member
Posted 10 months ago #
I am using this plugin and having an issue with uploading images. Can anyone assist me?
MJPeyton
Member
Posted 8 months 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
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!
Update: another new version (20121120) of the plugin with more improvements, fixes, and features.
lonseidman
Member
Posted 5 months 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.
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/