ctf0 / Laravel-Media-Manager

A "Vuejs & Laravel" Media Manager With Tons of Features
MIT License
829 stars 179 forks source link

Can't install #26

Closed alexpersegona closed 6 years ago

alexpersegona commented 6 years ago

I first got an error asking for a missing "MediaManger.sqlite" file. I created that in "storage/logs/." Then I got the following error (which I'm stuck on):

SQLSTATE[HY000]: General error: 1 no such table: locked (SQL: select "path" from "locked")

Can you help me out?

Steps I took:

I'm using:

Thanks.

ctf0 commented 6 years ago

the db file should be published automatically when using the publish cmnd, however plz try installing it manually by copying the file @ https://github.com/ctf0/Laravel-Media-Manager/tree/master/src/database

Cidro commented 6 years ago

I have the same issue, and notice that the sqlite file was copied to a different folder. Instead of copying it to "storage/logs" it was copied to "storage/log"

alexpersegona commented 6 years ago

LOL, was just about to write that.

You're right, it's pointing to "log" instead of "logs." @cidro, did you get it to work after that? I'm still getting errors.

See: https://ibb.co/kxvDhG

Cidro commented 6 years ago

@alexpersegona I had the same error, fixed it using the solution on this issue #16

ctf0 commented 6 years ago

@Cidro good catch, path fixed

@alexpersegona can u show me the error from the console

alexpersegona commented 6 years ago

Originally had the error described above on issue #16, but I fixed that using the tips here.

Now here's the latest errors: https://ibb.co/fMvzNG https://ibb.co/j4vc9w

ctf0 commented 6 years ago

you need to fix the path to the js file, the one in the view file is just a template replace path/to/app.js with your app main.js file path or whatever you call it

alexpersegona commented 6 years ago

You're talking about the view file in the vendor dir "media/vendor/ctf0/media-manager/src/resources/views/media.blade.php"?

alexpersegona commented 6 years ago

Never mind I saw it gets published.

Works! Thank you for your mega patience with me!

ctf0 commented 6 years ago

np, if you think we need to add something to the read me to avoid this confusion, plz do :1st_place_medal: