• This topic has prefixes assigned
Viewing 8 posts - 1 through 8 (of 8 total)
Author
Posts
  • #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>

  • #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
    Attachments:
  • #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&#8221; 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.
  • #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
  • #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.

  • #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.

     

    Attachments:
  • #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
  • #14009

    Thank you Nigel

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.