LavaLite / cms

Multilingual PHP CMS built with Laravel and bootstrap

Home Page:https://lavalite.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No themes admin or user directory after fresh install

tonybyng opened this issue · comments

Hi

Just done a fresh install on a brand new system and followed the instructions from https://lavalite.org/docs/master/installation of

composer create-project LavaLite/cms --prefer-dist website
php artisan lavalite:install

http://redacted.co.uk/public/admin comes up with

File does not exist at path /var/www/vhosts/redacted.co.uk/public/themes/admin/config.php.

Looking at the themes folder Ive just got a default folder so if i go to the front end as well I get themes/user/config.php. not found

Where are the theme files? Is there a package that maybe used to be part of the install but isnt now ?

Thanks

Same problem here

same issue

same issue

same problem

Has anyone managed to figure a solution at all ?

Hello,
You can find a default folder in the path public/themes after composer done.
Try to rename this forder to user or admin,
of course you can copy either

any solution ????

Hi. @buildwide is right that if you copy the default folder to user and admin in the same path it gets over the immediate problem but then when you go to the front end and click to view the about page it produces a "Class 'Litecms\Page\Http\Controllers\ResourceController' not found" error and if you log in to the admin area and try and delete any pages you get "Warning: error" appear and nothing happens.

Im guessing if the ResourceController is not found and the theme files are not found that something has gone wrong with the install process somewhere. I was hoping that as this was based on laravel 7 it might do the job for me as a good base to extend from but i think i'm going to look elsewhere now. Maybe the problems will be sorted in a few weeks time but seemingly at the moment, this package just doesn't function. I will keep an eye open for future fixes tho.

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.

Hi. @buildwide is right that if you copy the default folder to user and admin in the same path it gets over the immediate problem but then when you go to the front end and click to view the about page it produces a "Class 'Litecms\Page\Http\Controllers\ResourceController' not found" error and if you log in to the admin area and try and delete any pages you get "Warning: error" appear and nothing happens.

Im guessing if the ResourceController is not found and the theme files are not found that something has gone wrong with the install process somewhere. I was hoping that as this was based on laravel 7 it might do the job for me as a good base to extend from but i think i'm going to look elsewhere now. Maybe the problems will be sorted in a few weeks time but seemingly at the moment, this package just doesn't function. I will keep an eye open for future fixes tho.

This same think happens exactly to me.