- This topic has 7 replies, 2 voices, and was last updated 1 year, 8 months ago by
John.
- This topic has prefixes assigned
-
24th February 2022 at 9:20 pm #13952
Addition to the issue reported at #13951.
I did setup the Backup to drop box as per instructions and when I run it I got the following errors (repeated a number of times)
<h3>Files uploaded to Dropbox</h3>
ERROR 2: Trying to access array offset on value of type null
0 Error occurred on line <b>323</b> of file <b>module.php</b> in function <b>uploadFile</b>
1 called from line <b>269</b> of file <b>module.php</b> in function <b>upload</b>
2 called from line <b>215</b> of file <b>module.php</b> in function <b>config</b>
3 called from line <b>53</b> of file <b>module.php</b> in function <b>modAction</b>
4 called from line <b>32</b> of file <b>module.php</b> -
26th February 2022 at 4:00 pm #13958
This is an odd error message.
It is saying that Dropbox did not provide a file name for one (or more) of the files it received in your backup / transfer.
The attached zip folder contains a replacement for the complete “backup_to_dropbox” module (kiwitrees/modules_v4/backup_to_dropbox).
It will revent such errors causing a problem, but doesn’t help understand why it happened.
Please try it, and let me know here if it works OK, and if possible provide a screen dump of the module page after the file transfer to Dropbox completes.
Nigel
My personal kiwitrees site is www.our-families.info -
26th February 2022 at 6:23 pm #13968
When I first run after upgrade it gave me an error something about permission.
<table id=”dropbox”>
<tbody>
<tr>
<th>File name</th>
<th>Size</th>
<th>Last modified date</th>
</tr>
<tr>
<td colspan=”3″>No files uploaded</td>
</tr>
<tr>
<td colspan=”3″>Dropbox error message: <span class=”error”>missing_scope/.</span></td>
</tr>
</tbody>
</table><form class=”clearfloat” action=”https://whakapapa.manueljose.org.nz/module.php?mod=backup_to_dropbox&mod_action=admin_dropbox” method=”post”><button class=”btn btn-primary delete” type=”submit”><i class=”fa fa-dropbox”></i> backup</button></form>
Dropbox and the Dropbox logo are trademarks of Dropbox, Inc. -
26th February 2022 at 6:27 pm #13969
Question 1 – Have you gone through the instructions and set up the Dropbox API requirements?
Question 2 – Can you switch to PHP ver 7.4. It may have a bearing on both this issue, and the Datbase backup issue.
Nigel
My personal kiwitrees site is www.our-families.info -
26th February 2022 at 6:51 pm #13971
Question 1 – Have you gone through the instructions and set up the Dropbox API requirements?
Yes I have but if you want we can zoom so I can show you what I did.
Question 2 – Can you switch to PHP ver 7.4. It may have a bearing on both this issue, and the Database backup issue.
Yes we have switched back to php 7.4. I just double checked.
-
26th February 2022 at 8:58 pm #13974
Hi Nigel,
I have the data backup to dropbox working, It does however not include a sql backup of the database.
Also I have included for you the screen shots for including in the Backup data to your own Dropbox account − Kiwitrees page as it appears the rules have changed.
-
27th February 2022 at 11:09 am #13983
Thanks for the images. I’ll be updating the instructions page soon, so will add those.
RE: ” It does however not include a sql backup of the database.”
You have to be able to run “Database Backup” for that to happen.
Nigel
My personal kiwitrees site is www.our-families.info -
11th March 2022 at 1:55 pm #14009
Thank you Nigel
- You must be logged in to reply to this topic.