Error occurs while trying to upload
Author: Nigel A.
Visited 634,
Followers 1,
Shared 0
I made a minor spelling change to one of the pages.
But when I try to upload the site I get the message, "An error occurred while exporting the file"
Is there a log file or some way to discover what file is causing this issue. As soon as I close the error message box the "Export in Progress" page closes.
Nigel
Posted on the
In the upload folder in your project directory there is a file called versions.xml. It is possible that writing to this xml-file was terminated at the faulty file.
But: Since I haven't had this error myself, I can only guess...
Author
Franz-Josef,
I was hoping I would never get this message!! I looked in the version.xml and right at the end are these 4 lines.
<page id="0" lastmodified="2023-07-29 09:53:02" path="index.html" upath="index.html" construction="False" />
<page id="-9" lastmodified="2023-07-29 09:53:02" path="imsearch.html" upath="imsearch.php" construction="False" />
<page id="3" lastmodified="2023-07-29 09:53:02" path="about-me.html" upath="about-me.html" construction="False" />
<page id="5" lastmodified="2023-07-29 09:53:02" path="contact-nigel.html" upath="contact-nigel.html" construction="False" />
What I find interesting is that the date / time supplied for all three .html files is incorrect as I made small changes to all three pages. The time stamp on the .xml file is correct with the last attempt and marked today. I also checked the server and the .html files match the date / time stamp to the message.)
If I look in the sitemap.xml, then that too is correct.
<url>
<loc>https://savage-van-sage.soft-focus-imagining.com/contact-nigel.html
<lastmod>2023-07-31</lastmod>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
<image:image>
<image:loc>https://savage-van-sage.soft-focus-imagining.com/images/Gallery_Adult-10.webp
</image:image>
</url>
Nigel.
There may be two possible solutions
Author
I found out what it was! Early yesterday I had to make some minor correction on my server for security. I inadvertantly changed the permission on the public_html directory.
If the error message had actually stated what was wrong ( :) ) "can not write to target host" then I would have found my mistake almost immediatly! And there was no indication on the upload / export page that there was an issue.
Very sorry to have wasted your time on my home grown mistake.
Nigel.
never mind, it's good that it works now...