PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 2nd, 2004, 12:28 PM   #1 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
Getting this error..

Warning: move_uploaded_file(/home/ggadmin/public_html/gallery/data/1675/1blah_34534534534.jpg): failed to open stream: Permission denied in /home/ggadmin/public_html/gallery/image-inc.php on line 34

Warning: move_uploaded_file(): Unable to move '/tmp/phpvXFnp6' to '/home/ggadmin/public_html/gallery/data/1675/1blah_34534534534.jpg' in /home/ggadmin/public_html/gallery/image-inc.php on line 34

Unable to move file [/tmp/phpvXFnp6] [/home/ggadmin/public_html/gallery/data/1675/1blah_34534534534.jpg]

Why am I getting this error? I just moved servers and ran down the instructions for installing ImageMAgick and have CHMODed all the directories that were specified in the install instructions.

Also, I previously tried to install ImageMagick 6.1.2 but it didn't work. When I tried the specified make uninstall command it didn't do anything. Now that I have installed ImageMagick-5.3.8 when I type locate mogrify it points directories with 6.1.5 in the name:

/root/ImageMagick-6.1.5/bin/mogrify
/root/ImageMagick-6.1.5/share/ImageMagick-6.1.5/www/mogrify.html
/root/ImageMagick-6.1.5/include/magick/mogrify.h
/root/ImageMagick-6.1.5/man/man1/mogrify.1

Is this alright?

Please help me get my site back up and running.

Thanks.
Johnny Doomo is offline   Reply With Quote
Old December 2nd, 2004, 01:39 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
I would do a make clean which would remove the old imagemagick and then install the latest 6.1.5-7

Unable to move usually means you did not set permissions on the uploads and data directories
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 2nd, 2004, 03:12 PM   #3 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
I chmodded everything that the instructions stated:

photopost
images (chmod 755)
uploads (chmod 777)
help (chmod 755)
data (chmod 777)
1 (chmod 777)
2 (chmod 777)
500 (chmod 777)
languages (chmod 755) (all subdirectories, too)
english (chmod 755)

Though I run an older version and don't have a 1,2 or 500 directory in my data directory.

Also, where in telnet do I type the "make clean" command and what exactly does it do? I don't know much about telnet/ssh and to get them installed I was basically only following instructions. When I installed the 6.1.5 version I followed the instructions here: http://www.imagemagick.org/www/QuickStart.html but it didn't appear to work, because when I ran locate mogrify it didn't give any results. When I tried to use the 6.1.5 files but the instructions here at photopost, it gave an error when I ran this command:

./configure --enable-lzw=yes --enable-shared=yes --disable-static --without-perl

A configure folder/file didn't exist type of error. I didn't know how else to proceed so, dispite the instructions saying make sure to uninstall and me trying to uninstall it from the beginning and it not appearing to have uninstalled I went ahead with the installation of 5.3.8

Can you please tell me how I should proceed?

Thank you.
Johnny Doomo is offline   Reply With Quote
Old December 3rd, 2004, 08:58 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Our instructions here work fine. I use those exact instructions when compiling ImageMagick for customers installs.

If you have the proper permissions you should be fine. Not if your not logged in as root you can not do a root install. You may have to su in as root or try doing a non-root install
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 3rd, 2004, 10:44 AM   #5 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
Did you read my post? I'm not having a permissions problem. The line ./configure --enable-lzw=yes --enable-shared=yes --disable-static --without-perl wouldn't run because I was trying to install 6.1.5 not the version that ARE in your instructions. That's the only time I got an error like that.

Here is my main question as it seems it is the main problem.

Where in telnet do I type the "make clean" command (as in what directory) and what exactly does it do, just remove imagemagick? Is it going to ask any questions or simply remove it so I can reinstall the version that is in your instructions?
Johnny Doomo is offline   Reply With Quote
Old December 3rd, 2004, 11:53 AM   #6 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
OK I found the problem. All the directories inside the data directory aren't CHMODed. The question is, how do I CHMOD ALL the directories at once? I have 1000s of them. Anyway to do this with cuteftp 4.0?

