View not showing via web browser

Hello All.

I have a web application that was created in R5 and worked like a charm, moved it to a 6.5 server and now I can not see the documents in the views. I have read the other posts and nothing has worked. I am using the $$ViewDefaultTemplate form with the $$ViewBody field within it and no luck. The client version is great, but for some reason the data within the views is not appearing on the web. All help is Truly appreciated. Thanks!

: )

Subject: View not showing via web browser

Okay, you’ve read other posts. Exactly what have you checked so far?

Subject: RE: View not showing via web browser

I have checked the pass thru HTML. I embedded the view, still no luck. Set the database to launch a page within a frameset, no luck. Removed the frameset. Is there a setting on the server I can check? I do not know why the docs would not show via the web.

Thanks

Subject: RE: View not showing via web browser

Have you checked the actual HTML source of the web page? Are the documents there in the source, or were they never served? (A hanging or missing tag can cause a page not to render correctly.) What is the HTML version being served by your 6.5 server? Your R5 server? What browser are you using?

Subject: View not showing via web browser

Error messages? Does anything from the template show at all? Do you have same security settings in db (i.e. anonymous, etc)?

Need more info to help.

Subject: RE: View not showing via web browser

There are no error messages. When I view the database from the 5 server I can see all the documents in the view, when I view the database from the 6.5 server I can not see any of the documents within the view. Is there a setting on the server I can check? Yes, I have the same settings throughout the databse. Do I need additional settings for viewing it from the 6.5 server?

Thanks

Subject: RE: View not showing via web browser

Are you viewing it from the same ID (or anonymous) that you were before? It could be a readers field issue. Has the security in the View Properties changed?

Jeff Dayton

Subject: RE: View not showing via web browser

Hello. Thanks for the response. Yes, everything is exactly the same. The database works 100% correctly on the 5 server, I made a copy of the database and when I view it on a 6.5 server, I can not see the data within the view. The database is exactly the same. I am stuck. Thanks!

Subject: RE: View not showing via web browser

Can you see anything from the database? Not from the view, but if you just do ?OpenDatabase (of course with the correct server/path before that).

If you can see the db, then it’s the view or documents giving you trouble. As Stan asked, if you view the HTML code, is there anything there? A blank screen is a little odd. What syntax are you using to open the view and/or documents? Can you see other views? I know it’s frustrating, but with out having the db in front of me, can’t troubleshoot.

Subject: RE: View not showing via web browser

Hi again.

When I enter the URL, Servername@123.com/databasename.nsf

the database opens and I can create a new document. When I save the document I can not see the saved document in the designated views. There are 5 views and if I click on their link they open, but the docs are not visible on the web, if I go to the client I can see them. In short, yes the database works, the views function, but the docs are not visible in 6.5 web, only on the client or from a R5 server.

Thanks!

Subject: RE: View not showing via web browser

The views might be auto collapsed or possibly their are security fields on the document. Without the db in front of me, I am totally guessing.

If you want, send me the db (with no documents) zipped at davidhernandez24@yahoo.com and I will take a look.

Subject: RE: View not showing via web browser

Again, that is of almost no help at all. “It doesn’t work” is not specific enough.

What does the HTML look like? Not the rendered stuff in the browser, the code you get when you do a “View > Source” or “View > Page Source” from the browser. How does what Domino 6.5 creates differ from what R5 generates? Is the view missing altogether from the HTML, or is it there but just not displayed? Which browser are you using?

If the same thing is happening in five different views, then the problem probably lies on your $$ViewTemplateDefault. Domino 6.5 tries to serve HTML 4.01-compatible HTML (and specifies that as a DOCTYPE). R5 usually claimed to be spitting out HTML 3.2, which really had no rules whatsoever. A relatively recent browser will have no problems telling you that the HTML it’s being fed is garbage when that’s the case. A really old browser might not be able to deal with well-formed HTML 4.01.

Subject: RE: View not showing via web browser

Hi.

I compared the source code in the two databases and the following line is the only difference. This is the first line that is listed in the datbase that is having issues.

Subject: RE: View not showing via web browser

Okay, now we know that it is probably some non-compliant HTML causing the problem – something that would have worked in the “all’s fair in love and war” of HTML 3.2, but doesn’t work in the much-stricter world of HTML 4.01. With that in mind, I’d need to see the database to find out what’s going on. If you’d like to send me a copy (File > Database > New Copy, design only, with default Manager in the ACL, zipped if possible) at stan(dot)rogers(at)cgi(dot)com, I’ll try to find the problem for you.