[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 417
  • Last Modified:

Unable to view frameset using FireFox

Greetings learned experts,

I'm on Domino 6.5 (yeah!) and this is an inherited database. This frameset that generates the error, "Invalid URL syntax", but then continues to open.  I can view this frameset in IE but it shows the following message in Firefox - "Error 500 HTTP Web Server - Invalid URL exception". When I look at the "offending" frame in the frameset I see "Unable to load content for this frame", "Content type URL", "Content value Computed" in it as 3 lines. When I look at the frame properties, it is trying to open a form that contains 2 fields and <META HTTP-EQUIV="Refresh" CONTENT="0; URL=http:\\swgapps.tivlab.raleigh.ibm.com<Computed Value1>\<Computed Value2>" >

Field 1 called Query_String, text and editable
Field 2 called HTTP_Referer, text and editable

Computed Value1 has the formula: DBName:=@Subset(@DbName;-1);
@If(@Right( HTTP_Referer; "&" )="";"/path/anotherdb.nsf";"/"+@ReplaceSubstring(@ReplaceSubstring(DbName; "\\"; "/"); " "; "+"))

Computed Value 2 has the formula: @If(@Right( HTTP_Referer; "&" )="";"Main?OpenPage"; "all/" + @Right( HTTP_Referer; "&" ) )

My questions are: What is an HTTP_Referer field, Is there a better way to do this and How do I get this to work in FireFox?

With gratitude - Notes Rookie
0
notesrookie
Asked:
notesrookie
  • 3
  • 3
  • 2
2 Solutions
 
marilyngCommented:
HTTP_Referer      The URL of the page the user used to get here.
-----------
I think the offending frame is redirecting to another domain: swgapps.tivlab.raleigh.ibm.com <plus whatever is here><plus whatever is here>


So the rest of the formula is trying to find values in the query string: mypreviouspage.com?openthis=1&var=2
If the value right of "&" = "" then open the Main Page, else open the all/ view and I'm guessing the docID after the "&"


Not sure what this is doing:
Computed Value1 has the formula: DBName:=@Subset(@DbName;-1);
@If(@Right( HTTP_Referer; "&" )="";"/path/anotherdb.nsf";"/"+@ReplaceSubstring(@ReplaceSubstring(DbName; "\\"; "/"); " "; "+"

>> if the http_referer; "&" is null, then: http:\\swgapps.tivlab.raleigh.ibm.com/path/anotherdb.nsf";
else
          http:\\swgapps.tivlab.raleigh.ibm.com/folder+a/dbname.nsf

So it would seem that the "\\" shoudl be "//" in the main URL: http://swgapps.tivlab.raleigh.ibm.com


IE would correct, but maybe firefox doesn't?

THis is pretty much the standard stuff.  Embed a query-string in the URL to pass to the next, this way you can pass values and just add the next url

So, try the obvious and see what happens.

Then try the EXACT URL's in the Firefox Address bar to see what it doesn't like.




0
 
Sjef BosmanGroupware ConsultantCommented:
In this case, you should inspect the log files on your server, not the log.nsf but either domlog.nsf or the Domino-generated HTTP logs. When logging is enabled, of course. If it isn't, enable logging in the Server document, under Internet Protocols, HTTP. I myself prefer the domlog.nsf, but if you expect a lot of traffic on the HTTP server the log-files might be more practical.

Then, reproduce the error and look in the log to see what URL is generated. Please post it here. It must be the \\

PS Firefox doesn't handle backlashes right ;)
   
0
 
marilyngCommented:
Thanks, I was pretty sure that's what is was, but glad to see you agree with me.  I had to think my way through it when I was replying.  Sorry for the length.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
notesrookieAuthor Commented:
I appreciate your "talking" through the logic there, marilyng. I'll see what I can do about cleaning up the "mess" and testing. Thanks for your help and guidance. And thanks, sjef for confirming marilyng's suspicions. ;-)
0
 
notesrookieAuthor Commented:
marilyng & sjef - That was it! I created a copy of the database and change the "\\" to "//" and it worked in both IE and Firefox. I'll split the point between you with marilyng getting the bulk of it since she took the time to go through all the information I sent. Many thanks to the both of you.

Notes Rookie.
0
 
Sjef BosmanGroupware ConsultantCommented:
Just a hint: instead of
    DBName:=@Subset(@DbName;-1);
    @ReplaceSubstring(@ReplaceSubstring(DbName; "\\"; "/"); " "; "+"))
you can use
    @DWebDbName

New in R6...
0
 
marilyngCommented:
@DWebDbName<< typo>> @WebdbName
0
 
Sjef BosmanGroupware ConsultantCommented:
:-S
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 3
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now