PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   (): Sorry, this image type is not supported yet. (http://www.photopost.com/forum/photopost-pro-how-do-i/144863-sorry-image-type-not-supported-yet.html)

titus December 30th, 2010 07:36 AM

(): Sorry, this image type is not supported yet.
 
2 Attachment(s)
What exactly does this mean when uploading photos?
Quote:

(): Sorry, this image type is not supported yet.
I've installed and set my image processor to GD2 as shown in the attached images.


I've also set my data directory with 777.
Code:

Content visible to verified customers only.
Then I've also set my uploads to 777 too.
Code:

Content visible to verified customers only.

Chuck S December 30th, 2010 07:43 AM

That means your path or permissions are not set correctly in the program therefore the image processor can not process the image. GD can not get the image info.

titus December 31st, 2010 10:13 AM

Thanks but clearly both the "data" and "uploads" directories and its contents are all 777.

As for path, I've checked it once again in the Admin Panel and everything is correct. Just tried uploading an image and it says:
Quote:

Unable to create image: [/usr/local/apache2/htdocs/photopost/uploads/1/testimage.jpg]
But check this out. The path is correct and it's 777.
Code:

Content visible to verified customers only.

The error doesn't appear to indicate something can't be found. It says the image type isn't supported. Which part of the code would throw this error? How about we find out what it's trying to do first?

Chuck S December 31st, 2010 10:26 AM

Any discussion on this can be had via the email on this matter. Your permissions or path can not be correct if your getting this error. It is an absolute error I can say nothing more on that matter. if you give server details url admin login etc I can look and I beleive I even said this via the email.

titus December 31st, 2010 12:00 PM

Okay I've located the problem. The following block of code in uploadphoto.php isn't working out, as you suggested due to a path issue.
Code:

Content visible to verified customers only.
This is because the variable $Globals['origfull'] is retaining the old path I used to have before. However, I am unable to find the value of this path anywhere.

Any idea where this $Globals['origfull'] is set? Grepping this doesn't indicate where it's set.
Code:

Content visible to verified customers only.

Chuck S December 31st, 2010 12:54 PM

As I stated your paths or permissions are incorrect

You can update the path in Admin => Storage Options to the correct global path if thats correct by hitting revert and save twice

titus January 3rd, 2011 08:39 AM

Found the location of the issue. It is due to PHP unable to execute ImageCreateFromJpeg($image_file_path). I've created a separate test script and it exhibit the same behavior, despite GD2.0.34 is installed and compiled with PHP.

With the following debug code added to image-inc.php, I get:
Code:

Content visible to verified customers only.
Snippet of image-inc.php:
Code:

Content visible to verified customers only.

Chuck S January 3rd, 2011 10:10 AM

If you do not have a proper working gd2 then you need to install imagemagick or fix gd.

Basically you have to have one of the two working processors to use our program. I can give you install instructions on imagemagick. You or your host could try installing that

PhotoPost PHP Photo Sharing Photo Gallery ImageMagick Installation Guide

titus January 9th, 2011 03:09 AM

Okay here are the exact steps I used. Please let me know if I did any one wrong or have missed something.

Code:

Content visible to verified customers only.
Then because of a bug with the jpeg-8b library in not reporting its version, I have to do the following
Code:

Content visible to verified customers only.
For the actual configure for PHP, I executed the following.
Code:

Content visible to verified customers only.

I also have the following library files.
Code:

Content visible to verified customers only.
I made a test php file consisting of the following (please let me know if this won't work), but am seeing a blank page only.
Code:

Content visible to verified customers only.

Chuck S January 9th, 2011 09:02 AM

Like I said if your image processor is not working then you can not upload images

One has not had to compile GD in many years it is part of PHP. You merely install php with the right config options although I am not a server tech

If you have access to install stuff on your server why not use imagemagick?

PhotoPost PHP Photo Sharing Photo Gallery ImageMagick Installation Guide

titus January 10th, 2011 09:01 AM

Quote:

Like I said if your image processor is not working then you can not upload images

One has not had to compile GD in many years it is part of PHP. You merely install php with the right config options although I am not a server tech

If you have access to install stuff on your server why not use imagemagick?
Yes I know something is fishy with the GD installation despite the checkinfo page states otherwise.

PHP needs to be compiled with GD enabled, and JPEG needs to be compiled also as shown in your ImageMagick guide.

GD generally is faster. Following are some references.
Experiencing the world: PHP benchmarks (GD vs Imagemagick)
http://www.jamesarmes.net/blog/2009/...s-image-magick

Chuck S January 10th, 2011 09:45 AM

well like I said php must be installed with GD2 support.

To use our program you need a working image processor on the server. You can contact your host to resolve your server issue.


All times are GMT -5. The time now is 05:44 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97