 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
February 21st, 2007, 11:40 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2004
Posts: 11
| 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 |
| |
February 21st, 2007, 11:42 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,947
|
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 |
| |
February 21st, 2007, 04:03 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2004
Posts: 11
| Quote:
Originally Posted by Chuck S 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...
|
| |
February 21st, 2007, 04:22 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,947
|
Nothing other than using GD2 sorry
|
| |
February 22nd, 2007, 09:29 AM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2004
Posts: 11
|
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...
|
| |
February 22nd, 2007, 10:00 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,947
|
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
|
| |
February 22nd, 2007, 11:55 AM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2004
Posts: 11
|
I included the original unaltered image-inc.php file in the zip. It is from the release I am running in an unaltered state.
|
| |
February 22nd, 2007, 12:06 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,947
|
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
|
| |
February 22nd, 2007, 12:08 PM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2004
Posts: 11
|
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;"
|
| |
February 22nd, 2007, 12:16 PM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2004
Posts: 11
|
So basically it is a server permissions issue and he is simply circumventing this by this code yes?
|
| |
February 22nd, 2007, 12:23 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,947
|
yes would appear so. error code 1 on the imagemagick site is listed as a permissions issue
|
| |
February 22nd, 2007, 12:58 PM
|
#12 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2004
Posts: 11
|
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.
|
| |
February 22nd, 2007, 01:25 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,947
|
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.
|
| | |
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 10:27 PM. | |