Also, it doesn't seem to be adding the watermark to the images. I have the image and the config options section is point to the correct file, and it was working before the server move. Do you know why that is happening?

Last edited by Johnny Doomo; December 3rd, 2004 at 12:20 PM.
Johnny Doomo is offline   Reply With Quote
Old December 3rd, 2004, 01:39 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Johnny

Yes I read your post. Since you knew where to type a configure command and make etc I assumed make clean would be understood. Your error was not clear as this is what your wrote. Alot of times we need to guess at what a customer is saying as the error message they are posting is not clear at all.

A configure folder/file didn't exist type of error.

Obviously from your post I assumed you where in the imagemagick source directory. Typing a make clean instead of make would remove the old failed attempt. The number one error people get installing imagemagick are permission errors hense my post you may have to su in to do a root install or perform a non-root install.

Lets see if we can get ya going.

To CHMOD all directories under data in ftp highlight all the directories and right click. There should be a chmod selection under there. select that and type in 777

That should update all of them or you can sign into your server and type this command after your cd to your photopost directory

chmod -R 777 data

As far as watermarking is composite installed?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 3rd, 2004, 04:18 PM   #8 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
I don't know how to check to see if "composite" is installed.

I did install what was mentioned on this page: http://www.photopost.com/howtoinstall-php.html

The following I did:

ImageMagick-5.3.8.2.tar.gz
jpegsrc.v6b.tar.gz
libpng-1.0.6.tar.gz
libtiff-lzw-compression-kit-1.1.tar.gz
tiff-v3.5.5.tar.gz

But I have no way (that I know of myself) to check and make sure each one got installed.

I can upload an image, but it doesn't slap my watermark onto it. Is composite one of those things I installed from that page posted above and if so is there a way to check to see if it installed properly?

If not, can you direct me to where I can find "composite" and instructions on how to install it on a Linux server?

Thank you.
Johnny Doomo is offline   Reply With Quote
Old December 3rd, 2004, 04:36 PM   #9 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
type:

which composite

and it will search your path for that command (the which command does this).

also, look in the same directory as mogrify
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old December 3rd, 2004, 04:59 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Michael beat me to it darn

whereis composite
locate composite
find composite

There are many different commands.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 3rd, 2004, 05:10 PM   #11 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
Found it here: /usr/local/bin/composite

hmm... soo, what else could it be as to why the watermarks aren't showing up?

Or do I need to insert that location anywhere? I changed every place I saw in the AdminCP for changing the paths to anything. If there is something that is only viewable/changable in a file though, then I think I forgot it.
Johnny Doomo is offline   Reply With Quote
Old December 5th, 2004, 07:59 PM   #12 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
bump...
Johnny Doomo is offline   Reply With Quote
Old December 5th, 2004, 08:03 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Have you configured your categories to allow watermarks based on usergroups?

Where is the watermark on the server and is the path right?

What type of Image?

Post the http url to the watermark here and let me try it on my test install
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 6th, 2004, 02:23 AM   #14 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
I just moved it so all my categories I assume should be still setup right. I tested by uploading to a test category and that category had it so it was suppose to slap the watermark on anything from the admin and I was logged in as the admin.

Yes, when I changed servers I changed the path and it is set right.

Type: png

url of watermark: http://www.gamersgallery.com/gallery..._watermark.png

As I mentioned above my installation was working fine when I had it on my old server, this is after a server move and to a new host and now it stopped working. So I was thinking it would be more something to do with some of those 3rd party programs installed. But I don't know enough to know what to check or run those locate commands on.
Johnny Doomo is offline   Reply With Quote
Old December 6th, 2004, 08:52 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Your using ImageMagick right? Have you tried making that png image a transparent gif as there may be an issue with using the png?

Is png in the allowed images type?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 6th, 2004, 10:46 AM   #16 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
Yep, I'm using Imagemagick. I didn't try making it a gif, but since it was working just fine on the other server, I didn't think I needed to change anything like that. I thought it would be a type of setting outside of photopost that would have changed and needed reset backup when I moved servers. Everything inside of photopost should have stayed the same with the server move.

