View Full Version : Image Format Unacceptable error
June 12th, 2012, 06:43 PM
Hi Chuck - After our upgrade yesterday, we are getting this error each time we try to upload images:
"the file you uploaded is not an acceptable format"
This happens with .jpg and .gif even though both are in the config file as acceptable formats.
June 12th, 2012, 08:28 PM
An upgrade is not going to cause that issue that would have had to have been an issue all along that means your permissions are not set correctly on the data and uploads folders I would assume or your actual image process on the server is broken.
I can set permissions but an upgrade service is not used to fix a broken site. I can not fix issues with your servers image processors that is your hosts job.
Ask your host what the path to mogrify is if its available just incase your GD is broken. Those are the thinks that need to be looked into.
June 12th, 2012, 08:46 PM
Yeah you definately need to get your host involved. I hand ftp'd a file to your server so I know that exists same thing your server is not recoginizing files
It fails this simple code. Basically the simple explanation is your server can not stat the file that is being uploaded it can not get the name and if we can not read the filename then there is no file to process hense the error messgage.
$realname = $_FILES['theimage']['name'][$i];
if ( $realname != "none" && $realname != "" )
$tmpname = $_FILES['theimage']['tmp_name'][$i];
if (is_uploaded_file($tmpname) )
June 12th, 2012, 10:05 PM
I'll look into this, but we were successfully uploading images right up until the upgrade. We didn't do the upgrade to fix a problem.
June 12th, 2012, 10:08 PM
We are using Yahoo Web Hosting, which I believe means that Mogrify is unavailable. If I need to revert to the previous version of Photopost, is that as simple as my restoring the photopost directory to it's previous state as well as the DB or is there more to it than that?
Also, we've been running Photopost since 2003 on Yahoo Web Hosting and have not had this type of error uploading photos ever before.
June 13th, 2012, 08:12 AM
We are running Photopost 8 alot of places there is no uploading issues that much I can tell you. I even posted above how things are failing. Your server is not stating the uploaded file. I run Pro 8 on my test site and here is a clean install
A community photo gallery - Omegatron Gallery (http://www.omegatron.net/gallery)
feel free to register and upload. we even have Pro 8 installed on this very site
A community photo gallery - PhotoPost Photo Gallery (http://www.photopost.com/photopost)
You can roll back if you want but that's not the proper answer. My suggestion would be maybe upgrade to php5 like you said you where going to.
Yahoo use to restrict half of the php functions so it was highly restrictive. You need to ask your host to check out the file uploading issue.
June 13th, 2012, 10:32 AM
OK, i upgraded PHP and now that we are running PHP 5.x, we are uploading photos successfully, so thanks!
We do have a few other questions regarding the new functionality that appears either incorrect or perhaps intentionally changed, but I'll search the forums first for answers before asking you here.
June 13th, 2012, 10:45 AM
There is alot of things that have been changed over the years from the old version you where using for sure.
June 13th, 2012, 05:39 PM
One problem we are having that I cannot find mentioned elsewhere in the support forums is that in the Members galleries view, not all members are showing thumbnails of their most recent photo. In this case see the link below and look BethE and KarenW. I've recreated this on multiple machines and browsers.
Your forum won't allow me to post URLs until i've made 15 posts so look at cottagearts.net
June 13th, 2012, 06:33 PM
I discovered that it appears to be related to the ismature flag, and I found this post from 2008 that seems related:
Is there a configuration to not give the user the ability to mark the photo as mature during upload?
Would you recommend that I SQL update the thousands of records that are marked as ismature = 1 and set them to 0?
June 13th, 2012, 06:38 PM
In your admin scan database you can rebuild the users last photo. Both of the users you meantion are on the showmembers script.
I see no missing members go check.
June 13th, 2012, 06:49 PM
The members aren't missing, just the thumbnail of their last image. See my note above, it is related to the ismature flag. When I change that flag to a 0 then the members thumbnail shows up. I probably made that change in the DB before you checked.
My question now is can I prevent the user from marking the photo as mature (they get asked when they upload their photos).
June 13th, 2012, 06:54 PM
Your ismature feature is off
Simply Digital Creative Team Galleries - Simply Digital Creative Team Gallery (http://www.cottagearts.net/photopost/showmembers.php?cat=500&limit=)
Your telling me you do not see beth and karen with photos?
You can follow whatever post suggestion in the threads sure
UPDATE PPPHPphotos SET ismature=0;
June 13th, 2012, 07:03 PM
I'm good on this issue. I flipped the ismature flag on beth and karen's last photos and now the thumbnails show.
June 13th, 2012, 07:30 PM
The query I posted should set any photos to 0 for ismature and your setting is off so no one can mark it mature again.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.