pisymbol
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin Backup] Error: Failed to upload archive to Google DriveI meant PHP.
Forum: Plugins
In reply to: [Plugin Backup] Error: Failed to upload archive to Google DriveTwo things I don’t understand after reading some more:
https://developers.google.com/drive/v1/reference/files/update#examples
Shouldn’t you be using the Google Drive API.
Btw, there is a Python API included in zend.
Forum: Plugins
In reply to: [Plugin Backup] Error: Failed to upload archive to Google DriveI am too a bit confused by the doc. It took me 20 minutes to figure out that docs is now drive and the Gdata protocol is what you are using.
But this doesn’t work for me which sucks….
Forum: Plugins
In reply to: [Plugin Backup] Error: Failed to upload archive to Google DriveI tried a blank folder ID, so just root. Same problem. I revoked the auth and copied the secret again (double checked the redirect URI under “Client ID for web applications” and its correct). It authorized my key without a hiccup.
So why 404? Is the URL to the GDrive API correct?
Forum: Plugins
In reply to: [Plugin Backup] Error: Failed to upload archive to Google DriveWarning: file_get_contents(https://docs.google.com/feeds/upload/create-session/default/private/full/folder%3A<correct hash of gdrive folder>/contents?convert=false) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in backup.php 393
Warning: Cannot modify header information – headers already sent by (output started at /home/pisymbol/public_html/wp-content/plugins/backup/backup.php:393) in backup.php 294
Hmm, 404.
Forum: Plugins
In reply to: [Plugin Backup] Error: Failed to upload archive to Google DriveYes hel.io, when the plugin installed, it made the backup/ folder 640, I changed it to 740 so the apache user could write to it (probably “nobody”). For some odd reason I originally thought you were writing to plugins/backup, not backup/. My mistake.
I am running 1.1.4.
I am seeing the correct folder hash (checked for that already).
Okay, my mistake. I am indeed seeing %3A<folder hash> and it is the correct hash. But it still doesn’t work?!
I just tried again, and I still see:
ERROR Unable to request file from …
ERROR Failed to upload archive to Google Drive!Not sure what I am doing wrong? Yhe site is definitely authorized by the Google API.
Forum: Plugins
In reply to: [Plugin Backup] Error: Failed to upload archive to Google DriveSorry what I meant to say is the hash that I saved in the Backup plugin settings matches Google. However, the <folder hash here> is a different string (I say this because the code seems to be fetching the option in the code on L427 but it was a quick cursory look this morning).
Forum: Plugins
In reply to: [JetBackup - Backup, Restore & Migrate] Backup Plugin Errorhel.io, I posted here:
Sorry for the thread jack.
Forum: Plugins
In reply to: [JetBackup - Backup, Restore & Migrate] Backup Plugin ErrorI just tried the plugin and I am getting two different failures when I try to manually backup my site via the /backup URL:
1) Permission denied on error_log() calls (L779), my entire directory structure is 755 so I am not sure why your plugin is barfing on writing out backup.log
2) Warning: Cannot modify header information – headers already sent by on <path to backup.php> on 268
The plug has authorized correctly with Google API Gdrive subsytem. The client ID is correct as well as the folder ID.
I am not sure why the function error_log is failing. Again all directories are 755 (wp-content/plugins/backup) yet it won’t write out backup.log.
What am I doing wrong?