WebSite X5Help Center

 
Nigel A.
Nigel A.
User

Error occurs while trying to upload  en

Autor: Nigel A.
Visitado 394, Followers 1, Compartido 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

Publicado en
5 RESPUESTAS - 1 ÚTIL - 1 CORRECTO
Franz-Josef H.
Franz-Josef H.
Moderator

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

Leer más
Publicado en de Franz-Josef H.
Nigel A.
Nigel A.
User
Autor

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.

Leer más
Publicado en de Nigel A.
Franz-Josef H.
Franz-Josef H.
Moderator

There may be two possible solutions

  1. Try the following: delete the preview folder in your project directory, then start WebsiteX5 and load your project. The folder will then be rebuilt.
  2. Load the last working version from the backup manager.
Leer más
Publicado en de Franz-Josef H.
Nigel A.
Nigel A.
User
Autor

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.

Leer más
Publicado en de Nigel A.
Franz-Josef H.
Franz-Josef H.
Moderator

never mind, it's good that it works now...

Leer más
Publicado en de Franz-Josef H.