finnysamuel
Forum Replies Created
-
I tried reauthorization with same app and creating new app – Both methods did not work..
Array ( [Warning] => [Error] => (#283) Requires extended permission: manage_pages )
Using Latest Free Version of SNAPForum: Plugins
In reply to: [Edit Author Slug] Author Page now shows posts by other users alsoSorry Brandon,
I just found that the issue is not related to your plugin. Marking this as resolved. Apologizing for the inconvenience caused.
By the way, thanks for the great plugin. Appreciate your efforts.
Thanks
FinnyWell, anyways I’ve requested the host to update the PHP version.. So at least till the time PHP version is updated, my hack continues to work, since my site is not too huge. I also tested the upload to Dropbox. That is working as well. So I’m good for the time being..
I could fix the other site’s issue as well by adding the following line to php.ini –
zend_loader.obfuscation_level_support=2Very interesting.. Just tried my hack on the latest version (as well as dev version) and upgraded to latest version of WP – Still doesn’t work!!! Exactly same settings and in same server as in the other sites.. Just shows the message “Opened log file at time: Wed, 10 Jul 2013 23:26:39 +0000 (Jul 10 23:26:39)” (opens a new log file and dies after writing this line!) Any ideas?
Thanks David for your prompt response.. I just tried the development version in one of my sites (same server) – But the issue persists.. It does have the method_exists() line and it failed. The only difference from the previous site is that this one runs 3.4.2 and the other one was 3.5.2
David,
Thanks for responding.. Yea, I figured that out after reading your comment on that PHP bug..A quick question: Since $ziparchive_exists .= ‘No’ also works fine do you think if there would be any issues with my above hack although it is not an optimal solution? Wondering what would be the advantage if $ziparchive_exists .= ‘Yes’?
Thanks
FinnyHi
I had the same issue with one of hosting company PHP version there was 5.3.26 – But this issue was not there for my other hosting which ran PHP 5.3.20 – So definitely this is related to PHP versions..The issue was same – Clicking Backup does not do anything.. Also there were some javascript errors due to the fact that PHP broke in a certain part of the updraft code. (Given below) – After a long debugging, found that the issue is in the following lines of updraftplus/admin.php
if (version_compare(phpversion(), '5.2.0', '>=') && extension_loaded('zip')) { $ziparchive_exists .= __('Yes', 'updraftplus'); } else { $ziparchive_exists .= (method_exists('ZipArchive', 'addFile')) ? __('Yes', 'updraftplus') : __('No', 'updraftplus'); }Since I could identify that updraftplus works even if ZipArchive::addFile is not there (may be using the native php zip), I just commented out that code and hardcoded ‘No’ to that variable (as follows
/*if (version_compare(phpversion(), '5.2.0', '>=') && extension_loaded('zip')) { $ziparchive_exists .= __('Yes', 'updraftplus'); } else { $ziparchive_exists .= (method_exists('ZipArchive', 'addFile')) ? __('Yes', 'updraftplus') : __('No', 'updraftplus'); }*/ $ziparchive_exists .= 'No';Guess What! UpdraftPlus worked fine! (I haven’t yet tested the cloud backup – but the regular backup is working…