LavaLite / cms

Multilingual PHP CMS built with Laravel and bootstrap
https://lavalite.org
2.84k stars 966 forks source link

File does not exist at path public/themes/admin/config.php #348

Open assellalou opened 3 years ago

assellalou commented 3 years ago

The file is required in more than one file, but doesn't exist neither for user nor for the the admin.

reprod : after a fresh install, just serve the app and you'll get the error.

potential fix : I worked it out just by copying the public/themes/default folder into public/themes/admin and public/themes/user.

deanhouseholder commented 3 years ago

I finally got it working.

if you cd into the public/themes directory, run the following commands:

ln -s default admin
ln -s default user
ln -s default public

This fixed it for me.

assellalou commented 3 years ago

well it's the same as copying, and for your solution you really can't have different configs depending on the privileges, since all of your configs reference the default one.

deanhouseholder commented 3 years ago

Agreed. This is a lame band-aid, but it got the app to at least load for me.

abdulkarim-itani commented 3 years ago

Thank you @deanhouseholder I am running Lavalite in Windows and the following fixed it By cd into the public/themes directory, run the following commands: (using cmd) mklink /D admin default mklink /D user default mklink /D public default

jahstation commented 3 years ago

ive the same issue on fresh installation, after doing that next error is showed to me: image

image

hardik-malvi commented 3 years ago

Yes, I have the same problem after correcting the DB connection.

can anyone upload the solution for the same?

Screenshot 2021-04-15 114059

rizalmovic commented 3 years ago

Yes, I have the same problem after correcting the DB connection.

can anyone upload the solution for the same?

Screenshot 2021-04-15 114059

I've fixed this issue by running db seeders php artisan db:seed