Joomla-Bible-Study / Proclaim

Joomla Proclaim Component - Christian Web Ministries
https://www.christianwebministries.org/
GNU General Public License v3.0
11 stars 9 forks source link

Backup plugin has errors in backup process #5

Closed tomfuller2 closed 12 years ago

tomfuller2 commented 12 years ago

Got email from backup - message said errors in backup process

bcordis commented 12 years ago

Could this be looking for a set value if the backup is processed.

bcordis commented 12 years ago

jbsbackup.php = https://github.com/Joomla-Bible-Study/Joomla-Bible-Study/blob/master/plg_biblestudy_backup/jbsbackup.php

biblestudy.backup.php = https://github.com/Joomla-Bible-Study/Joomla-Bible-Study/blob/master/com_biblestudy/admin/lib/biblestudy.backup.php

looks like on line 199 jbsbackup.php like it is putting it into biblestudy.backup.php

but line 50 only returns to true.

if we look at line but line 216 of jbsbackup.php it is not looking for a boolean statement.

tomfuller2 commented 12 years ago

I've fixed this: https://github.com/Joomla-Bible-Study/Joomla-Bible-Study/blob/master/plg_biblestudy_backup/jbsbackup.php

By having the component admin/lib/ backup file return a file path, then the plugin takes that path to attach to email.