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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
append &overwrite=1 to your query.
or use latest PhpWikiAdministration.
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
It's just a page.
Sign In and click on the [Edit] button.
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 ?
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
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.