Giter VIP home page Giter VIP logo

Comments (4)

trianglman avatar trianglman commented on August 12, 2024

The error you're getting is because you have the composer.json file under the Composer code instead of in your code base so when it looks for the autoload it doesn't know where to find it.

The recommended structure I've seen lately is:

projectbase/

  • web/ {publicly accessible code, javascript, css, etc.}
  • vendor/ {3rd party libraries such as those controlled by Composer}
  • src/ {your non-public code base: data models, controllers, etc.}
  • config/ {project configurations (sometimes this is recommended to be under your src/ directory)}
  • composer.json {the Composer setup file}
  • composer.lock {the lock file generated by using Composer}

This allows you to set your webroot to /web/ which will keep the rest of your code base inaccessible to Apache.

from sqrl.

niauwu avatar niauwu commented on August 12, 2024

Thank for your replay.It can show qr code but can't login with Android QR code scan App by Ralf Wondratschek. https://play.google.com/store/apps/details?id=net.vrallev.android.sqrl
When I scan the qr code the App show An unknown error occurred.

from sqrl.

trianglman avatar trianglman commented on August 12, 2024

Yes. This is because of a change in the SQRL specification that my library expects but Ralf hasn't updated his app to. The update expects the schema (sqrl:// or qrl://) to be part of the server= value being returned (and signed) by the client. Ralf is waiting until Steve Gibson finalizes the SQRL specification to update his client.

from sqrl.

rwese avatar rwese commented on August 12, 2024

@niauwu could this be closed, there have been many changes and I assume this should be retested.

from sqrl.

Related Issues (16)

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.