I'm having problems trying to implement HTML headers and footers on the search page. I saw in other posts that I can use a top.html and bottom.html file to store the HTML and have it loaded when the page is generated, but this looks to be deprecated in favor of storing the HTML in a database in the current generation. Is this correct? I'm unable to set the HTML through the Search settings interface because I keep getting a server error, which is definitely due to my HTML (which is standards-compliant XHTML/Javascript). Is there any way to address my problem without having to rewrite the search script?
html headers and footers
html headers and footers
Getting server errors when doing what? If it's when submitting the form with IE, try another browser. IE has problems submitting large forms.
html headers and footers
I stripped my HTML down to see if I could isolate any of the problems and found the following:
- If I set the html to '<div class="addNewFavoriteTop">', the Webinator accepts the change.
- However, if I try to submit the following: '<div class="addNewFavoriteTop" onmousedown="">', I get the following error message:
Network Error (tcp_error)
A communication error occurred: ""
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.
This happens every time. I'm using Firefox to submit the form, and have no trouble submitting much larger chunks of HTML, but the system chokes on the 'onmousedown'. If I remove that term from the HTML, I can update the page with the HTML shown.
What confuses me is that I can't see how that should make a difference at all. There are no special characters that could conceivably cause any problems, so there must be a problem in the form handling, but since I don't have access to the form handling, I don't know what I can do about it.
- If I set the html to '<div class="addNewFavoriteTop">', the Webinator accepts the change.
- However, if I try to submit the following: '<div class="addNewFavoriteTop" onmousedown="">', I get the following error message:
Network Error (tcp_error)
A communication error occurred: ""
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.
This happens every time. I'm using Firefox to submit the form, and have no trouble submitting much larger chunks of HTML, but the system chokes on the 'onmousedown'. If I remove that term from the HTML, I can update the page with the HTML shown.
What confuses me is that I can't see how that should make a difference at all. There are no special characters that could conceivably cause any problems, so there must be a problem in the form handling, but since I don't have access to the form handling, I don't know what I can do about it.
html headers and footers
The browser will encode any "special" characters. And the server doesn't care what the data is. Is there a proxy somewhere between you and the server? Either one configured in your browser or a transparent/filtering one as part of a firewall? If there is try without the proxy.