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 December 10th, 2005, 03:04 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 27
Arrow exif

Hi,

When I manually run this command:

/path/to/jhead ./data/505/walnut.jpg

the output is:

-----------------------------------
File name : ./data/505/walnut.jpg
File size : 329658 bytes
File date : 2005:12:10 14:27:10
Camera make : Canon
Camera model : Canon PowerShot A95
Date/Time : 2005:06:10 15:58:02
Resolution : 800 x 600
Flash used : No
Focal length : 23.4mm (35mm equivalent: 593mm)
Digital Zoom : 2.531x
CCD width : 1.42mm
Exposure time: 0.020 s (1/50)
Aperture : f/4.9
Whitebalance : Auto
Metering Mode: matrix

-----------------------------------

However, this EXIF data is not coming up at
http://www.nepalhub.com/gallery/show...&size=big&cat=


The path is correct in the admin options.


Additionally, I got this in the server error_logs:

PHP Notice:

Undefined variable: argv in /path/to/gallery/index.php on line 15
Undefined variable: argv in /path/to/gallery/index.php on line 15, referer: http://www.nepalhub.com/gallery/show...hoto=1&cat=505

Please help.
shashi is offline   Reply With Quote
Old December 10th, 2005, 03:08 PM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 27
Display and extract EXIF information from images? is also set to YES
shashi is offline   Reply With Quote
Old December 10th, 2005, 03:18 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 27
phpinfo shows it has exif support too
shashi is offline   Reply With Quote
Old December 10th, 2005, 06:37 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
I will look into 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, 2005, 07:08 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Okay took me a few minutes to compile a jhead Check you have the right path to jhead in your global options. I show no issues

Here is your photo

http://www.reeftalk.com/gallery/show...t/500/ppuser/1
__________________
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 12th, 2005, 01:28 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 27
PHP Notice:

Undefined variable: argv in /path/to/gallery/index.php on line 15
Undefined variable: argv in /path/to/gallery/index.php on line 15, referer: http://www.nepalhub.com/gallery/show...hoto=1&cat=505

whats the argv ? i am sure this is the issue at my case.
shashi is offline   Reply With Quote
Old December 12th, 2005, 01:46 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
The arguement is null unless encountered. Thus your php reporting is set too high as it reports empty variables

its a safety check
__________________
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 13th, 2005, 11:27 AM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 27
Hi,

Here is a demo of a test script i made.

http://www.nepalhub.com/gallery/test.php

The source code of that test.php is:
-------------------------------------------
<?
$abc=`./jhead ./data/505/walnut.jpg`;
echo "$abc";
echo "<p>";
//

$bcd=`/var/www/vhosts/nepalhub.com/httpdocs/gallery/jhead ./data/505/walnut.jpg` ;
echo "$bcd";
?>
------------------------------------------

jhead is located in the same directory and the path given in the admin option is correct.

I see that calling jhead both ways, as ./jhead from inside the gallery directory and as what the path is given in the admin options seem to work fine in the test.php that I made, but not showing up in the /gallery/

Please tell me how to proceed.





Can you point me to the file from where jhead is called from photopost so that perhaps I can do some echo or print additional debug info.
shashi is offline   Reply With Quote
Old December 13th, 2005, 11:37 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
image-inc.php is the file.

If jhead is install correctly and pointed to it works as I showed. Did you make a fresh jhead and place the proper full path to it in the global options

/usr/bin/jhead EXAMPLE
__________________
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 13th, 2005, 01:58 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 27
the path to my jhead is in /var/www/vhosts/nepalhub.com/httpdocs/gallery/jhead

and this is the same path in the global options

to prove it that jhead is working, my test script is

http://www.nepalhub.com/gallery/test.php

The source code of that test.php is:
-------------------------------------------
<?
$abc=`./jhead -exonly ./data/505/walnut.jpg`;
echo "$abc";
echo "<p>";
//

$bcd=`/var/www/vhosts/nepalhub.com/httpdocs/gallery/jhead -exonly ./data/505/walnut.jpg` ;
echo "$bcd";
?>
------------------------------------------

/var/www/vhosts/nepalhub.com/httpdocs/gallery/jhead is the path set at the global options.


Maybe I am missing some options to set.

global_options:
Path to jhead (if used) -- /var/www/vhosts/nepalhub.com/httpdocs/gallery/jhead

upload photo options:
Display and extract EXIF information from images? YES

---

i got a new theory:

does it extract header at upload only? - or at runtime?

is there a way to force it re-read exif headers ?


i used the `` operator to call jhead/
what does photopost use to call jhead ? perhaps i need to check my php.ini if that method is allowed or something ?
shashi is offline   Reply With Quote
Old December 13th, 2005, 02:02 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
I would suggest you download jhead and recompile a copy.

you can in scan database option in admin check to recheck photos to extract exif information but you need to know it is working by uploading a photo with exif and seeing if it is extracted. You last photo I uploaded and jhead extracted exif fine as I posted.

More than likely you have a permissions issue and recompiling is the way to go. Do not use a precompiled binary.
__________________
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 13th, 2005, 02:03 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 27
none of the functions in php are disabled, nor is it running in safe mode.
shashi is offline   Reply With Quote
Old December 13th, 2005, 02:06 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
This is the version I compiled on my site

http://www.sentex.net/~mwandel/jhead/jhead-2.4.tar.gz
__________________
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 13th, 2005, 02:10 PM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2005
Posts: 27
http://www.nepalhub.com/gallery/show...hoto=2&cat=505

it was working all along after checking the codes, i found that it works only at upload, while I thought it was extracted on runtime.

everything was OK.. I set exif after I had uploaded my first photo.

I will re-scan and i guess that will extract for the first file too.

Thanks,
Shashi
shashi is offline   Reply With Quote
Old December 13th, 2005, 05:10 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
there you go
__________________
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
EXIF info on PP 5.11 ehm Photopost Pro Installation & Upgrades 7 September 22nd, 2009 08:30 AM
Where is Exif link? Anatole Photopost Pro Installation & Upgrades 3 July 1st, 2005 04:42 PM
How do I display EXIF? codfather Photopost Pro Installation & Upgrades 26 April 4th, 2005 08:13 AM
EXIF doesn't work. alzy Photopost Pro Installation & Upgrades 1 March 17th, 2005 10:06 AM
How to see the EXIF info? ehm Photopost Pro Installation & Upgrades 7 February 4th, 2005 04:40 PM


All times are GMT -5. The time now is 11:48 PM.

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