Menu

Restoring from ZIP file

Help
Jon
2004-10-16
2012-10-11
  • Jon

    Jon - 2004-10-16

    Hi I tries restoring from a page backup (zip file that i uploaded). The page suggests that any existing pages would be replaced if included in the ZIP, but I found this was not happening, instead the old pages where left in place and i got this message:

    from MIME file HomePage has edit conflicts - skipped Sorry, cannot merge uploaded files.

    weird, because i was not execting it to merge anyway, but rather, scrub the old page and replace with the Ziped copy.

    Any thoughts?

    Jon

     
    • Reini Urban

      Reini Urban - 2004-10-16

      append &overwrite=1 to your query.
      or use latest PhpWikiAdministration.

       
      • Fenton Travers

        Fenton Travers - 2004-11-01

        I'm having the same problem loading in a zip file. Could someone be a bit more specific about where I would put the &overwrite=1. I don't know how to edit the PhpWikiAdministration page, isn't it in the database or something. Editing the copy under pgsrc didn't seem to work. Any help much appreciated.

        Thanks,

        Fenton

         
        • Reini Urban

          Reini Urban - 2004-11-02

          It's just a page.
          Sign In and click on the [Edit] button.

           
          • Fenton Travers

            Fenton Travers - 2004-11-02

            Okay, I'm editing but it doesn't look good.

            CHANGED FROM:

            Here you can upload ZIP archives, or individual files from your
            (client) machine.

            <?plugin WikiForm action=upload?>

            !! Load File

            TO:

            Here you can upload ZIP archives, or individual files from your
            (client) machine.

            <?plugin WikiForm action=upload&overwrite=1?>

            !! Load File


            but this doesn't work. Should I replace the script <?...?> with the translated script ( outputted html ) and then modify the action to include overwrite=1 ?

             
          • Fenton Travers

            Fenton Travers - 2004-11-02

            So eventually I just made a plain html file so I could edit the URL to append &overwrite=1 to the action of the form. However I still got warning messages:

            from MIME file 19th has edit conflicts - skipped Sorry, cannot merge uploaded files.

            also at the end of the upload I got a lot of these error messages:

            lib/ziplib.php:734: Notice[8]: strtotime(): Called with empty time parameter

            lib/ziplib.php:734: Notice[8]: Undefined index: date

            As for phpwiki version I'm using 1.3.10 which I thought was the latest stable version.

            Thanks for your help in assisting me.

            Fenton

             
    • Jon

      Jon - 2004-10-16

      umm it was the PhpWikiAdministration page i was refering to. I use the restore from zip file feature. But as you can see above, it does not overwrite existing pages.

       

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.