Code Monkey home page Code Monkey logo

Comments (4)

burij avatar burij commented on August 23, 2024 1

Hey. I'm sorry for not answering fast enough. I'll test the new version. I'm using bitnami docker image and I tried also with default themes. But this you maybe already know.

from wp2static.

leonstafford avatar leonstafford commented on August 23, 2024

Hi @burij - sorry, just noticed this issue here, I'll make sure notifications are enabled in future!

Sorry to hear of the issue.

To help me isolate the issue, could you please supply me with the following information:

  • hosting provider and plan if any
  • output of phpinfo() (this WP plugin will make it easier
  • whether switching theme to one of WP's defaults and exporting renders whole site or same issue?

I'd like to get this sorted out for you so you can benefit from the latest version of the plugin.

Cheers,

Leon

from wp2static.

leonstafford avatar leonstafford commented on August 23, 2024

Hi @burij - empty index.html issue should be resolved now, please upgrade to v1.8 of plugin.

The issue seemed related to plugin crawling an empty page/url at some point in the export and then overwriting the properly exported index.html with this blank output. There is now a check to not write empty pages. Marking this closed, let me know if problem persists.

from wp2static.

phemmer avatar phemmer commented on August 23, 2024

For us this was happening because the file names contain unicode characters, and StaticHtmlOutput_UrlRequest _construct uses filter_var(..., FILTER_VALIDATE_URL), which blanked out the URL. This resulted in the empty URL, which got translated to index.html, and clobbered the original index.html. While v1.8+ does indeed prevent clobbering index.html, these files are still missing. Fixing the underlying cause (properly handling file names with invalid URL chars) would be a better solution.

from wp2static.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.