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 February 21st, 2007, 11:40 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 11
Send a message via MSN to twizted@dragonmo Send a message via Yahoo to twizted@dragonmo Send a message via Skype™ to twizted@dragonmo
Error 1 on server move

My Host decided to move me to a new serve and since then I have had this issue.. I can not figure it out and I have been trying for weeks along with the help of my Host company tech support.

Here is the error
Code:
Content visible to verified customers only.
I have checked all of the folders and sub-folders in data and they are all 777

I have also switched to GD2 and it works fine but I want to use ImageMagick as I was before. Can someone in staff or development PLEASE help me figure this problem out? I am at my wits end... Please help!

Oh yeah my gallery is located at http://www.dragonmodz.net
twizted@dragonmo is offline   Reply With Quote
Old February 21st, 2007, 11:42 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
You need to ask your host if Imagemagick is installed correctly on the server as it appears that it is not setup right. error code 1 is a permissions error meaning you can not use it. We have information on how you can install it if you have ssh access here otherwise you need to use gd2

http://www.photopost.com/howtoinstall-php.html
__________________
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 February 21st, 2007, 04:03 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 11
Send a message via MSN to twizted@dragonmo Send a message via Yahoo to twizted@dragonmo Send a message via Skype™ to twizted@dragonmo
Quote:
Originally Posted by Chuck S View Post
You need to ask your host if Imagemagick is installed correctly on the server as it appears that it is not setup right. error code 1 is a permissions error meaning you can not use it. We have information on how you can install it if you have ssh access here otherwise you need to use gd2

http://www.photopost.com/howtoinstall-php.html
I'm waiting to see what they say, I told them what you said and pointed them to this thread in the support ticket and I hope they can get it fixed as its been almost 2 weeks and no progress has been made at all.

If you have any more info that could help me it would be much appreciated. Thanks...
twizted@dragonmo is offline   Reply With Quote
Old February 21st, 2007, 04:22 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
Nothing other than using GD2 sorry
__________________
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 February 22nd, 2007, 09:29 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 11
Send a message via MSN to twizted@dragonmo Send a message via Yahoo to twizted@dragonmo Send a message via Skype™ to twizted@dragonmo
Ok update...

This is what I got as a reply from the tech...

Quote:
I can't agree with the forum post because I wrote a test script that executes the same command as the gallery script does and it successfully ran mogrify which returned 0 as the exit code where are the gallery was getting 1. The script is available at http://gallery.dragonmodz.net/lptest/im.php.

I have gone ahead and slightly modified the image-inc.php for the return code of mogrify. If the script sees 1 on exist of mogrify, the execution is identified as successful. I was able to upload a test jpeg file after that.

Please let us know if you have additional questions or concerns.

I hope this helps.
My question is will this effect the operation of the gallery in any way? I don't know what he done but it seems to be working now but I don't want to run into unexpected problems down the line because of the edit to the core file.

I have attached a ZIP of the original file from my install and the modified version for referance.

Thanks in advance...
Attached Files
File Type: zip image-inc.zip (13.1 KB, 4 views)
twizted@dragonmo is offline   Reply With Quote
Old February 22nd, 2007, 10:00 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
Your running it seems a very old version cause your file does not match up to our present file so I really have no basis for comparison to see what he changed.

Have you tried using the latest code 5.62
__________________
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 February 22nd, 2007, 11:55 AM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 11
Send a message via MSN to twizted@dragonmo Send a message via Yahoo to twizted@dragonmo Send a message via Skype™ to twizted@dragonmo
I included the original unaltered image-inc.php file in the zip. It is from the release I am running in an unaltered state.
twizted@dragonmo is offline   Reply With Quote
Old February 22nd, 2007, 12:06 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
I did not even look at that but if it works your fine

He just added that

if ($retval == 1) $retval = 0;

He is just saying there ignore the permissions error.

You might be best to upgrade depending on your version since your copy is 2 years old and would have security concerns that have been addressed in later versions
__________________
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 February 22nd, 2007, 12:08 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 11
Send a message via MSN to twizted@dragonmo Send a message via Yahoo to twizted@dragonmo Send a message via Skype™ to twizted@dragonmo
Found the thing he changed...

Original:
Code:
Content visible to verified customers only.
Modified
Code:
Content visible to verified customers only.
He added "if ($retval == 1) $retval = 0;"
twizted@dragonmo is offline   Reply With Quote
Old February 22nd, 2007, 12:16 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 11
Send a message via MSN to twizted@dragonmo Send a message via Yahoo to twizted@dragonmo Send a message via Skype™ to twizted@dragonmo
So basically it is a server permissions issue and he is simply circumventing this by this code yes?
twizted@dragonmo is offline   Reply With Quote
Old February 22nd, 2007, 12:23 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
yes would appear so. error code 1 on the imagemagick site is listed as a permissions issue
__________________
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 February 22nd, 2007, 12:58 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2004
Posts: 11
Send a message via MSN to twizted@dragonmo Send a message via Yahoo to twizted@dragonmo Send a message via Skype™ to twizted@dragonmo
OK This is the reply I got last from the support tech

Quote:
Originally Posted by Host Tech Support
I had to edit the script itself because there was no other reasons of why it might be not working. I really doubt that it is a permissions issue. If it is, why does mogrify work even giving 1 as the result code? If permissions did not allow the script to access an uploaded file, they also might prevent it from executing mogrify for that file. Also, GD transformation works fine with the same permissions.

As I noted in my previous reply, my test script that runs mogrify the same way does not give any errors. Can you please show it to the developer and ask why it works given it uses the same php.ini, user privileges etc. as their script. This will help to clear up this knotty problem.
I have attached the files he is refering to having used on my server. The ones he said worked just fine on the same server. I have asked him to explain to me why the script is not working now without the modification he added if it was not the server issue since the server is the only changed variable in this whole issue.

Thanks for the continued help with this.
Attached Files
File Type: zip lptest.zip (90.7 KB, 1 views)
twizted@dragonmo is offline   Reply With Quote
Old February 22nd, 2007, 01:25 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
I dont think there is anything more I can add here as this is an issue you have with this specific server. My suggestions remains for you to upgrade to code that is not 2 years old.
__________________
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
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error after server move, please help camel Photopost Pro How Do I...? 5 March 31st, 2007 01:59 PM
File Path Error with Server Move Head Roller Installs and Upgrade - vBulletin 3.5.X 1 November 12th, 2006 10:01 AM
Server Move Help mackers8923 Photopost Pro Installation & Upgrades 3 August 15th, 2006 07:59 PM
Upload error after server move bplinson Photopost Pro Installation & Upgrades 4 January 23rd, 2006 10:18 AM
Need Help move to new server**UPload Error*** mitomcua Photopost Pro Installation & Upgrades 2 December 27th, 2004 08:30 AM


All times are GMT -5. The time now is 07:32 PM.

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