Giter VIP home page Giter VIP logo

Comments (8)

chrisdiana avatar chrisdiana commented on May 24, 2024

I don't think this is related to local file access issues. Looks like it's pulling in the correct amount of files so it's definitely recognizing those files in the directory or else the page would probably be blank. If you click on the link does it redirect to another page? Any console errors?

from cms.js.

tyeeman avatar tyeeman commented on May 24, 2024

All links point to

http://localhost/cmsjs/#/posts/d

When I get there the page shows -

2018-12-13_170156

from cms.js.

chrisdiana avatar chrisdiana commented on May 24, 2024

Hey @tyeeman what does your directory index page look like? For example with Node Ecstatic server it looks like this:

screen shot 2018-12-17 at 4 19 58 pm

from cms.js.

tyeeman avatar tyeeman commented on May 24, 2024

Like this -
2018-12-17_164530

When I click on each of them I see the markdown.

from cms.js.

chrisdiana avatar chrisdiana commented on May 24, 2024

@tyeeman can you send over some details about your setup so we can try and recreate the issue?

  • Browser (and version)
  • OS
  • Web server (and version)

from cms.js.

tyeeman avatar tyeeman commented on May 24, 2024

Hi Chris, like I said on my webspace I can see it's working just fine, but not on my localhost. I have two localhost apps (Laragon and Caddyserver, latest versions) and laragon shows like above and I just tried Caddyserver and it shows totally blank windows except for the title which shows fine. I'm on windows7, firefox 59.0.2.

from cms.js.

chrisdiana avatar chrisdiana commented on May 24, 2024

@tyeeman CMS.js hasn't been tested on Caddyserver to my knowledge but seems like to it should work on Laragon (looks like it's using Apache). Do you happen to know which version of Apache that Laragon is running?

If you don't mind switching web servers for localhost, you can use Node Ecstatic by installing http-server for Node.js.

  • Install Node.js and NPM (if you haven't already) - follow this link to install on Windows
  • From your command prompt run npm install -g http-server
  • Go to your directory in which you have your CMS.js project - i.e. cd Projects/cms-js-project/
  • Then run http-server in your command prompt

from cms.js.

chrisdiana avatar chrisdiana commented on May 24, 2024

@tyeeman let me know if you are still having issues. Closing this for now since it seems to be related to an unsupported web server.

from cms.js.

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.