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

[BUG] Error 403 with many operations #6187

Closed
Arnoud-B opened this issue Mar 12, 2024 · 4 comments
Closed

[BUG] Error 403 with many operations #6187

Arnoud-B opened this issue Mar 12, 2024 · 4 comments

Comments

@Arnoud-B
Copy link

Arnoud-B commented Mar 12, 2024

Describe the bug
Getting Error 403 with many operations (while logged in as admin), for instance when exporting, optimizing the database or creating a new user.

I see no errors in the log that may be related. I logged out and back in to make sure it wasn't an auth issue.

Installation check reports 2 issues:

  • Cannot find the PHP fileinfo library (fileinfo package).
  • Cannot find the ZIP extension (php-zip package).

To Reproduce
Steps to reproduce the behavior:

  1. Go to /p/i/?c=configure&a=archiving
  2. Click on Optimize database
  3. See error:

Error 403 - Forbidden
You don’t have permission to access this page [CSRF]

Expected behavior
No error.

Environment information (please complete the following information):

  • Device/OS: macOS Sonoma
  • Browser: Orion
  • FreshRSS version: 1.23.1 (same error on 1.22)
  • Database version: MySQL 10.6.16-MariaDB-cll-lve
  • PHP version: 8.2.16
  • Installation type: Shared Cpanel hosting
@Alkarex
Copy link
Member

Alkarex commented Mar 12, 2024

Would you be able to try our edge version of FreshRSS?

@Arnoud-B
Copy link
Author

Arnoud-B commented Mar 12, 2024

Just updated to edge, but it doesn't allow me to go to step 3 (database config) in the installation. When I updated to 1.23.1 yesterday, it detected a previous install and I reverted to that.

Edit: Nevermind, forced the next step via the URL.

After install, still getting 403 error when optimizing the database (as test). Even changing the theme leads to a 403 error.

@Alkarex
Copy link
Member

Alkarex commented Mar 12, 2024

forced the next step via the URL

This is a sign that there is something wrong with your setup, for instance a wrong PHP session configuration, or wrong cookies configuration (at Web server level or at your Web browser level)

@Arnoud-B
Copy link
Author

Thanks for the hint. I removed the config and then successfully installed it via another browser. No 403 errors in the other browser either.

FYI, I ran into these issues with Orion. Turning on Compatibility Mode seems to fix it in that browser too.

@Alkarex Alkarex closed this as completed Mar 12, 2024
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