The error:
sh: line 1: $'p\303\245': command not found
(https://www.fotoarkiv.no/priv/write.png)
I don't even see if/where you are running ExifTool. And the given error isn't an ExifTool error.
- Phil
$command = isset($conf['exiftool_path']) ? $conf['exiftool_path'] : 'exiftool -m -codedcharacterset=utf8 -overwrite_original';
$command.= ' -q';
if (strlen($name) > 0)
{
# 2#105 in iptcparse($imginfo['APP13'])
$command.= ' -IPTC:Headline="'.$name.'"';
# 2#005 in iptcparse($imginfo['APP13'])
$command.= ' -IPTC:ObjectName="'.wm_cutString($name, 64).'"';
}
if (strlen($description) > 0)
{
# 2#120 in iptcparse($imginfo['APP13'])
$command.= ' -IPTC:Caption-Abstract="'.$description.'"';
}
if (strlen($date_creation) > 0)
{
# 2#055 in iptcparse($imginfo['APP13'])
$command.= ' -IPTC:DateCreated="'.$date_creation.'"';
}
if (strlen($date_available) > 0)
{
# 2#030 in iptcparse($imginfo['APP13'])
$command.= ' -IPTC:ReleaseDate="'.$date_available.'"';
}
I found the problem. The html code had double quotes ". changed to single quote' Problem solved.