 | |  | | | Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here. |
December 9th, 2008, 06:53 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Sep 2006 Location: Bonn - Germany
Posts: 94
| How come: Warning on upload
I think after upgrading to 6.2, I get this errormessage on uploading images: Code: Content visible to verified customers only.
As I want to use jhead to display exif-informations I added those lines in admin options: Code: Content visible to verified customers only.
Is there something wrong with this line maybe which causes the error?
|
| |
December 9th, 2008, 09:59 AM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Jan 2007
Posts: 126
|
Try this path for jhead Code: Content visible to verified customers only.
|
| |
December 9th, 2008, 11:35 AM
|
#3 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
Exec has been disabled which means you can not use a program outside the actual server root of your site.
/usr/bin/jpegtran is outside the server root of /www/htdocs/myserver as an example so you can not use jpegtran.
|
| |
December 10th, 2008, 02:20 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Sep 2006 Location: Bonn - Germany
Posts: 94
|
yeah, but than again I put in Code: Content visible to verified customers only.
so it would be inside the server root again, wouldn't it?
And: WHY has exec been disabled? I mean, I didn't change anything except putting in that path.
The documentation says: (...)For this to work properly you need to have a properly installed JHEAD program which has the proper path set in the config-inc.php
But there is no entry in config-inc.php that I could edit?!?
Last edited by CeBra; December 10th, 2008 at 02:30 AM.
|
| |
December 10th, 2008, 02:48 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
because the path your specifying is not within the actual server root they specify on the server and your host has disabled exec you need to email them about this.
|
| |
December 10th, 2008, 02:53 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Sep 2006 Location: Bonn - Germany
Posts: 94
|
most probably the latter. I've emailed them. Let's see. Thanks Chuck.
So when does this exif-icon show up? Only if data could be extracted and is available to show (in my case once that exec is working) ?
I enabled the show exif-option in admin already.
|
| |
December 10th, 2008, 03:24 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Sep 2006 Location: Bonn - Germany
Posts: 94
|
my provider has in fact disabled exec for security reasons. They told me these alternatives:
1. rename the file (image-inc.php) to *.phpx so PHP works as CGI which than is allowed to use exec
2. make a .htaccess file to have the PHP files working as CGI.
Content of .htaccess should be
with PHP5 in CGI-Mode:
AddHandler php5-cgi .php
with PHP4 in CGI-Mode:
AddHandler php4-cgi .php
But than again, they warned me of possible session problems?
HELP! What do you recommend to do? Edited to add: I tried to change image-inc.php to image-inc.phpx and modified the call of this file in 6 other files as well. I still got the error message
Last edited by CeBra; December 10th, 2008 at 06:41 AM.
|
| |
December 10th, 2008, 10:27 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
My suggestion would be to not use jpegtran etc simply use gd2 to process your images.
|
| |
December 10th, 2008, 10:30 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Sep 2006 Location: Bonn - Germany
Posts: 94
|  I thought I had to use jhead in order to extract EXIF?
Could you point me to a thread or a documentation which explains how else to extract exif? In admin options I have gd2 selected to process my images.
|
| |
December 10th, 2008, 10:32 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
You can not do any of those things if your server has disabled exec. If you really want that stuff you need to move to a more non restrictive host.
|
| |
December 10th, 2008, 10:33 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Sep 2006 Location: Bonn - Germany
Posts: 94
|
yeah, seems like. Any thoughts from your part on using the php->cgi conversion in terms of speed of photopost?
|
| |
December 10th, 2008, 10:36 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
can not say never have tried that and know of no one that has. Something like that would not be a prefered way of running php.
|
| |
December 10th, 2008, 10:37 AM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Sep 2006 Location: Bonn - Germany
Posts: 94
|
All right. Thanks for your help. Always appreciated!
|
| |
December 10th, 2008, 10:38 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
have a good evening.
|
| | |
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 12:57 AM. | |