Backup Pro and Concrete 8.5.2

Permalink
Hi there

I have discovered installing Backup Pro from the marketplace does not work with C5 8.5.2.
https://www.concrete5.org/marketplace/addons/backup-pro...

As you can see, there is at least one other person trying to use these package on 8.5.2. Unfortunately the creator @mithra62 is not respondig.
https://www.concrete5.org/marketplace/addons/backup-pro/support/cann...

By Installing the Package you'll get an error
Class 'mithra62\BackupPro\Platforms\Controllers\Concrete5Admin' not found


I already tried to fix the problem. But I just can't find the bug. I believe it's probably a simple thing. Could someone take a quick look at the package and try to fix it? This would be absolutely great and I will definitely buy you a beer or coffee.

1 Attachment

Steff
 
JohntheFish replied on at Permalink Reply
JohntheFish
The developer got out of the business of supporting this a few years ago. The source is on Github athttps://github.com/mithra62/backup-pro-c5... and the package is now MIT, so its open for anyone to further develop and fix either voluntarily or commercially.
Steff replied on at Permalink Reply
Steff
Thank you for the github link.
If I'would find the bug, I'd be the first to commit. But unfortunately I just can't find it. I'll take a look at it. If I find the bug i'll post here.
JohntheFish replied on at Permalink Reply
JohntheFish
I have added the github link to the marketplace page, maybe that will help others in the future.
Steff replied on at Permalink Reply 1 Attachment
Steff
OK. I'm a small step further. By adding the following code to the package controller the
Class 'mithra62\BackupPro\Platforms\Controllers\Concrete5Admin' not found
is gone.
protected $pkgAutoloaderMapCoreExtensions = true;
    protected $pkgAutoloaderRegistries = [
        'libraries/mithra62' => 'mithra62'
    ];
    public function getEntityManagerProvider()
    {
        $provider = new StandardPackageProvider($this->app, $this, [
            'libraries/mithra62' => 'mithra62'
        ]); 
        return $provider;
    }


But....
I get a new error. If someone could take a look at it and would point me in the right direction, this would be great.