Skip to main content

Blogger Layout error - "An error occurred. please refresh the page and try again" - How to fix?



 "An error occurred. please refresh the page and try again" - Blogger doesn't allows saving of rearrangement widgets in the Layout page - how to fix this?

Blogger's using blogspot blog tool might have come across the error message "An error occurred. please refresh the page and try again" while trying to save the blogs layout after a rearrangement of the blog widgets. ie bloggers may not be able to save the changes made on their blogspot blog's layout.


I also had a similar experience. Usually this error happens after you edit the Blog's HTML to display some widgets only on mobile version of the website or you might have tried to remove the attribution / copyright widget.


Here I am sharing what I did to prevent this error.

1. Login to the blogger website www.blogger.com

2. Go to your blog's admin panel

3. Click on the Template tab on the menu

4. Click on EDIT HTML button to open the HTML code of your blog on the Editor

5. If you are are not confident on editing using blogger's HTML editor then copy the HTML code to Your favourite HTML editor

6. Save a copy of HTML as a backup code

7. On the other copy you can do modification for applying to your live blog.

8. Find the occurence of " mobile='only' " text in the code .

mobile='only' attribute is added to widgets which are intended to display only on mobile devices. Once this is added and the code is saved using the blogger's HTML editor, then that widget will not be displayed on the LAYOUT page of the blog. So when you try to rearrange widgets and try to save the Layout, the hidden widgets will prevent it from saving. So to fix the issue you have to remove all the occurences of " mobile='only' " attribute in the widget definitions.

In my blog's code there was an occurence of " mobile='only' "

<b:widget id='HTML1' locked='false' mobile='only' title='CROZOOMMobAd' type='HTML'>
<b:includable id='main'>
<!-- only display title if it's non-empty
<b:if cond='data:title != ""'>
<h2 class='title'><data:title/></h2>
</b:if>-->
<b:if cond='data:blog.pageType == "index"'>
<div class='widget-content'>
<data:content/>
</div>
</b:if>

<b:include name='quickedit'/>
</b:includable>
</b:widget>

9. So I removed the " mobile='only' ". Since this widget is to be displayed on mobile version of the website, I used another blogger function data:blog.isMobile. Modified code is given below:


<b:widget id='HTML1' locked='false' title='CROZOOMMobAd' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.isMobile'>
<!-- only display title if it's non-empty
<b:if cond='data:title != ""'>
<h2 class='title'><data:title/></h2>
</b:if>-->

<b:if cond='data:blog.pageType == "index"'>
<div class='widget-content'>
<data:content/>
</div>
</b:if>
</b:if>
<b:include name='quickedit'/>
</b:includable>
</b:widget>


10. After this changes, I pasted the code to blogger's HTML Template editor and saved it.

11. Then I clicked on the "LAYOUT" tab in the menu

12. On the Layout page, added the widget rearrangements and saved.

This time no error appeared and everything seems to be fixed...

Try it and post your comments...

Popular posts from this blog

Sachin Tendulkar's emotional farewell Speech at Wankhede Stadium, Mumbai - Full Text and Video

Full Text and Video of Sachin Tendulkar's emotional farewell Speech on Nov 16, 2014 On November 16, 2013 - Sachin Ramesh Tendulkar played his last international cricket match against West-Indies at the at Wankhede Stadium, Mumbai. After the match he gave an emotional farewell speech. No one would be able forget the speech. The eyes of the gathered people were tearfull. Through out the speech Sachin thanked each and everyone who supported and encouraged him to build up his glorius career which spanned 24 years.

How to remove backlinks to your website from low quality websites and how to Disavow websites?

Some webmasters may find their website's traffic dropped significantly after a particular day. The day before the traffic drop, might have received lots of visitors, but after that the web traffic dropped to less than 50%. Periodically Google releases some search algorithms which tracks low quality sites and penalise pages so that they may not appear in top positions of the search results there after and this will lead to low traffic to that website.

PHP script to list files in a given directory using opendir, readdir and glob functions

PHP script to list files in a given directory The below given script goes through a given directory and list the name of the files in the order as it is stored in the file system. The first script uses a directory handler to operate on a given directory. It opens the handler, reads file entries one by one by looping through the directory (during this step you can process the file ) and finally close the handler


Urgent Openings for PHP trainees, Andriod / IOS developers and PHP developers in Kochi Trivandrum Calicut and Bangalore. Please Send Your updated resumes to recruit.vo@gmail.com   Read more »
Member
Search This Blog