Closed connor557 closed 2 years ago
This is intentional if you attempt to enter an invalid colour, but I do think there should be a way to recover.
This was probably why we had that color validation in place 🤔
After the PR #3011 all less variable settings go through validation, I tested just now as well, and the forum should not be able to break when entering bad values. I see you're running dev-master
(which you really shouldn't be if on production) what exact commit is that ?
Thanks all, the forum is not in production, I am currently testing the web server and will switch to a stable release before I run the system in production. I do not know exactly what commit I am running but can provide that information if someone tells me how. Please help me find a way to recover my site, thanks so much people.
You'll need to go into the DB, and remove the relevant entries from the settings
table.
@connor557 the row in the settings table has a key
column equal to theme_primary_color
.
Also if you run composer show flarum/core
it'll show you the exact commit in the dist
value.
Output of composer show flarum/core
name : flarum/core
descrip. : Delightfully simple forum software.
keywords : discussion, forum
versions : * dev-master, * 1.x-dev
type : library
license : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
homepage : https://flarum.org/
source : [git] https://github.com/flarum/core.git dcc9868129d4144a602761a8150594b4881f7370
dist : [zip] https://api.github.com/repos/flarum/core/zipball/dcc9868129d4144a602761a8150594b4881f7370 dcc9868129d4144a602761a8150594b4881f7370
path : /var/www/html/sunrisenet.org/vendor/flarum/core
names : flarum/core
support
chat : https://flarum.org/chat
docs : https://docs.flarum.org
forum : https://discuss.flarum.org
issues : https://github.com/flarum/core/issues
source : https://github.com/flarum/core
autoload
psr-4
Flarum\ => src/
files
requires
axy/sourcemap ^0.1.4
components/font-awesome ^5.14.0
dflydev/fig-cookies ^3.0.0
doctrine/dbal ^2.7
dragonmantank/cron-expression ^3.1.0
franzl/whoops-middleware ^2.0.0
illuminate/bus ^8.0
illuminate/cache ^8.0
illuminate/config ^8.0
illuminate/console ^8.0
illuminate/container ^8.0
illuminate/contracts ^8.0
illuminate/database ^8.0
illuminate/events ^8.0
illuminate/filesystem ^8.0
illuminate/hashing ^8.0
illuminate/mail ^8.0
illuminate/queue ^8.0
illuminate/session ^8.0
illuminate/support ^8.0
illuminate/validation ^8.0
illuminate/view ^8.0
intervention/image 2.5.* || ^2.6.1
laminas/laminas-diactoros ^2.4.1
laminas/laminas-httphandlerrunner ^1.2.0
laminas/laminas-stratigility ^3.2.2
league/flysystem ^1.0.11
matthiasmullie/minify ^1.3
middlewares/base-path ^2.0.1
middlewares/base-path-router ^2.0.1
middlewares/request-handler ^2.0.1
monolog/monolog ^1.16.0
nesbot/carbon ^2.0
nikic/fast-route ^0.6
php >=7.3
psr/http-message ^1.0
psr/http-server-handler ^1.0
psr/http-server-middleware ^1.0
s9e/text-formatter ^2.3.6
symfony/config ^5.2.2
symfony/console ^5.2.2
symfony/event-dispatcher ^5.2.2
symfony/mime ^5.2.0
symfony/polyfill-intl-messageformatter ^1.22.0
symfony/translation ^5.1.5
symfony/yaml ^5.2.2
tobscure/json-api ^0.3.0
wikimedia/less.php ^3.0
requires (dev)
flarum/testing 1.0@dev
Altering the database tables made the website work as normal again, thanks for all the help everyone
Bug Report
Current Behavior Changing the forum color renders the site unusable
Steps to Reproduce
Expected Behavior The forum color will change
Screenshots If applicable, add screenshots to help explain your problem.
Environment
Error in main log file
Output of php flarum info