Dependency on exiftool binary is not checked

Open
#2 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
php
Domain
backend

Research direction

Start in plugins/exiftool_gps/main.inc.php at line 23, where the missing exiftool binary currently produces the foreach warning. Check how the plugin invokes exiftool and define the expected understandable warning for an unavailable binary. Done means the dependency absence is detected and the current warning is replaced.

Written by the indexing model from the issue text.

Description

If exiftool binary is not found on the server the following warning is shown:

Warning: Invalid argument supplied for foreach() 
in.../plugins/exiftool_gps/main.inc.php on line 23

This is not nice and shall be replaced by a check whether exiftool binary is available and a understandable warning shall be output.

Dominant language
PHP
Stars
1
Forks
3
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ramack/exiftool_gps

All issues in ramack/exiftool_gps

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.