Could it be a mogrify setting or switch that didn't get turned on? And if there are certain things that need to be enabled, is there a way I can run something in telnet and find out what settings mogrify is currently setup with?

I don't see a spot of where I can include or exclude file types. Is it in a config file that isn't accessable through the photopost control panel? I run an older version of photopost so I may not even have such a setting if it wasn't included in earlier versions.

Is there any questions I should ask my host about how mogrify is setup? I tried to do a make clean from that previously mentioned 6.1.5 install, but I don't think it ever worked.

When I type locate mogrify it gives all these results. I don't know if this is normal, but maybe you can see something that is wrong:

/home/cteadmin/imagemagick/ImageMagick-5.3.8/utilities/mogrify.c
/home/cteadmin/imagemagick/ImageMagick-5.3.8/utilities/mogrify.1
/home/cteadmin/imagemagick/ImageMagick-5.3.8/utilities/.deps/mogrify.Po
/home/cteadmin/imagemagick/ImageMagick-5.3.8/utilities/.libs/mogrify
/home/cteadmin/imagemagick/ImageMagick-5.3.8/utilities/mogrify.o
/home/cteadmin/imagemagick/ImageMagick-5.3.8/utilities/mogrify
/home/cteadmin/imagemagick/ImageMagick-5.3.8/www/mogrify.html
/home/cteadmin/imagemagick/ImageMagick-6.1.5/utilities/mogrify.1
/home/cteadmin/imagemagick/ImageMagick-6.1.5/utilities/mogrify.c
/home/cteadmin/imagemagick/ImageMagick-6.1.5/www/mogrify.html
/usr/local/bin/mogrify
/usr/local/share/ImageMagick/www/mogrify.html
/usr/local/man/man1/mogrify.1
/root/ImageMagick-6.1.5/bin/mogrify
/root/ImageMagick-6.1.5/share/ImageMagick-6.1.5/www/mogrify.html
/root/ImageMagick-6.1.5/include/magick/mogrify.h
/root/ImageMagick-6.1.5/man/man1/mogrify.1

Photopost is currently set to this line: /usr/local/bin/mogrify

Please let me know what else I can do.

Thanks for helping me troubleshoot this problem.
Johnny Doomo is offline   Reply With Quote
Old December 6th, 2004, 10:53 AM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
/usr/local/bin/mogrify is correct

As I posted above your mogrify is not allowing png images ( has not been set to have access to png libraries ) thus you can not upload png images. That is why your watermark has failed.

You can try converting the png watermark to transparent gif and removing png as an acceptable image type in photopost config or see if your host will solve the processor issue.

You no doubt saw my uploads to test this issue and the resolution on your install
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 6th, 2004, 05:42 PM   #18 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
Yeah I saw yer test. So should I tell my host I need my mogrify to be able to process png files? Instead of changing the file (it took me a while to get it just right and it was working fine before I want to change as little as possible) Or the command or whatever I need to make it so that it will process the png files?

Or is changing it to a gif going to be far easier than any of what I mentioned above?

Please let me know.

Thanks!
Johnny Doomo is offline   Reply With Quote
Old December 6th, 2004, 06:19 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
If you want to use ImageMagick yes you would need to compile one that has a working png library.

Have you tried using GD which will do png?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 6th, 2004, 11:05 PM   #20 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
1. ??? I guess I'm confused. I had this same watermark file since I was on my old server. When I firsted logged into my admin CP it was set as ImageMagick that was being used... Yet, if I was using a png file, are you saying that I couldn't have been using ImageMagick because it doesn't support it?

2. Do you know if GD2 makes images look better than ImageMagick?

3. Do you know if ImageMagick vs. GD2 if one is faster at 'doing the job' of making thumbnails, adding watermarks, etc.?

4. If I want to use GD2, what do I need to do to get it installed on my server?

Thanks for all your help, we are close, I can feel it. *crosses fingers*
Johnny Doomo is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:47 AM.

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