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

Rss not working #140

Open
blogdemoi opened this issue Dec 21, 2024 · 4 comments
Open

Rss not working #140

blogdemoi opened this issue Dec 21, 2024 · 4 comments

Comments

@blogdemoi
Copy link

Hi,

I installed a Yunohost server https://doc.yunohost.org/en/overview/what_is_yunohost on a Debian 12 (Raspberry Pi 5). I installed a "my_webapp" app on this Yunohost server https://github.com/YunoHost-Apps/my_webapp_ynh , it provides a way to deploy MinigalNano static files.

In my "my_webapp" app I can choose different PHP versions, 7.4, 8.0, 8.1, 8.2, 8.3.

I am using PHP 7.4

The rss page is blank and is not working.

Thank you for any help.

@seboss666
Copy link

As we discussed in another issue, it may be related to the php installation that may miss some modules.
RSS is in XML format, may I suggest you to check if the php7.4-xml extension is installed ? (you can also try to check with php7.4 -m to check for the xml ext)

@blogdemoi
Copy link
Author

I checked with php7.4 -m and no xml extension. So I tried to install it with sudo apt-get install php7.4-xml and now when I check with php7.4 -m it seems to be installed:

php7.4 -m
[PHP Modules]
calendar
Core
ctype
date
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
openssl
pcntl
pcre
PDO
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib

[Zend Modules]
Zend OPcache

However the rss page is still a blank page. It is not that important for me to have rss but I would be happy if rss was working.

Thank you.

@seboss666
Copy link

php should have logs stored somewhere. maybe in /var/log, or an "error_log" directive should be enabled in php.ini or in the pool configuration to get errors from the app. At least to confirm there is an error, when you call the rss.php with curl -I, what is the return code ? (should be 500 if there is an error)

@blogdemoi
Copy link
Author

curl -I https://arnauld.org/gallerie/rss.php
HTTP/2 500 
server: nginx
date: Thu, 02 Jan 2025 17:51:53 GMT
content-type: text/html; charset=UTF-8
x-sso-wat: You've just been SSOed
content-security-policy: upgrade-insecure-requests
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
x-download-options: noopen
x-permitted-cross-domain-policies: none
x-frame-options: SAMEORIGIN
permissions-policy: interest-cohort=()
strict-transport-security: max-age=63072000; includeSubDomains; preload

So I guess there is an erro if HTTP/2 500

I will try to check the logs later when I have more time...

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

2 participants