Giter Club home page Giter Club logo

Comments (4)

evias avatar evias commented on July 23, 2024

Have you tried composer install --prefer-dist ?

Also, are you using PHP7 ?

After installing dependencies, run php application list to view available commands.

from omni-recovery-tool.

amritabithi avatar amritabithi commented on July 23, 2024

Thank you for the response, I tried a fresh download and used "composer install --prefer-dist" to get the dependencies and have the same error. I may not be familiar enough with composer or something though because I feel like I am just missing something obvious.

If I trace through the script starting at application, application requires() the file init.php, which then requires() the file autoload.php, and then inside of autoload.php it tries to include another autoload.php three directories above itself as the last command before it crashes, and so I wonder if the enivornment is different.

( Also I checked and I have PHP 7.4.3 (cli) and am using Ubuntu 20 )

from omni-recovery-tool.

evias avatar evias commented on July 23, 2024

weirdly, maybe you would need composer dump-autoload after the install ; Seems like its not automatically being run.

from omni-recovery-tool.

amritabithi avatar amritabithi commented on July 23, 2024

I tried the 'composer dump-autoload' command and while I still get the same errors as before there is a new error " Uncaught Error: Class 'LaravelZero\Framework\Application' not found". I also tried upgrading to composer version 2 but none of the installation commands given by the composer creators work or upgrade anything from version 1 which is all I can find available, it just says package not found etc.

Anyway I decided to use another library and I can use the logic and things from this as a guideline so that is useful, I can never get the composer projects to run for some reason. It is almost like the project was built in a directory that is a symbolic link because the paths as they are in the include files traverse up and out of the project folder.

from omni-recovery-tool.

Related Issues (5)

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.