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

Icons Not Loading #126

Open
ryancobden opened this issue Jan 9, 2025 · 4 comments
Open

Icons Not Loading #126

ryancobden opened this issue Jan 9, 2025 · 4 comments

Comments

@ryancobden
Copy link

image

Im having the an issue where none of the icons will load (php 8.2). I tried adding "#[\AllowDynamicProperties]" which got rid of any and all errors and warnings, but the icons still do not show. This is true whether the icon is local or from dashboard icons. It seems no matter what.

The sites configuration has not been changed from default and icons are placed in /sites/icons subdirectory and specified in the sites.json.

404 error on all the icons => https://xxx.xxx/api/icon?siteid=site-47efbf86396587c527c6f583f65d2c5c"

@rpcob
Copy link

rpcob commented Jan 14, 2025

Once I put in my open weather api key i didn't see the 404, but also that caused all the links, weather, and clock to dissappear.

@rpcob
Copy link

rpcob commented Jan 15, 2025

Downgraded to php 8.1. Reinstalled via composer. Still can't get the icons or tags to work. Icons give a 404 regardless of location and tags just send me to a 404 page saying the tag directly doesn't exist. No other errors other than the 404 and the debug with the list of composer packages looks good.
tmp_1736962061190

@rpcob
Copy link

rpcob commented Jan 15, 2025

Creating an htaccess file with the following fixed it:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !.(pdf|js|ico|gif|jpg|png|css|rar|zip|tar.gz)$ index.php [L]

@daledavies
Copy link
Owner

Ahh so you're not using the docker container?

Been a while since I've used Apache but I've done the same in the nginx config here.... https://github.com/daledavies/jump/blob/main/docker/nginx.conf#L49

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

3 participants