 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
September 20th, 2007, 07:29 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Nov 2006
Posts: 38
| 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 |
| |
September 20th, 2007, 09:36 PM
|
#2 (permalink)
| | Guest |
are the data and upload folders chmod 777?
| |
| |
September 21st, 2007, 05:07 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Nov 2006
Posts: 38
| Quote:
Originally Posted by CHOPPERB 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...
|
| |
September 21st, 2007, 09:07 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
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.
|
| |
September 21st, 2007, 10:38 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Nov 2006
Posts: 38
|
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
|
| |
September 21st, 2007, 11:15 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
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.
|
| |
September 21st, 2007, 11:32 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Nov 2006
Posts: 38
|
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.
|
| |
September 21st, 2007, 12:30 PM
|
#8 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,834
|
You can turn off uniform thumbnails to have the same functionality as before; look in your upload photo setting to disable this feature.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
September 21st, 2007, 01:26 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Nov 2006
Posts: 38
|
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.
|
| |
September 21st, 2007, 01:29 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Nov 2006
Posts: 38
|
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
|
| |
September 21st, 2007, 02:18 PM
|
#11 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,834
|
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.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
September 21st, 2007, 04:44 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Nov 2006
Posts: 38
|
I checked all the sections, the only options with uniform is the width and height, no "yes / no" selection
|
| |
September 21st, 2007, 06:56 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
The variable uniform is used for the lightbox.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 04:58 AM. | |