CSS is not loaded in release branch #2867

Closed
opened 2026-02-05 05:31:38 +03:00 by OVERLORD · 9 comments
Owner

Originally created by @T3-RnD on GitHub (Jun 23, 2022).

Describe the Bug

I downloaded the master branch and it seems that it has the CSS issue, then I searched for a solution and I found this

https://github.com/BookStackApp/BookStack/issues/496

But in my case, I have downloaded the release branch and then I had the same issue, any reason why?

Steps to Reproduce

after running the server php artisan serve the

Expected Behaviour

running the server with the main layout working

Screenshots or Additional Context

No response

Browser Details

chrome in mac os

Exact BookStack Version

22.04.2

PHP Version

7.4

Hosting Environment

Mac OS using MAMP server

Originally created by @T3-RnD on GitHub (Jun 23, 2022). ### Describe the Bug I downloaded the master branch and it seems that it has the CSS issue, then I searched for a solution and I found this https://github.com/BookStackApp/BookStack/issues/496 But in my case, I have downloaded the release branch and then I had the same issue, any reason why? ### Steps to Reproduce after running the server php artisan serve the ### Expected Behaviour running the server with the main layout working ### Screenshots or Additional Context _No response_ ### Browser Details chrome in mac os ### Exact BookStack Version 22.04.2 ### PHP Version 7.4 ### Hosting Environment Mac OS using MAMP server
OVERLORD added the 🐛 Bug label 2026-02-05 05:31:38 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jun 23, 2022):

Hi @T3-RnD,
It's probably worth following our debugging guidance for this specific issue here:
https://www.bookstackapp.com/docs/admin/debugging/#no-styles-and-large-icons-on-access

If those don't help, please confirm if the files exist on your filesystem when accessing the public/dist directory in your BookStack folder.

@ssddanbrown commented on GitHub (Jun 23, 2022): Hi @T3-RnD, It's probably worth following our debugging guidance for this specific issue here: https://www.bookstackapp.com/docs/admin/debugging/#no-styles-and-large-icons-on-access If those don't help, please confirm if the files exist on your filesystem when accessing the `public/dist` directory in your BookStack folder.
Author
Owner

@T3-RnD commented on GitHub (Jun 23, 2022):

Hi @ssddanbrown

I appreciate your quick reply, I have checked this already
in my .env file is the following:

APP_URL=http://127.0.0.1

Database details

DB_HOST=127.0.0.1
DB_PORT=8889
DB_DATABASE=t3_books
DB_USERNAME=root
DB_PASSWORD=root

Regarding the release, I already mentioned that I followed one of your solutions to use the release branch, and also the files I have checked them, and all files are there

but it is worth mentioning that I have this URL with the version number as a variable "http://127.0.0.1/dist/styles.css?version=v22.04.2"

@T3-RnD commented on GitHub (Jun 23, 2022): Hi @ssddanbrown I appreciate your quick reply, I have checked this already in my .env file is the following: APP_URL=http://127.0.0.1 # Database details DB_HOST=127.0.0.1 DB_PORT=8889 DB_DATABASE=t3_books DB_USERNAME=root DB_PASSWORD=root Regarding the release, I already mentioned that I followed one of your solutions to use the release branch, and also the files I have checked them, and all files are there but it is worth mentioning that I have this URL with the version number as a variable "http://127.0.0.1/dist/styles.css?version=v22.04.2"
Author
Owner

@T3-RnD commented on GitHub (Jun 23, 2022):

Hi again

sorry I forgot to add the port so it should be like 127.0.0.1:8001

But, I have a weird view now its split into 2 as shown in the image below

image

@T3-RnD commented on GitHub (Jun 23, 2022): Hi again sorry I forgot to add the port so it should be like 127.0.0.1:8001 But, I have a weird view now its split into 2 as shown in the image below ![image](https://user-images.githubusercontent.com/104494713/175312917-39216984-955d-4622-945d-1f39814185c6.png)
Author
Owner

@ssddanbrown commented on GitHub (Jun 23, 2022):

@T3-RnD

Check the error log file to see the cause of that message.

@ssddanbrown commented on GitHub (Jun 23, 2022): @T3-RnD Check the [error log file](https://www.bookstackapp.com/docs/admin/debugging/#error-log-file) to see the cause of that message.
Author
Owner

@T3-RnD commented on GitHub (Jun 23, 2022):

There is no error in the log regarding this issue, the last log was the migration something about "conection.php" doesn't exist but I solved it already.

I there any other solution? Thanks in advance

@T3-RnD commented on GitHub (Jun 23, 2022): There is no error in the log regarding this issue, the last log was the migration something about "conection.php" doesn't exist but I solved it already. I there any other solution? Thanks in advance
Author
Owner

@T3-RnD commented on GitHub (Jun 23, 2022):

I enabled the debug mode and here is the result

image

Any Ideas

@T3-RnD commented on GitHub (Jun 23, 2022): I enabled the debug mode and here is the result ![image](https://user-images.githubusercontent.com/104494713/175318668-aad8fb9b-1cd4-49e9-8c6e-42b36c030731.png) Any Ideas
Author
Owner

@ssddanbrown commented on GitHub (Jun 23, 2022):

Did you run the php artisan key:generate install step?

@ssddanbrown commented on GitHub (Jun 23, 2022): Did you run the `php artisan key:generate` install step?
Author
Owner

@T3-RnD commented on GitHub (Jun 23, 2022):

It's working now

I already did this before but for some reason it wasn't generated so I generated it again

Thanks for your help @ssddanbrown

@T3-RnD commented on GitHub (Jun 23, 2022): It's working now I already did this before but for some reason it wasn't generated so I generated it again Thanks for your help @ssddanbrown
Author
Owner

@ssddanbrown commented on GitHub (Jun 23, 2022):

Good to hear!, I'll therefore close this off.

@ssddanbrown commented on GitHub (Jun 23, 2022): Good to hear!, I'll therefore close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2867