I am trying to use a service account in the Google API to add a calendar event using php. I am already working great on the site. When I moved it to another site on the same server, I suddenly started receiving the following error messages:
~ PHP Warning: mkdir (): permission denied in Google / Cache / File.php
~ Failed to throw "Google_Cache_Exception" with the message "Could not create storage directory: in Google / Cache / File.php
Both environments are the same, as far as I can tell ~ The same server ~ The same permissions for all files / folders ~ The same credentials ~ Both URLs are authorized in the Google console.
I checked on my server to find out if there could be something in the answer back here , but was sure that everything was configured correctly.
I searched and read a lot, but I can’t imagine what could cause these errors when everything works fine with another site.
Any help would be greatly appreciated!
source
share