The Logic Behind Check Up Tool
From JVideoDirect Documentation
This Check Up Tool will check if the minimum requirement is met for jVideoDirect to operate correctly.
If you have failed any test, please visit Troubleshooting - Checkup
Before you start using this tool, you must first determine which "add video mechanism" that is best suit your need.
This parameter can be found at configuration -> upload
Fetch embed only
- If "Fetch embed only" - No Video Upload or Download will take place. This site videos are purely embedded from other supported platforms. If NO CONVERTER is in place, you must switch this to "Fetch Embed Only".
Fetch & Upload
- You have CONVERTER installed and you are preparing for a video uploading site.
Test 1: PHP Configuration
Depending on your "add video mechanism", it tests existence of php functions required and recommended php configuration settings.
Test 2: Directory Permission
Depending on your "add video mechanism", it performs in different method.
For "Fetch embed only"
- it uses cURL library or file_get_contents function if exists to trigger a checkup file located at administrator/components/com_jvideodirect/tools
- It will create an empty file "index.htm" using fopen to joomlaRoot / jMediaDirect and all sub-directories under it.
- a verification of the existence of this empty file in every directories determine the result of this test.
for "Fetch & Upload"
- it uses exec() to trigger a command that included your PHP path or Wget path provided (depending on your "Converter Call Method" in configuration -> converter).
- The command will execute a file located at administrator/components/com_jvideodirect/tools
- It will create an empty file "index.htm" using fopen to joomlaRoot / jMediaDirect and all sub-directories under it.
- a verification of the existence of this empty file in every directories determine the result of this test.
This required the existence of "exec()" function, correct PHP path entered and correct directory permission to successfully pass this test.
In Summary, as long as the empty "index.htm" can be written in the directories using the above method. This test will pass.
Test 3: Background Processing
This test is only required for video uploading site.
- It uses exec() to trigger a command that included your PHP path or Wget path provided using background process method.
- It double check the existence of the empty file (index.htm created in the previous test) in every directories determine the result of this test.

