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 Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 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?
CeBra is offline   Reply With Quote
Old 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.
Simons is offline   Reply With Quote
Old December 9th, 2008, 11:35 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
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 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.
CeBra is offline   Reply With Quote
Old December 10th, 2008, 02:48 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
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 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.
CeBra is offline   Reply With Quote
Old 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.
CeBra is offline   Reply With Quote
Old December 10th, 2008, 10:27 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
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 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.
CeBra is offline   Reply With Quote
Old December 10th, 2008, 10:32 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
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 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?
CeBra is offline   Reply With Quote
Old December 10th, 2008, 10:36 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
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 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!
CeBra is offline   Reply With Quote
Old December 10th, 2008, 10:38 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
have a good evening.
__________________
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
Warning: Division by zero during photo upload skidpics Photopost Pro Bug Reports 1 September 28th, 2008 05:40 PM
warning? LoriW Photopost Pro How Do I...? 8 May 11th, 2008 09:33 PM
Security warning at Image upload CeBra Photopost Pro Bug Reports 12 November 16th, 2006 12:07 PM
Warning!? plingan Photopost Pro Installation & Upgrades 4 October 27th, 2005 04:49 PM
Mysql warning? copefan Photopost Pro Installation & Upgrades 2 August 4th, 2004 09:03 AM


All times are GMT -5. The time now is 12:57 AM.

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