PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Upgraded 5.62->6.0beta->6.0gold - problem uploading pic (http://www.photopost.com/forum/photopost-pro-installation-upgrades/133364-upgraded-5-62-6-0beta-6-0gold-problem-uploading-pic.html)

rwilkins108 September 20th, 2007 07:29 PM

Upgraded 5.62->6.0beta->6.0gold - problem uploading pic
 
Don't think I tried this during the 6.0 beta cycle, but I just tried upload a jpg into my gallery and after about 4 sec, I get the following error:

Code:

Content visible to verified customers only.
I tried upgrading my version of ImageMagick after this happened with no luck. I'm running on a Win32 platform

memory_limit 60M
max_execution_time 600
post_max_size 60M

I can PM an account for testing.

Thanks,
Ron

http://www.u-assist.com/photopost

CHOPPERB September 20th, 2007 09:36 PM

are the data and upload folders chmod 777?

rwilkins108 September 21st, 2007 05:07 AM

Quote:

Originally Posted by CHOPPERB (Post 1205050)
are the data and upload folders chmod 777?

As I said, this is on a Windows system, the rights are correct for the directory. This is not a new installation, everything was working with 5.62...

Chuck S September 21st, 2007 09:07 AM

I would suspect permissions but there are two things to try. In image-inc.php find this and try changing that to NT.

Code:

Content visible to verified customers only.
Also in that file there is a statement some older Imagemagicks dont liker and you can find this twice also in that file and delete it. Then try uploading

Code:

Content visible to verified customers only.
You can also verify permissions are set correct by trying to use GD2 and do an upload.

rwilkins108 September 21st, 2007 10:38 AM

Thanks Chuck, hmm, still no luck. I changed the $OS to NT and removed the +profile \"*\"... the +profile issue I knew of from previous releases.

I just tried in a command prompt the exact command mogrify command specified above (making sure to have a jpg file in the thumbs dir for mogrify to work on) and it worked, it converted it. Not sure why it's not working from photopost tho, i'm going to look into it.

As an aside, I didn't know WinXP (and Windows 2003) supports the forward slash as a directory seperator (if the entire path is enclosed in quotes). I didn't find this out until running this test, then I noticed the forward slashes and ran it again, then tried other cmd prompt functions (dir, md, del) I noticed commands didn't like the root dir to be just specified with a /, but if you specified it with a c:/ the commands worked. Very very interesting, lol.

Ron

Chuck S September 21st, 2007 11:15 AM

Indeed seems something has changed on your server as there have been no changes to how Imagemagick processes images in our software between those versions.

rwilkins108 September 21st, 2007 11:32 AM

Hey Chuck, actually I'm pretty sure this has changed:

"q:/ImageMagick/mogrify.exe" -strip -resize "120x" -resize "x78<" -gravity center -crop 120x78+0+0 -quality 70 -unsharp 10 q:/photopost/data/505/thumbs/apple.jpg

the -resize "120x" , -resize "x78<", -gravity center and -crop 120x78+0+0 are all new since this version, I do believe it is for the consistent thumbnail size.

Michael P September 21st, 2007 12:30 PM

You can turn off uniform thumbnails to have the same functionality as before; look in your upload photo setting to disable this feature.

rwilkins108 September 21st, 2007 01:26 PM

Michael, I don't see a way to turn off uniform thumbnails, just the uniform thumbnail height and uniform thumbnail width, but no "enable uniform thumbnails" or anything like that.

rwilkins108 September 21st, 2007 01:29 PM

I modified the image-inc.php file to just use the regular non-uniform thumbnail call. That works. I do see in the code that there is a variable for uniform thumbnail, just no way to enable that in the admin.

Thanks,
Ron

Michael P September 21st, 2007 02:18 PM

I'll have to check the upgrade.php script but the variable is 'uniform' and should be in your settings; maybe I have the section wrong.

rwilkins108 September 21st, 2007 04:44 PM

I checked all the sections, the only options with uniform is the width and height, no "yes / no" selection

Chuck S September 21st, 2007 06:56 PM

The variable uniform is used for the lightbox.


All times are GMT -5. The time now is 02:43 PM.

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