PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   An Answer to the Error creating thumbnail! Error code: 127 (http://www.photopost.com/forum/photopost-pro-installation-upgrades/110187-answer-error-creating-thumbnail-error-code-127-a.html)

raptor260 October 13th, 2004 12:13 AM

An Answer to the Error creating thumbnail! Error code: 127
 
I was having the same issue as most users here. This is what I found. about a month ago I found some security issues with PHP so I upgraded it. I also had the edit my httpd.conf file for apache. I added these to lines of code to block the security problem that php has. your provider will have to edit the php.ini or edit your httpd.conf to make photopost work with Imagemagic.
Quote:

php_admin_value safe_mode On
php_admin_value open_basedir /usr/home/domains/byuboyz.com/www:/tmp
If I remove these lines of code Photopost will work and not give me the error code 127.


I hope this helps

Chuck S October 13th, 2004 10:18 AM

Yep on our requirements page it states SAFE MODE MUST BE OFF.

raptor260 October 13th, 2004 11:25 AM

Do you know of a way around the security issues with safe mode off?

Chuck S October 13th, 2004 11:52 AM

Well generally most commercial programs try to follow secure programming guidelines to prevent attack.

It is a noted thing to call an external variable like Imagemagick you need to have SAFE MODE OFF.

There is no workaround.

You can usually use SAFE MODE ON with GD since its an internal function of PHP. However if your running VB3 integration you cant use the header include to pull the VB header over top of Photopost.

Its a give and take situation.

scionlife October 27th, 2004 12:40 PM

My host just upgraded my server to PHP 4.3.8 and I am now having this same problem. My http.conf file has no reference to safe_mode in it at all! I can't figure out what is wrong. Help!

Code:

Content visible to verified customers only.

Chuck S October 27th, 2004 03:07 PM

If your host upgraded our server and most times they move you to a new server have you verified that mogrify exists at /user/bin/mogrify?

127 is error that it can not be found

scionlife October 27th, 2004 03:22 PM

Yeah, that is the funny thing.... it is located in two places on my server because it is an Ensim Webpliance virtual server.... and neither seems to work.


Last night the following upgrades took place:
- perl 5.8.1
- apache 2.0.50
- bind 9.2.2
- curl 7.10.6
- gd 2.0.15
- ImageMagick to 5.5.6
- php 4.3.8
- postgres 7.3.4
- sendmail 8.12.10 (Ensim Customized)
- miva frontend 4.22
- miva expressa 4.11
- frontpage 5.0
- python 2.2.3
- proftpd 1.2.10rc1

Package that remains the same
- mysql 3.23.58

New Packages
- spamassassin 2.63
- mailscanner 4.31.6
- clamav 0.72 (Clam AntiVirus)

I would love if someone could call me and we could discuss this over the phone... there are too many unknowns for me to go back and forth online and I would like to get this up ASAP.

Chuck S October 27th, 2004 04:22 PM

Does gd work? cause if that does not then you might want to check if safe mode is on. It can not be on for uploads to work right

scionlife October 27th, 2004 04:29 PM

Ah-HAH! Safe Mode got turned on during the upgrade... now I just have to figure out how to turn it off. I will try GD also -- all I do is change the dropdown from ImageMacick to GD1 or GD2?

Darren

Chuck S October 28th, 2004 09:50 AM

Yes but you will still most likely have an issue


All times are GMT -5. The time now is 11:59 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