The purpose of this script is to help you debug your yappa-ng setup in case of the hated "broken images". This script will be very verbose to help even unexperienced users to find the setup-mistakes which lead to the "broken-images". yappa-ng calls the ImageMagick convert utility with an external system-call from the PHP script and that makes debugging difficult. Because of this fact there are no errormessages if the convert-utility does not work correct and the errormessages generated from the convert utility cannot be viewed. Even if you use the GD-library the past has shown that it is sometimes not obvious where the error in the setup is located.
This script helps you step by step to get yappa-ng running! :-)
Hint: The script check_setup.php is a standalone script for debugging purposes too. It checks your environment and notes your configured parameters and checks some basic permissions. It writes a file check_setup.txt which you have to send to me when you call for support!
This check_noimage.php script assumes that you have installed yappa-ng for the first time and have all directories and the DEMO-image in place.
The script checks an image yappa-ng_DEMO.jpg in a directory ./photos/sample relative to your yappa-ng installation.
The main yappa-ng-directory where the sourcecode is located can have any name you want - you have only to define it correctly in the config.inc.php
Everything correct until now! :-)
You have caching enabled in your config.inc.php! I'm now checking for the "cache_root": /tmp/yappa-ng_cache
-->Step 1.2.1: check for the existance of the cache_root directoryYou have 5 errors with your "cache_root" which you defined in the config.inc.php as
/tmp/yappa-ng_cache.
The errormessages above should be verbose enough to help you pinpoint the problem and solve it.
...aborting...