cms icon indicating copy to clipboard operation
cms copied to clipboard

No themes admin or user directory after fresh install

Open tonybyng opened this issue 4 years ago • 10 comments
trafficstars

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

tonybyng avatar Dec 11 '20 14:12 tonybyng

Same problem here

alancolant avatar Dec 11 '20 22:12 alancolant

same issue

maxmod avatar Dec 13 '20 18:12 maxmod

same issue

kkraszy avatar Dec 14 '20 11:12 kkraszy

same problem

halawani12 avatar Dec 15 '20 09:12 halawani12

Has anyone managed to figure a solution at all ?

tonybyng avatar Dec 16 '20 10:12 tonybyng

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

buildwide avatar Dec 17 '20 03:12 buildwide

any solution ????

halawani12 avatar Dec 17 '20 09:12 halawani12

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.

tonybyng avatar Dec 17 '20 11:12 tonybyng

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.

deanhouseholder avatar Jan 19 '21 06:01 deanhouseholder

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.

SturdyPose avatar Mar 05 '21 18:03 SturdyPose