RSS endpoint broken (resolved)

Tags
bug closed eso esobb 
Labels
Locked
Members allowed to view this conversation
Everyone

Looks like there’s a problem with this site

The server at eso.chipmunk.land sent back an error: 500 Internal Server Error
What can you do about it?

Check to make sure you’ve typed the website address correctly.
The site could be temporarily unavailable or too busy. Try again in a few moments.


max

4 hours ago (edited by max 4 hours ago) Administrator

I checked the error log, this message should be a bit more informative:

[23-Jun-2026 18:49:40 UTC] PHP Fatal error:  Cannot redeclare class Feed (previously declared in /var/www/esobb/plugins/Feed/plugin.php:25) in /var/www/esobb/plugins/Feed/feed.controller.php on line 26
Stack trace:
#0 /var/www/esobb/controllers/eso.controller.php(484): require_once()
#1 /var/www/esobb/plugins/Feed/plugin.php(47): eso->registerController()
#2 /var/www/esobb/index.php(60): Feed->init()
#3 {main}

Edit: strangely enough the class names have different casing:

/**
 * Feed plugin: serves a feed in the Atom format containing recent posts.
 */
class Feed extends Plugin {
/**
 * Feed controller: builds a list of items to be outputted as an Atom
 * feed.
 */
class feed extends Controller {

Maybe we should just switch to Flarum… #sigh


max

4 hours ago Administrator

It's because class names are case insensitive, I suppose. esoBB is experimental software, and I guess it's far from perfect right now, but with a few patches it should be fine.

max

4 hours ago Administrator

Renaming the plugin fixed the issue. I'll submit my patch upstream when I'm less lazy.


Hey! You need to log in or create an account to do anything on this forum.

72 posts - 17 conversations - 3 members online

  • Display avatars