Okay two things here to check.
1. To use the header-inc.php file in admin edit integration you must state the correct paths to the forum and photopost and urls
2. You must enter a path in your config-inc.php to the mogrify command on your server as right now you have that set empty