Go to /include/Gpf/Templates/ in your PAP folder and edit file Smarty.class.php
Find the following string
private static function getSysTempDir() {and add a new line after that; it must contain a relative path to your temporary folder. This path is relative to the install/ folder.
return './TEMP/';save file and run installation. Skip the integrity check when you get: include/Gpf/Templates/Smarty.class.php CORRUPTED
In order to skip the integrity check use this parameter:
https://yourserver.com/affiliateFolder/install/index.php?p=F