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

My shaarli instance only shows the first link of page with "An unexpected error occurred." #2085

Closed
Riduidel opened this issue May 13, 2024 · 9 comments
Labels
server support installation and configuration issues

Comments

@Riduidel
Copy link

Starting this week end, it seems like my Shaarli instance now only shows the first link on each page with "An unexpected error occurred." displayed on page upper side.
See this snapshot

shaarli

My shaarli is available at https://nicolas-delsaux.hd.free.fr/Shaarli/index.php

@Riduidel
Copy link
Author

Seems like I got a reproduction of #2065

@Riduidel
Copy link
Author

Riduidel commented May 13, 2024

I'm running Shaarli from Raspbian latest version

pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"

Apache is version

pi@raspberrypi:~ $ apache2 -v
Server version: Apache/2.4.59 (Raspbian)
Server built:   2024-04-05T12:08:04

My php 8.1 comes from

pi@raspberrypi:~ $ apt policy php8.1
php8.1:
  Installed: 8.1.28-1+0~20240424.64+debian11~1.gbpd7b516
  Candidate: 8.1.28-1+0~20240424.64+debian11~1.gbpd7b516
  Version table:
 *** 8.1.28-1+0~20240424.64+debian11~1.gbpd7b516 500
        500 https://packages.sury.org/php bullseye/main armhf Packages
        100 /var/lib/dpkg/status

@kcaran
Copy link

kcaran commented May 13, 2024

I commented on #2065 as well:

I'm using Centos 8, but I had the same issue and made this note to myself:

(2022-03-31 Added php-intl to install - didn't automatically add the module)
http://tutorialspots.com/php-how-to-install-intl-module-on-centos-4357.html

It looks like there is a php-intl package on Debian as well.

@Riduidel
Copy link
Author

Looks like the same problem, but is not : php-intl is installed on my raspberry

@ArthurHoaro
Copy link
Member

If you login, you should have stack trace. Is it the same error as the one you linked?

@Riduidel
Copy link
Author

Yes, I have the error when logged in (and can't log out)

@ArthurHoaro
Copy link
Member

This error could potentially come from a bug fixed by #2044 (not released). You could try to make sure that your locale is properly defined in your PHP config.

@Riduidel
Copy link
Author

I've set the locale to fr-FR using intl.default-locale, but it changed nothing

@Riduidel
Copy link
Author

Wait, after setting the intl.default-locale, re-running the sudo dpkg-reconfigure locales, restarting both php-fpm and apache2, it worked again !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server support installation and configuration issues
Projects
None yet
Development

No branches or pull requests

4 participants