Closed ghost closed 11 years ago
As you (too) can tell from the error output; You do not have permissions to read or write to the /tmp
directory in your environment.
You can use the setTempPath
method to specify a different path (where you have read and write permissions) in your environment. Example:
$pass->setTempPath('/users/phips99/www/tmp/');
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
hey this is my error code!
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/tmp/PKPass50a50b1ef06d39.40820845) is not within the allowed path(s): (/users/phips99/temp:/users/phips99/www) in /users/phips99/www/MySQLadmin/PKPass.php on line 385
Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(/tmp/PKPass50a50b1ef06d39.40820845) is not within the allowed path(s): (/users/phips99/temp:/users/phips99/www) in /users/phips99/www/MySQLadmin/PKPass.php on line 386
Warning: file_put_contents() [function.file-put-contents]: open_basedir restriction in effect. File(/tmp/PKPass50a50b1ef06d39.40820845/manifest.json) is not within the allowed path(s): (/users/phips99/temp:/users/phips99/www) in /users/phips99/www/MySQLadmin/PKPass.php on line 308
Warning: file_put_contents(/tmp/PKPass50a50b1ef06d39.40820845/manifest.json) [function.file-put-contents]: failed to open stream: Operation not permitted in /users/phips99/www/MySQLadmin/PKPass.php on line 308
Warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty in /users/phips99/www/MySQLadmin/PKPass.php on line 310
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/tmp/PKPass50a50b1ef06d39.40820845/pass.pkpass) is not within the allowed path(s): (/users/phips99/temp:/users/phips99/www) in /users/phips99/www/MySQLadmin/PKPass.php on line 405
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/tmp/PKPass50a50b1ef06d39.40820845/signature) is not within the allowed path(s): (/users/phips99/temp:/users/phips99/www) in /users/phips99/www/MySQLadmin/PKPass.php on line 405
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/tmp/PKPass50a50b1ef06d39.40820845/manifest.json) is not within the allowed path(s): (/users/phips99/temp:/users/phips99/www) in /users/phips99/www/MySQLadmin/PKPass.php on line 405
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/tmp/PKPass50a50b1ef06d39.40820845) is not within the allowed path(s): (/users/phips99/temp:/users/phips99/www) in /users/phips99/www/MySQLadmin/PKPass.php on line 411 Error: Could not read the certificate