[Plugin: BackUpWordPress] 1.6.1 issues with ABSPATH to site root
I just updated my BackupWordPress from release 1.5 to the new 1.6.1 today.
But now, the backup fails.
In fact, I got a ‘strpos’ error message (in backupwordpress/plugin.php – line 112) on all pages (backend and frontend) of the wordpress site.
Just sneaking around inside the faulty file, I found an explanation to all that mess: my backups path is the default one, and the wordpress path is on the site root. I clarify:
– the wordpress site is something like http://my.beautiful.wp/ (so ABSPATH = ‘//’)
– the backup folder is ‘/wp-content/backups/’ (relative to site tree)
Thus, the ‘strpos’ function does not seem to appreciate when the second argument is empty; which is the case here with “
hmbkp_conform_dir( ABSPATH )” providing an empty string…
I tried to fix adding a test on the emptiness of the conform ABSPATH. I did not get anymore the strpos error message, but the backup is still impossible because of another issue with the class file hm_backup.php.
I finally gave up at that point, and I reloaded the old 1.5 version that works fine for me…
It’s a pretty good plugin I used for months without any problem. Thanks for it.
It’s a pity the new release is not working as fine.
- The topic ‘[Plugin: BackUpWordPress] 1.6.1 issues with ABSPATH to site root’ is closed to new replies.