I added some code to the HTML header and it broke my forums, is there a way to remove it via SSH or something? I can access the Admin panel but I can’t remove the code because the Save button doesn’t work, none of the buttons seem to on my forums, which is the problem.
Edit: Running the latest version as of now (beta6)
Here, if I delete everything in that box and press save the button stays on Saving... indefinitely, and I’ve restarted my server and internet connection, and it’s not a connection issue, it’s just messed up. I need a way to change that header code manually.
I recently broke my localhost during some experimenting.
I had put the problem code in the </head> pane.
I needed to run this in the db CLI
SET head_tag = "", head_tag_baked = ""
and then ./launcher rebuild app
Depending on where you put the problem code you may need to UPDATE different fields. eg .
id serial primary key
stylesheet text null
header text null
user_id integer fkey users
mobile_stylesheet text null
mobile_header text null
mobile_stylesheet_baked text null
footer text null
mobile_footer text null
head_tag text null
body_tag text null
top text null
mobile_top text null
embedded_css text null
embedded_css_baked text null
head_tag_baked text null
body_tag_baked text null
header_baked text null
mobile_header_baked text null
footer_baked text null
mobile_footer_baked text null