Project-Id-Version: Trac 0.12
Report-Msgid-Bugs-To: trac-dev@googlegroups.com
POT-Creation-Date: 2008-01-30 09:20+0100
PO-Revision-Date: 2010-07-19 23:05+0200
Last-Translator: Jeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Language-Team: en_US <trac-dev@googlegroups.com>
Plural-Forms: nplurals=2; plural=(n != 1)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Generated-By: Babel 0.9.6

Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Ticket #198 (closed improvement: fixed)

Opened 6 years ago

Last modified 6 years ago

Path to exiftool with phtagr-2.2-dev-9d327cbd

Reported by: JianZhan Owned by: sebastian
Priority: major Milestone: 2.4
Component: plugin Version: trunk
Keywords: exiftool Cc:

Description

I already install exiftool and tested it with SSH at /home/content/95/4770795/html/exiftool

I used phtagr-2.2-dev-9d327cbd(2.3 had new user sign up problem at the moment I tested it) with godaddy web hosting 2.2

But when I input this path to phtagr and give me error info as the following:
I think it's path problem and phtagr can not find my exiftool correctly.

Notice (8): Undefined variable: output [APP/Controller/Component/ExiftoolComponent.php, line 108]
Code Context

}
$this->controller = $controller;
$this->readExiftoolVersion();

$result = (int) 126
$outputline =

ExiftoolComponent::readExiftoolVersion() - APP/Controller/Component/ExiftoolComponent.php, line 108
ExiftoolComponent::initialize() - APP/Controller/Component/ExiftoolComponent.php, line 70
ObjectCollection::trigger() - APP/cakephp/lib/Cake/Utility/ObjectCollection.php, line 130
call_user_func - [internal], line ??
CakeEventManager::dispatch() - APP/cakephp/lib/Cake/Event/CakeEventManager.php, line 246
Controller::startupProcess() - APP/cakephp/lib/Cake/Controller/Controller.php, line 670
Dispatcher::_invoke() - APP/cakephp/lib/Cake/Routing/Dispatcher.php, line 100
Dispatcher::dispatch() - APP/cakephp/lib/Cake/Routing/Dispatcher.php, line 85
[main] - APP/webroot/index.php, line 126

By the way, phtagr is the best gallery at the world because it is only gallery used meta tag info to organize gallery.

Sincerely

Jian Zhan

Change History

comment:1 Changed 6 years ago by sebastian

Please use the latest version and try again.

PS: Thank you very much for the bug reporting and using phTagr. And thank you for enjoying the gallery so far. I'm sorry that currently state with more problems as usual due internal changes. I try to fix them ASAP - so keep reporting :-)

I recommend to install phtagr via git if possible to stay uptodate properly. See HowToMigrateToGit and HowToInstallFromGit

comment:2 Changed 6 years ago by JianZhan

Hi Sebastian,

Thank you for your good job first.

I tested with my exiftool and it's OK.

So I think Path to exiftool still has problem.

I can wait a new fix version to do a great website. My website: www.LavaDecor?.com

Your gallery is exactly what I want use meta to organize the whole gallery. I think your gallery is the guide for the future gallery.

Sincerely

Jian Zhan

comment:3 Changed 6 years ago by sebastian

Could you explain you problem with exiftool and phtagr? What goes wrong? Can php execute external programs like exiftool and is exiftool executable? Does the log file in tmp/logs say something about exiftool?

comment:4 Changed 6 years ago by JianZhan

Hi Sebastian,

It took me the whole day to figure out what's wrong.

If I just type ~$ exiftool and my godaddy gave me
-bash: exiftool: command not found

But if I tried ~$ perl exiftool and it works fine.

So I think godaddy web hosting 2.2 only accept with prefixed by the word perl, and we can run exiftool.

Hope this can help you to fix Path to exiftool problem.

I just tested my exiftool in my server commend line with SSH not in php.

Sincerely

Jian Zhan

comment:5 Changed 6 years ago by JianZhan

Hi Sebastian,

Please email me your change notes:

What's files were changed because I will update with 2.2-dev-9d327cbd version myself.

I will upgrade to 2.4 when it was mature.

Sincerely

Jian Zhan

comment:6 Changed 6 years ago by JianZhan

Hi Sebastian,

I think you should change from exiftool to perl exiftool in ExiftoolComponent?.php

But I checked ExiftoolComponent?.php and not successfully change it.

I am strong in front end graphic design not strong in PHP. You can check my website www.lavadecor.com and it takes all info from image meta tag etc. I just used php exif_read_data to do my website.

But your gallery is exactly what I want with image meta tag etc to organize gallery.

Sincerely

Jian Zhan

comment:7 Changed 6 years ago by sebastian

  • Owner set to sebastian
  • Status changed from new to accepted

(if you are new to unix/linux, file permissions and the executable flag, please google some information for it)

Regarding exiftool: Exiftool must be executable. If exiftool is located in ~/exiftool (your home directory /home/content/95/4770795/html) try

~$ chmod +x exiftool

to make exiftool executable and try to exectue

~$ ./exiftool

again. "ls -l exiftool" should return something like

~$ ls -l exiftool
-rwxr-xr-x 1 root root 193779 Jul 27 2011 /usr/bin/exiftool

where the three 'x' in the first column are very important.

If this does not help, you can send me temporary ssh host/user/password to support@phtagr.org and I can have a look directly on your website to fix it.

Regarding changes: You can see the code changes from https://github.com/xemle/phtagr/commits/master

Hope that helps

comment:8 Changed 6 years ago by JianZhan

Hi Sebastian,

I double checked my setup for exiftool and everything is correct.

I also email you SSH info but it was rejected due to your server wasnot yet authorized to deliver mail from 451-<sales@lavaink.com> to <support@phtagr.org>

Please authorized my email and I can send you all SSH info again.

Sincerely

Jian Zhan

comment:9 Changed 6 years ago by JianZhan

Hi Sebastian,
"I've checked you installation. You problem was that /home/content/95/4770795/html/exiftool is the directory of exiftool and the executable is /home/content/95/4770795/html/exiftool/exiftool. After changing it, exiftool works as expected and does metadata read and write test with an image.

Have fun using phtagr!

Sebastian"

Thank you so much!!!

Sincerely

Jian Zhan

comment:10 Changed 6 years ago by sebastian

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.