Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No themes admin or user directory after fresh install #346

Open
tonybyng opened this issue Dec 11, 2020 · 10 comments
Open

No themes admin or user directory after fresh install #346

tonybyng opened this issue Dec 11, 2020 · 10 comments

Comments

@tonybyng
Copy link

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

@alancolant
Copy link

Same problem here

@maxmod
Copy link

maxmod commented Dec 13, 2020

same issue

1 similar comment
@kkraszy
Copy link

kkraszy commented Dec 14, 2020

same issue

@halawani12
Copy link

same problem

@tonybyng
Copy link
Author

Has anyone managed to figure a solution at all ?

@buildwide
Copy link

buildwide commented Dec 17, 2020

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

@halawani12
Copy link

any solution ????

@tonybyng
Copy link
Author

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.

@deanhouseholder
Copy link

deanhouseholder commented Jan 19, 2021

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.

@SturdyPose
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants