Broken the 'Edit Custom HTML Page'

So I managed to break the 'Custom HTML Page'.

Initially it wouldn't let me edit the text box's because the code I had saved had an error within it.

I then followed the link below that seemed to indicate it would reset the fields to the default values.

https://confluence.atlassian.com/display/CONFKB/Customized+HTML+Breaks+the+%27Edit+Custom+HTML%27+Page

However by doing so I got an error;

"Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page."

And now I'm left with some default text, and I am unable to edit the text box's still!

brokenhtmlpage.png

Any ideas?

Has anyone else experienced and got a fix?

Edit: It seemed to fix this issue it self, could have been a caching issue. Will leave open as I no doubt will face the same issue later on today...

3 answers

5 votes
Brian Tom Atlassian Team Nov 24, 2014

Hey there Bristow, 

What happens when you click "Save" or "Cancel"? Does that take you out of the screen? If so, you should be able to edit the Custom HTML after that.

If not, you may want to try clearing the Confluence caches (at Confluence Admin > Cache Statistic > Flush all) OR restarting Confluence, which will clear the caches. Then navigate back to the Custom HTML page to see if you can edit the text boxes again.

I hope this helps!

Cheers,

Brian 

If I 'Save' or 'Cancel', and go back to that screen they are still greyed out and disabled. Will clearing the Cache have any other affects on the system?

Brian Tom Atlassian Team Nov 25, 2014

Clearing the cache will force Confluence to fetch fresh data from the database, so you may notice some pages may not load as fast as before. But that will change once the caches start to populate.

Had the same problem, and flushing the Caches worked like a charm.

Hi Bristow,

I once had a similar problem smile (Remove erroneous custom HTML) and ended up in removing the faulty code directly from the database using SQL.

Cheers,
Kirstin

Will check this out, hoping clearing the cache will solve the issue as I don't particularly want to start digging around in SQL!

HI @Brian Tom, 

Thanks for the advice to clear the cache - that fixed the issue for me (though it did clear all my code).

 

Best,

Daniel

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

79 views 2 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you