Menu

Corrupt Zip when doing Clipping

Help
onyx chal
2025-05-22
2025-05-22
  • onyx chal

    onyx chal - 2025-05-22

    When creating a clipping on version 7375 2024-02-28 14:21:38Z canajun2eh, the Zip file is corrupted, and cannot be opened, even with Linux.
    If the Zip is not chosen, the top of the Gedcom produced has this error listed:

    <br />ERROR 2: preg_replace(): Unknown modifier '&gt;'<br />
    0 Error occurred on  in function <b>preg_replace</b><br />
    1 called from line <b>324</b> of file <b>clippings_ctrl.php</b> in function <b>init</b><br />
    2 called from line <b>37</b> of file <b>clippings.php</b><br />
    <br />
    <b>Warning</b>:  preg_replace(): Unknown modifier '&gt;' in <b>/var/www/clients/client1/web6/web/includes/controllers/clippings_ctrl.php</b> on line <b>324</b><br />
    
    <br />ERROR 2: fopen(./index/clipping109129964.ged): failed to open stream: Permission denied<br />
    0 Error occurred on  in function <b>fopen</b><br />
    1 called from line <b>466</b> of file <b>clippings_ctrl.php</b> in function <b>zip_cart</b><br />
    2 called from line <b>503</b> of file <b>clippings_ctrl.php</b> in function <b>download_clipping</b><br />
    3 called from line <b>406</b> of file <b>clippings_ctrl.php</b> in function <b>init</b><br />
    4 called from line <b>37</b> of file <b>clippings.php</b><br />
    <br />
    <b>Warning</b>:  fopen(./index/clipping109129964.ged): failed to open stream: Permission denied in <b>/var/www/clients/client1/web6/web/includes/controllers/clippings_ctrl.php</b> on line <b>466</b><br />
    Cannot create ./index/clipping109129964.ged Check access rights on this folder.<br /><br />0 HEAD
    
     
  • Gerry Kroll

    Gerry Kroll - 2025-05-22

    It appears that your GEDCOM file contains at least one malformed 1 HUSB @xxx@ record.

    The @ symbols should enclose a reference to a Person Id ("Innnn"), and in your case they don't enclose such a reference.

    You'll have to download that GEDCOM file from your server and then edit that GEDCOM file using a suitable text editor capable of handling UTF-8 symbols. I normally use Notepad++ on my Windows 10 sytem. Search for the string "@& gt;" (without that space in front of the "gt"). If you don't find this, search for "@>"

    If you are not successful, you can e-mail me a copy of your GEDCOM (ZIP preferred). Send it to my normal e-mail address gkroll (at) keldine (dot) ca instead of to the SourceForge address. If e-mailing doesn't work (some e-mail servers, mine included, refuse to send ZIP files), e-mail me directly gkroll (at) keldine (dot) ca). I'll have to use FTP to your site to retrieve that GEDCOM file. Obviously, I'd rather not do that.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.