You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can view the CSS file but I get the following warning:
2022/01/2700:46:51 [error] 9851#9851: *24773 FastCGI sent in stderr: "PHP message: PHP Warning: Constant YOURLS_SITE already defined in /etc/webapps/yourls/config.php on line 40" while reading response header from upstream, client: 192.168.1.1, server: example.org, request: "GET /yourls/ HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "example.org"
Logo image
index.php
Unlike the icon URL, the logo URL is generating prepending YOURLS_SITE to the path specified for the image. This breaks if the image is outslde YOURLS folder:
to fix this remove echo from <?php echo $YOURLS_SITE ?>/frontend/dist/styles.css">
so it should be this <?php $YOURLS_SITE ?>/frontend/dist/styles.css">
I had this same problem and this fixed the issue.
I have noticed that some URLs are broken at the moment:
Main CSS
As per #91,
frontend/header.php
containsBut somehow
$YOURLS_SITE
is empty so the final URL is/frontend/dist/styles.css
.If I change it to
YOURLS_SITE
, I get the error 500 with the following text:However, if I hardcode the website URL also inf
frontend/config.php
I can view the CSS file but I get the following warning:
Logo image
index.php
Unlike the icon URL, the logo URL is generating prepending YOURLS_SITE to the path specified for the image. This breaks if the image is outslde YOURLS folder:
The text was updated successfully, but these errors were encountered: