Write to tmp folder
I am guessing the library in question is this one, and the error you are getting is this exception:
if (!is_writable($this->GetPathToTemporaryFolder()))
throw new \MangoPay\Libraries\Exception('Cannot create or write to file ' . $this->GetPathToTemporaryFolder());
So basically we seem to be debugging a call to is_writable()
.
- make sure
allow_url_fopen
is on - if applicable, make sure the URL includes the FTP password
- make sure the folder exists and the FTP account has write permissions (777 should suffice...)