[ABD] Dropbox Upload for Auto db Backup

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][RC] Dropbox Upload for Auto db Backup

Post by david63 »

Have you re-uploaded the vendor folder for this extension?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
WelshPaul
Registered User
Posts: 420
Joined: Tue Aug 19, 2014 2:09 pm

Re: [3.2][RC] Dropbox Upload for Auto db Backup

Post by WelshPaul »

david63 wrote: Fri May 05, 2017 4:34 pm Have you re-uploaded the vendor folder for this extension?
Yes, multiple times.

I have deleted the entire extension from both servers and re-downloaded it from the link contained in the first post, re-uploaded and enabled but still nothing.

I have even deleted the dropbox app and created another, re-entering the new key, secret and access token but again, nothing. I'm stumped! Maybe i'm missing a dependancy server side? :?
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][RC] Dropbox Upload for Auto db Backup

Post by david63 »

After spending a large part of today looking into this I have been unable to re-create that error. My only thought is that it is something to do with your server set-up, but what it might be I have not got a clue.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Hartenheer
Registered User
Posts: 780
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: [3.2][RC] Dropbox Upload for Auto db Backup

Post by Hartenheer »

On the forum it is not possible, then we will go on here
Sorry, right extension now, get 404 code

If you download you will get the wrong url

Weergave naam:
Dropbox upload for autobackup
Schone naam:
david63/dropboxupload
Beschrijving:
Extends autobackup to allow the copying of the backup file to your Dropbox account
Versie:
2.1.0-rc1
Publicatiedatum:
2017-01-05
Licentie:
GPL-2.0
Benodigdheden
phpBB-versie:
>=3.2.0
PHP-versie:
>=5.4.0
Auteursinformatie

Naam:
David Wood
Rol:
Developer

Naam:
Kunal Varma
Homepage:
https://github.com/kunalvarma05/dropbox-php-sdk
Rol:
Creator - Dropbox stk


Image
Sorry English is not my native language :oops:
regards: Willem

https://bierfijnproevers.nl/bierforum
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][RC] Dropbox Upload for Auto db Backup

Post by david63 »

Hartenheer wrote: Thu Aug 10, 2017 2:35 pm now, get 404 code
You can ignore that - it is a minor bug in that version and does not affect the running of this extension.
Hartenheer wrote: Thu Aug 10, 2017 2:35 pm If you download you will get the wrong url
Download what from where?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Hartenheer
Registered User
Posts: 780
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: [3.2][RC] Dropbox Upload for Auto db Backup

Post by Hartenheer »

I hope it's going to work.
Will you let it know.

Here is the download I used earlier

Image
Sorry English is not my native language :oops:
regards: Willem

https://bierfijnproevers.nl/bierforum
User avatar
janus_zonstraal
Registered User
Posts: 6427
Joined: Sat Aug 30, 2014 1:30 pm

Re: [3.2][RC] Dropbox Upload for Auto db Backup

Post by janus_zonstraal »

David63 I take a look in the errorlogs from Hartenheer and see the following error(s)

Code: Select all

PHP Fatal error:  Class 'Kunnu\Dropbox\DropboxApp' not found in /home/willem2q/deijmuidennaar.nl/ext/david63/dropboxupload/event/listener.php on line 145
Sorry! My English is bat ;) !!!
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][RC] Dropbox Upload for Auto db Backup

Post by david63 »

janus_zonstraal wrote: Sat Aug 12, 2017 10:02 am David63 I take a look in the errorlogs from Hartenheer and see the following error(s)

Code: Select all

PHP Fatal error:  Class 'Kunnu\Dropbox\DropboxApp' not found in /home/willem2q/deijmuidennaar.nl/ext/david63/dropboxupload/event/listener.php on line 145
That would suggest that the vendor folder is missing from the extension - the download HAS to be from the release and not from the git branch or Composer has to be run
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
WelshPaul
Registered User
Posts: 420
Joined: Tue Aug 19, 2014 2:09 pm

Re: [3.2][RC] Dropbox Upload for Auto db Backup

Post by WelshPaul »

Whoa... This is the error I had?

The vendor file must be in the extension? I downloaded the git version and thought the required vendor file that you mentioned was the one in the phpBB root! That's why it never worked for me then!!

EDIT: Downloaded this version and it works now. :|
User avatar
Hartenheer
Registered User
Posts: 780
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: [3.2][RC] Dropbox Upload for Auto db Backup

Post by Hartenheer »

It works great now.
With the help of Janus_zonstraal
Sorry English is not my native language :oops:
regards: Willem

https://bierfijnproevers.nl/bierforum
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][RC] Dropbox Upload for Auto db Backup

Post by david63 »

Hartenheer wrote: Sun Aug 13, 2017 5:20 pm It works great now.
With the help of Janus_zonstraal
If you had used the download link in the OP it would have worked all along.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
janus_zonstraal
Registered User
Posts: 6427
Joined: Sat Aug 30, 2014 1:30 pm

Re: [3.2][RC] Dropbox Upload for Auto db Backup

Post by janus_zonstraal »

If you had used the download link in the OP it would have worked all along.
For non English speaking people it is not always so simple ;)
Sorry! My English is bat ;) !!!
User avatar
WelshPaul
Registered User
Posts: 420
Joined: Tue Aug 19, 2014 2:09 pm

Re: [3.2][RC] Dropbox Upload for Auto db Backup

Post by WelshPaul »

Well it worked the first time. The second database backup was successful but the dropbox backup failed, logs display the following error:
Dropbox returned the error
»» Error in call to API function "files/upload_session/finish": HTTP header "Dropbox-API-Arg": cursor.offset: expected integer, got float
EDIT:
Think I found the problem. Opened the dropbox.php file and replaced:
$chunkSize = $fileSize / 2;

With:
$chunkSize = intval($fileSize / 2);
User avatar
Hartenheer
Registered User
Posts: 780
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: [3.2][RC] Dropbox Upload for Auto db Backup

Post by Hartenheer »

WelshPaul wrote: Mon Aug 14, 2017 9:55 am Well it worked the first time. The second database backup was successful but the dropbox backup failed, logs display the following error:
Dropbox returned the error
»» Error in call to API function "files/upload_session/finish": HTTP header "Dropbox-API-Arg": cursor.offset: expected integer, got float
EDIT:
Think I found the problem. Opened the dropbox.php file and replaced:
$chunkSize = $fileSize / 2;

With:
$chunkSize = intval($fileSize / 2);
After a test, the time adjusted for a backup.
1x he skipped, nothing done
Just let it go and work fine again
Sorry English is not my native language :oops:
regards: Willem

https://bierfijnproevers.nl/bierforum
User avatar
WelshPaul
Registered User
Posts: 420
Joined: Tue Aug 19, 2014 2:09 pm

Re: [3.2][RC] Dropbox Upload for Auto db Backup

Post by WelshPaul »

Hartenheer wrote: Tue Aug 15, 2017 7:34 am
WelshPaul wrote: Mon Aug 14, 2017 9:55 am Well it worked the first time. The second database backup was successful but the dropbox backup failed, logs display the following error:
Dropbox returned the error
»» Error in call to API function "files/upload_session/finish": HTTP header "Dropbox-API-Arg": cursor.offset: expected integer, got float
EDIT:
Think I found the problem. Opened the dropbox.php file and replaced:
$chunkSize = $fileSize / 2;

With:
$chunkSize = intval($fileSize / 2);
After a test, the time adjusted for a backup.
1x he skipped, nothing done
Just let it go and work fine again
I'm using php 7.1.7, I always get the error unless I make the change posted above.
Locked

Return to “Abandoned Extensions”