FreshRSS / Extensions

A repository containing all the official FreshRSS extensions
GNU Affero General Public License v3.0
321 stars 52 forks source link

xExtensions CustomCSS - Crashes after moved into extension directory #189

Closed Gjessing1 closed 7 months ago

Gjessing1 commented 7 months ago

Running a FreshRSS instance, with version 1.22.1. But when i clone the xExtension-CustomCSS folder into my Extension folder the program is no longer available in the browser. Other extensions seems to work fine, and as soon as I remove the folder the instance is again available in the browser. I have tried disabling all other folders to check for cross compatibility, but get the same problem. The docker instance does not seem to crash.

User extensions running and working fine: ⚙️ Fixed Nav Menu ⚙️ Keep Folder State ⚙️ Reddit Image ⚙️ Smart Mobile Menu ⚙️ Title-Wrap ⚙️ Touch Control

Alkarex commented 7 months ago

Hello, Please see https://github.com/FreshRSS/FreshRSS/discussions/5904

Gjessing1 commented 7 months ago

Thank you, that answers my questions perfectly. Looking forward to the desember release then 😊

rezad1393 commented 4 months ago

I have updated this extension to new version "version": "0.4" and it crashes my freshrss.

2024/02/15 09:06:39 [error] 852#852: *5382 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined method Minz_Session::paramString() in /freshrss/extensions/xExtension-CustomCSS/extension.php:12
Stack trace:
#0 /freshrss/lib/Minz/ExtensionManager.php(263): CustomCSSExtension->init()
#1 /freshrss/lib/Minz/ExtensionManager.php(279): Minz_ExtensionManager::enable()
#2 /freshrss/app/FreshRSS.php(64): Minz_ExtensionManager::enableByList()
#3 /freshrss/p/i/index.php(55): FreshRSS->init()
#4 {main}
  thrown in /freshrss/extensions/Extension-CustomCSS/extension.php on line 12" while reading response header from upstream, client: 192.168.1.101, server: odroid, request: "GET /i/?get=f_2089 HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "odroid:1081"
Alkarex commented 4 months ago

@rezad1393 Remember to provide information about your system (OS, install type, versions...). In particular, make sure you are running the newest version of FreshRSS.

rezad1393 commented 4 months ago

sorry. last version of freshrss 1.23.1 os archlinux type ?? (just unzipped the release) and webserver is nginx.

Alkarex commented 4 months ago

@rezad1393 The error you get is a sign that the code you are running is older than FreshRSS 1.23.0. If you are deploying / updating by hand, maybe you have not deployed all files properly.

rezad1393 commented 4 months ago

in the last updates, the instance would freeze after a while so maybe those cause an incomplete upgrade. the version shown in about is the latest one though.

can I just download the zip here and overwrite mine?

Alkarex commented 4 months ago

can I just download the zip here and overwrite mine?

Yes

rezad1393 commented 4 months ago

I did the overwrite and still i get the error.