49 Bx-Errors When Uploading New Templates? The Problem and the Fix
Tuesday, February 24, 2009 /

For around a week now, many Blogger users have experienced Bx-error codes when attempting to upload a new template to their blogs when previously these templates had worked just fine.



I discovered the reason for this on the Blogger Help Group after reading this post from Gatsby, a Blogger Employee:



Recently we changed the way our template editor accepts certain third party code, so that it is now less tolerant of certain templates. We did this because we had seen a lot of data corruption due to 'bad templates,' and we are trying to stave off some of these issues pre-emptively.



Now we realize that this has caused some inconvenience to folks, so we are re-thinking our decision and will post an update on that shortly. 
At the time of writing this post, I have not found any notification that this issue has been fixed, and many of my own custom templates do not work in their initial state (I'll explain the fix later in this article). Since there are so many bloggers complaining in the Blogger Help Group, I would imagine the Blogger Team will resolve this issue shortly.



However, in the meantime, many of us are stuck wondering what to do about our templates:

  • Those wishing to upload a new template will at present need to fix their template in order to be able to use it.

  • Those of us who design and distribute Blogger templates are facing complaints from our readers (and in some cases, from buyers of our premium themes). Should we "fix" all of these templates or wait for the Blogger team to resolve the template editor issue?

Personally I would prefer to wait a few more days for the Blogger Team to fix the issue (and hopefully provide some clarification of what is expected from third-party templates!). In the meantime, there is a method which we can use to fix the templates which initially receive a Bx-error code.



How to upload templates without receiving a bX-error code

Many Bloggers who have been unable to upload third party templates have received the following error codes:

  • bx-bliced

  • bX-ev85ll

  • bX-39cc9q

  • bX-y6cz0v 

  • bX-982020

There are several other codes too, though the issue appears to be the same for all.



Thanks to joleneliow from the Blogger Help Group, many Blogger users have reported that the following fix resolves the issue, and they have been able to upload a new template successfully. Here are the steps you should take:

  1. First of all, try to upload your new template in the Layout>Edit HTML section of your dashboard. Not all templates have been affected by this issue, so it is advisable to check before attempting to edit your template significantly. If you do receive a bX-error code when trying to upload your template, you should proceed to step 2.

  2. If your new template is an XML file (with the .xml entension), browse to where this is located on your computer and right click the file. Choose to open with Notepad (or your favorite basic text editor). If your template is contained within a text file (for you to copy and paste into the template editor), simply open this with your text editor.

  3. Search for every instance of b:widget id= in your template, for example:







    • b:widget id='Header1'

    • b:widget id='Blog1'

    • b:widget id='Label1'

    • b:widget id='HTML1'



    Replace each of these IDs with the next number up. For example, Header1 should become Header2; Blog1 should become Blog1, HTML3 should become HTML4 and so on.


  4. Once you have changed each and every instance of widget id to a different number, you should save the template under a slightly different file name (to be aware of your altered file). If this is an XML file, be sure to save with the XML extension.

  5. Now you have made these changes, attempt to upload your file again in the Layout>Edit HTML section of your Blogger dashboard. Now you should not receive the error code and will be able to upload your template.

If after following these steps you are still unable to upload your revised template, it is worthwhile to close your browser and delete all temporary internet files and cookies. Then restart your browser and try to upload again. Clearing all of these temporary files from your browser will ensure you receive a fresh page when editing your template. Previously when I have received error codes while editing Blogger templates, this technique has resolved the issue.



It may also be worthwhile using CCleaner to remove all such temporary files from your system. This is a free program which I use on a regular basis to clean up (and speed up) my computer.



I do hope that these techniques will enable you to upload a new template to your blog if you have previously received a bX-error code. If you know of any alternative solutions please do let us know about these by leaving a comment or sending me an email.

A message for the Blogger Team

I completely understand your concerns that certain third party templates may contain code which causes data corruption (and I'm sure most other Blogger users do too!). None of us enjoy experiencing issues with our blogs, and of course ensuring all templates contain no malicious code is of the utmost importance in maintaining a safe and enjoyable environment for Blogger users.



If it would be possible to post some guidelines for template developers, this would be truly appreciated! This way, those of us who design templates for Blogger can ensure we meet these guidelines in order for our templates to work correctly, without causing issues or bX-errors.



Another possible solution would be to provide a repository of "approved" third party templates, much like the one provided by Wordpress.com. I do understand that this would be a huge development and require much work, though I'm sure there would be many volunteers willing to help check templates before they become publicly available (myself included) and the Blogger community in general would be thrilled to have such a feature available!

49 comments:

February 24, 2009 at 8:52 AM EditorPinoy said...

Thanks for the post Amanda! Got to spread a good news on this one. And of course I will put a link on this post.hehe I am a Good blogger.hehe ^_^

http://bloggertinker.blogspot.com

February 24, 2009 at 9:22 AM EditorPinoy said...

Hi Amanda,

I have just noticed a typo on your post:
"Blog1 should become Blog1"

I believe this should be:
"Blog1 should become Blog2"
Thanks a lot! ^_^

http://bloggertinker.blogspot.com

February 24, 2009 at 9:38 AM Tuan Anh said...

Thanks for the post. Not every people know this tip, included me. Very useful :

February 24, 2009 at 9:56 AM zchamu said...

I've had this problem for months and months. Very rarely am I able to upload a template easily. Often, though, if I switch browsers it works. Who knows!

February 24, 2009 at 10:06 AM irvan said...

I have replace "every instance of b:widget id= " with the next number up, but i have received new error message "bX-z2j79s", i will try to find out what the problem, Thanks for your info

February 24, 2009 at 10:31 AM Deluxe Templates said...

Hi Amanda,
I have a solution for /newbie/ how to bypass this error, Solution for Blogger error: bX-bliced & bX-si9ejx

February 24, 2009 at 10:59 AM
Anonymous said...

test...

February 24, 2009 at 11:28 AM Brenda said...

Perhaps if blogger doesn't like us using 3rd party templates there could be more options of templates? Sounds like a winner to me!

February 24, 2009 at 12:37 PM The Fitness Diva said...

OMG, this same issue was driving me nuts the other night, and I finally gave up! I had found 2 great templates that just would not upload onto a blog I have, and the bx- error message kept popping up each time that I tried uploading them. I'll take your tips and try again.
Thanks for posting about this!!!

February 24, 2009 at 2:06 PM harry seenthing said...

if error like that my head is headict.....because i dont know how tio fix it

February 24, 2009 at 3:24 PM
Anonymous said...

Omg i think i love you. You are wonderful. It worked perfectly.

February 24, 2009 at 5:45 PM Pavel said...

Hi Amanda,

Thanks for your post.

I've just changed some IDs with the next number up and uploaded successfully.

Rgrds,

February 24, 2009 at 7:00 PM Brian said...

I don't know if Google's working against us or is just plain lost.

I have tried your solution Amanda as well as four others I have found with 8 different templates.

I've had no success and have gotten that damn error so many times I'm going to get a bX-hq2u5m tattoo tomorrow.

February 24, 2009 at 8:52 PM Eric said...

Thank Q for this post, i really want to know how to fix it..thanks!

February 24, 2009 at 9:30 PM Brian said...

Finally got it to go.

Thank you so much for putting the answers together for all of us.

February 25, 2009 at 1:34 AM
Anonymous said...

Finally, advice on how to fix this issue that isn't "move to Wordpress."

February 25, 2009 at 5:35 AM Metal Film Review said...

thanks amanda.. it's working now =)

February 25, 2009 at 5:51 AM Matt said...

Awesome post. Thankyou!

February 25, 2009 at 7:03 AM ALLAL said...

Just Clear Your Web Browser

http://chams-blog.blogspot.com/2009/02/how-to-fix-bx-xxxxx-errors-in-blogger.html

February 25, 2009 at 9:19 AM Ori said...

I agree with @zchamu, I too last time switched browser when I got Bx-errors and surprisingly I could save the template.

At that time I got Bx-error when I used FF v20020, then the Bx-error didn't appear when I changed to IE6. Then after it's able to be saved, I went back using FF, and the error's gone.
I don't know it always works. I just had the chance to try it once yet.

February 25, 2009 at 9:20 AM Ori said...

sorry I meant to say: I don't know if it always works.

February 25, 2009 at 11:19 AM Carol King said...

Thank you so much, I was tearing my hair out. Everything is working great now.

February 25, 2009 at 12:03 PM pocket said...

I agree. Especially about providing a repository of "approved" third party templates.

But I have to disagree with "Replace each of these IDs with the next number up".
Doing this you can get an additional error saying that "one or more widgets have the same ID.."
This happens later, when you add/remove widgets from your Blog, and then try to change/customize something (anything) in the HTML code of the template.
The error message will pop out and you won't be able to save your settings. Again, this is fixed by changing the ID's of the widgets, and neutralizing the repetition of the same ID in more that one widget.
Blogger does this, because it gets confused when you edit the ID's manually.
Rather than changing the number '1' into '2', and so on, change '1' into '11', '2' into '22'...or any other number you'd like. Higher value=better.

February 25, 2009 at 5:03 PM chroncile said...

Hello Amanda, this is a very interesting post, but I believe that there is a much easier way to fix this problem as I have posted on my blog:

http://www.anoobsguide.com/2009/02/how-to-fix-bx-errors-in-blogger.html

This solution has personally never failed me up to date.

February 26, 2009 at 1:04 AM Ishan said...

this was really stupid on Blogger team's part to make this change without properly testing it. This had such a widespread effect.

http://SaveFewBucks.Blogspot.com

February 28, 2009 at 8:46 PM Mrs. Henning said...

Worked like a charm! Thanks!

--Jamie
http://www.jamiehenning.blogspot.com

March 1, 2009 at 10:29 AM E-Energumene said...

Thanks ! You saved my life :)

March 3, 2009 at 3:06 PM UPrinting Postcard Printing said...

A big thanks to you Amanda. At last, I have found "the fix" in uploading my template.

March 4, 2009 at 12:31 AM tovarossi said...

thats a agood ideas.
thanks for info n bravo for all

March 4, 2009 at 9:04 PM
Anonymous said...

bX-8e22fk ?

March 5, 2009 at 6:35 PM UPrinting Postcard Printing said...

I've been having this problem for quite sometime now and really getting pissed. THANK YOU for providing 'this fix'. Now, I can upload new templates for my blogs.

Thanks for this post!

March 7, 2009 at 3:11 AM Azzah Afiah. said...

thanks! after days searching for solutions! AND its this EASYYY? man. :D thank you thank you!

March 10, 2009 at 3:21 AM How To Speed Up Computer said...

This is great! Been looking for this.. And it works...

Thanks

March 15, 2009 at 10:44 AM Blogger Template said...

Thanks amanda. This was really help.

March 18, 2009 at 6:32 AM internet marketing said...

thank you for the information, I always have problems with this, but now I get a solution, directly and hopefully successfully tested

March 29, 2009 at 11:14 AM Chaotic Kitten said...

I have tried what you said, even emptying out my temporary files and such, and I still can't change my template. Do you or anybody else know if or when the Blogger team's going to fix this? Because I don't know enough about HTML to know what is the offending piece of code.

April 5, 2009 at 2:57 PM thewordseeker said...

Thanks for this post. It cleared a lot of my questions I have had.

April 14, 2009 at 1:29 AM How To Make Your PC Faster said...

This has been extremely useful, thank you..

May 11, 2009 at 8:00 AM Pu Niao said...

Actually, when you get to the page with the Bx error message, refreshing the page again will help though.

July 19, 2009 at 2:15 AM admin said...

thank you for the post.

I think many of the bloggers will be thankful to you for the great content

http://newclassifieds4u.blogspot.com/

July 27, 2009 at 11:28 AM Speed Up Your Computer said...

thank you amanda , great informations !
I wish you keep posting such great stuff

Post a Comment