netripper
Forum Replies Created
-
Forum: Plugins
In reply to: [Liveblog] Still no button for image uploads?Ran into this as well. Patched it myself so that it includes an upload button.
liveblog/templates/liveblog-form.php (add the line with the + before):
<div class="liveblog-submit-wrapper"> <span class="liveblog-submit-spinner"></span> <input type="button" class="liveblog-form-entry-submit button" value="{{submit_label}}" /> <a href="#" class="cancel">Cancel</a> + <input type="file" id="liveblog_upload_image_button" class="button" value="Upload image..." /> </div>
liveblog/js/plupload.js:
/* Selectors */ - browser: '#liveblog-messages', + browser: '#liveblog_upload_image_button', dropzone: '#liveblog-container',
At least it’s a quick fix that worked for me, as it seems the plugin isn’t maintained anymore.
File backup to Azure doesn’t seem to work when the backup takes a long time.
[02-Mar-2013 16:18:59] Archive size is 42.04 MB. [02-Mar-2013 16:18:59] 3455 Files with 65.35 MB in Archive. [02-Mar-2013 16:18:59] 1. Try sending backup to a Microsoft Azure (Blob) … [02-Mar-2013 16:19:00] Connected to MS Azure container "backup-ictblog". [02-Mar-2013 16:19:00] Upload to MS Azure now started … [02-Mar-2013 16:24:26] Job restart due to inactivity for more than 5 minutes. [02-Mar-2013 16:24:26] STRICT NOTICE: Declaration of OpenCloud\DNS\PtrRecord::Create() should be compatible with OpenCloud\PersistentObject::Create($params = Array) [02-Mar-2013 16:24:26] STRICT NOTICE: Declaration of OpenCloud\DNS\PtrRecord::Update() should be compatible with OpenCloud\PersistentObject::Update($params = Array) [02-Mar-2013 16:24:26] STRICT NOTICE: Declaration of OpenCloud\DNS\PtrRecord::Delete() should be compatible with OpenCloud\PersistentObject::Delete() [02-Mar-2013 16:24:26] STRICT NOTICE: Declaration of OpenCloud\DNS\PtrRecord::UpdateJson() should be compatible with OpenCloud\PersistentObject::UpdateJson($params = Array) [02-Mar-2013 16:24:26] 2. Try sending backup to a Microsoft Azure (Blob) … [02-Mar-2013 16:24:27] Connected to MS Azure container "backup-ictblog". [02-Mar-2013 16:24:27] Upload to MS Azure now started … [02-Mar-2013 16:26:42] WARNING: fwrite(): SSL: An existing connection was forcibly closed by the remote host. [02-Mar-2013 15:26:42 UTC] PHP Warning: mysql_ping(): MySQL server has gone away in C:\DWASFiles\Sites\blogict\VirtualDirectory0\site\wwwroot\wp-content\plugins\backwpup\inc\class-job.php on line 1079 [02-Mar-2013 16:26:42] ERROR: Microsoft Azure API: Error writing request [02-Mar-2013 16:26:42] Job done in 1064 seconds.
When I do a small backup (only the DB) the transfer to MS Azure is fine.
I haven’t had this problem with the 2.x version of BackWPup. Hope you can fix this.
I noticed the HTTP_Request2 PEAR package is included with the plugin, but not properly added to the include_path.
I added this line below the current set_include_path statement in plugins/backwpup/inc/class-destination-msazure.php and it fixed the issue:
set_include_path( get_include_path() . PATH_SEPARATOR . __DIR__ . '/../sdk/PEAR/');
Hope you can fix this in the next release.