BrowserLab chokes on URLs with a hash (#)
BrowserLab seems to have trouble with URLs that contain a hash (#).
For example, it loads http://www.stagebloc.com/faq/ just fine, but if I try to load http://www.stagebloc.com/faq/#faq_01 (simple anchor link), it renders part of the page then says "Adobe BrowserLab was not able to load the URL requested."
If I try to load http://www.stagebloc.com/#/how/ (AJAX navigation that can be linked directly, bookmarked, etc.), it fails completely, stating "This screenshot cannot be loaded because the URL is invalid. Please fix it and try again."
Hey Mike,
It looks like BrowserLab is choking on the way your navigation works, with the JavaScript rewriting the window location. Running your site through BL with the JavaScript disabled (but still with the hash in the URL) doesn't look gross, and running various other sites with a hash in the URL work fine.
I guess JavaScript opens up a whole new can of worms.
It looks like there is something wrong though, since it thinks http://stagebloc.com/#/how/ is invalid.
Reed
Similar Messages
-
URLEncoding of URLs with UTF-8 characters
Hi,
I'm trying to URL encode a URL with some chinese characters in them. But it isnt working properly.
i.e. When i decode back the encdoed URL (using java.net.URLDEncoder.decode(String) & java.net.URLDecoder.decode(string) respectively), I dont get the same URL back... The chinese characters are lost some how...
I tried writing it to a file instead of printing the out put, but no luck...
input URL=http://down.chinamp3.com/down.php?id=70201&song_name=I%20Will%20Be%20Fine&singer_name=莫文蔚
encoded URL=http%3a//down.chinamp3.com/down.php%3fid%3d70201%26song_name%3dI%2520Will%2520Be%2520Fine%26singer_name%3d%e8%8e%ab%e6%96%87%e8%94%9a
decoded URL=http://down.chinamp3.com/down.php?id=70201&song_name=I%20Will%20Be%20Fine&singer_name=���������������������
Where as the decode URL should be same as the input URL!!!!
I'm completely stuck, Some advice will be highly appreciated!
Regards
PratimI tried something similar in different ways. After spending days.. i came up with something which is working fine for me in any language. I tested the following code from java applet, or input from HTML page, it seems to be working fine. I hope this helps.
Do not use the request.getParemeter() for retrieving chinese or other 2/3 byte input characters. Instead create your own hashtable and do read ur request input stream directly.
------------------- code ----------------
String queryString = request.getQueryString();
String paramStr = "";
if(isPost)
StringBuffer buffer = new StringBuffer();
char[] buf = new char[4 * 1024]; // 4Kchar buffer
int len;
BufferedReader reader = request.getReader();
while ((len = reader.read(buf, 0, buf.length)) != -1)
buffer.append(buf, 0 ,len);
paramStr = buffer.toString();
paramStr = URLDecoder.decode(paramStr,"UTF-8");
p(paramStr);
Hashtable requestHash = createHash(paramStr);
Hashtable getRequestHash = createHash(queryString==null?"":queryString );//HttpUtils.parseQueryString( queryString==null?"":queryString );
for(Enumeration e= getRequestHash.keys();e.hasMoreElements();)
Object key = e.nextElement();
Object value = getRequestHash.get( key );
requestHash.put(key,value);
p("Request Hash size : " + requestHash.size());
--- end code ---
And now the create hash function
-------------- code -----------
Hashtable createHash(String str)
Hashtable hash = new Hashtable();
StringTokenizer st = new StringTokenizer(str,"&");
while(st.hasMoreTokens())
StringTokenizer st1 = new StringTokenizer(st.nextToken(),"=");
String key = st1.nextToken();
String value = (st1.hasMoreTokens()?st1.nextToken():"");
hash.put(key,new String[]{value});
return hash;
String getRequestValue(Hashtable requestHash,String key)
if(requestHash.get(key)==null)
return null;
String value = ((String[]) requestHash.get(key))[0];
return value;
String[] getRequestValues(Hashtable requestHash,String key)
if(requestHash.get(key)==null)
return null;
String[] value = ((String[]) requestHash.get(key));
return value;
--------------------- end code ---------------
You can get the request value like this:
String act=getRequestValue(requestHash,"act");
I hope this one helps -
Why do I have to append URL with /index.htm on one KB?
I have 7 different KBs I maintain on my webserver. I am using RoboHelp 7. For one of them, I have to append the URL with /index.htm, or it does not show the correct information. Examples of two of the KBs, and what happens with & without the index.htm appendeden
I will happily provide any other information. I've been wondering about this for a long time, and it's finally driven me batty enough to ask. Thanks so much for any assistance. Greatly appreciate your input, this is a wonderful resource.
http://wpa10suppliertest.am.mot-mobility.com/ opens a training KB for supplier information. See screenshot of the WebHelp Primary Layout:
However, for http://wpa10user.am.mot-mobility.com/ if I do not append with http://wpa10user.am.mot-mobility.com/index.htm, I get no content, and the first skin I tried out. The settings are the same:
http://wpa10user.am.mot-mobility.com/:
http://wpa10user.am.mot-mobility.com/index.htm:Hi William,
That makes sense - but I had looked at my IIS setups and they appear the same for all KBs, again here are settings for WPA Supplier & User. I created both the same day, the same way, and have compared all tabs which are identical. I can double check on how the DNS aliases that were set up, but they should have been identical as well -
Printing different URL with javascript
I am trying to print a URL using javascript but i do not want to print the current page. I have searched google, this forum and a javascript book and can not seem to figure it out. To exlplain in it generic terms i want to be on one page and tell it to print another. Reason being, I am looking at an overview page and want to print a report made in Oracle reports, (Yes I could load the report and print it but i want to print multiple reports from one button)(The reports do work and are valid) Here is a rundown of what I am doing.
From a button i am calling a 'url' with the following code:
javascript:V_PRINT('P50_CUSTOMER_ID','P50_YEAR');
And then in the html header i have the code: (printing same page twice, just an example)
<script language="JavaScript" type="text/javascript">
function V_PRINT (formItem1,formItem2) {
var formVal1 = document.getElementById(formItem1).value;
var formVal2 = document.getElementById(formItem2).value;
var url1;
var url2;
url1 = 'http://www.google.com/search?hl=en&q=' + formVal1 + '+' + formVal2;
url2 = 'http://www.google.com/search?hl=en&q=' + formVal1 + '+' + formVal2;
url1 = print();
url2 = print();
</script>
This code just prints the current page. I know I am calling print incorrectly and thats where i need the help. Of course I might just be approaching it all wrong. Either way I hope someone with javascript knowledge can help.
ThanksHello,
To print a page it has to be open in the browser since all it does it call the browsers print dialog.
Here is one solution http://www.irt.org/script/508.htm and you can also try a iframe instead of a regular frame.
If it's crossdomain request like your example here that might cause problems as well. There might be additional problems.
Carl -
How to read the param in an URL with an applet???
I will like to read the in an URL with an applet param (after the ?)
I need the equivalent of: String parm1 = request.getParameter("param"); but for applet
I think the HttpServletResponse doesn't work in an applet ???
Tell me if I'am right
Thanks for your help
BenoitHi
What you can do is, just get that URL in the web page. Like as we can get in the ASP. Store the required information in the variables and pass this information as parameters to the applet.
Hope this helps! -
"there was a problem connecting to the server. URLS with the type 'file' are not supported"
i have a new macbook pro 13" and every 6 minutes or so it pops up a window that says "there was a problem connecting to the server. URLS with the type 'file' are not supported". it never seems to cause any problems but is supremely annoying. how can i make this come to an end?
I tried someone's solution of taking another external disc and plugging it in, then when it showed up and time machine asked if I wanted to use it or that someone might be trying to trick me, I chose not use it. Then I shut down my computer, plugged in the original Lacie, and rebooted the computer and all seems to work fine now-- the Lacie appears on my desktop and all seeems to be in working order. Who knows why or anything else,- as weird as it gets- but for now things seemed fixed--- maybe others can try this too-- it worked for me so far.
-
After upgrading to Mountain Lion, I repeatedly get this message: "There was a problem connecting to the server. URLs with the type "file:" are not supported.
Why?
What can be done to eliminate it?Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.
-
new macbook pro receving this message: There was a problem connecting to the server. URLs with the type "file:" are not supported. What is causing this and how do
Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.
-
I have just upgraded to Mountain Lion from Leopard, but now I keep getting this message when I open some web-pages and every time I wake the Mac up after going to sleep. For some odd reason I get it in Swedish sometimes (installed language) and some times in English...
There was a problem connecting to the server.
URLs with the type "file:" are not supported.
OK
What is this and how can I get rid of it. I use Firefox and have updated to latest version.Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.
-
since installing Lion I keep getting the error message 'there was a problem connecting to the server. URLs with the type 'file:" are not supported"' How can I fix this?
A Davey1 wrote:
Not a nice answer!
Posting "Check the 'More like this'" area and not simply providing the answer is a great way to make these groups worthless.
You're ignoring context. On the old Apple Discussion Groups I never posted replies like that, instead giving people relatively detailed answers. The new Apple Support Communities made things worse by introducing certain inefficiencies. Then came Lion. The flood of messages that came with Lion required a painful choice for any of the people who had been helping here: (1) Give quality responses to a few questions and ignore the rest. (2) When applicable, give a brief answer such as the one that you found objectionable. (3) Give up all the other normal activities of life and spend full time trying to answer questions here.
People who needed help with Lion problems seemed to have trouble discovering existing message threads that described how to solve their problems. I never posted the suggestion of "Check the 'More like this' area" without verifying that the help that the poster needed could be found there. Even doing that, what I posted saved me time that I could use to help someone else.
The people helping here are all volunteers. None of them is being paid for the time they spend here. They all have a life outside of Apple Support Communities. It's arrogant of you to demand that people helping here spend more time than they already do. -
IC webclient url with parameters
Hi all,
Can I call IC webclient url with Parameters from another SAP system?
Thanks and Regards,
SmrutiHi Smruit,
Check out this link that explains the options for opening the IC webclient. It gives you teh URL parameters
http://help.sap.com/saphelp_crm50/helpdata/en/84/11939c402646a080a44521c79a66f1/content.htm
Cheers
Andrew -
Button URL With Variables widget that works with HTML5
Hello,
I'm currently using the "Button URL With Variables widget 6.x" developed by CaptivateDev. com. Unfortunatley it is not compatible with HTML5 projects in Captivate 7. Do you know where I can find one?
Thanks,
StewartI don't know yet about any widget available for HTML5 output, with the exception of the interactions included with Captivate.
-
Please help me in resolving the URL with parameters.
Hello,
Please help me in resolving the URL with parameters. If desformat is pdf, a pop up message �Acrobat Reader could not open �pa034922.fdf� because it is either not a supported file type or because the file has been corrupted���.
if desformat is html or xml, the following URL is working.
our requirement, report should be in pdf format.
http://servername:7778/dev60cgi/rwcgi60?server=Rep60_mclaren&&userid=bizsystest/test@business&destype=cache&desformat=pdf&report=salary_dept.rdf&p_dept_list=''ABE','ASE','CE','CHE','CS','DE','DIAL','ECE','ERC','IE','ME','PTE','ARC','ASE1''&p_status_list=''ACP','AD','AP','ATP','D','FE','HD','INS','P','RP','S','TF','TP','TS','ST','GS','O''&p_sex=''M','F''&p_order_by='Name'&p_totals='NO'
Thanks in advance,
UshaWe've seen this bug on machines running IE6 with a certain security patch (I forget its number). There's a thread in the Metalink reports forum about it. It appears to be somewhat tied to another problem where IE runs the report twice (you can see that in Showjobs. You're seeing the problem in 6i; I believe it persists in 9i.
The workarounds are (1) set Acrobat so it doesn't open within IE or (2) switch to a different browser, like Netscape. For workaround 1, Start Acrobat Reader, Choose File -> Preferences -> General, Uncheck Web Browser Integration
There's some evidence that it occurs more often with urls that include single quote characters. I think it's worse with XP, but I don't have any proof.
If you check Adobe's site, you will see this isn't just an Oracle Reports problem. I think we're waiting for Microsoft on this one, so don't hold your breath for a quick fix.
-- jim -
Opening a url with parameters in an application
I'm able to open a url in a browser from my application, but I want to open a url with parameters.
for instanse http://mypage.asp?parameter=a
You get a file not found. Is this possible?
I'm currently using
Runtime.getRuntime().exec( "cmd /C start " + url);Found the answer -- you have to put the url in quotes lest the ampersands parse the end off.
-
I'm being shown an error pop-up message periodically saying "There was a problem connecting to the server. URLs with the type 'file:' are not supported." I have a brand new MacBook Pro, and at no time am I actually having trouble connecting to the server, but this message continues to pop-up several times a day at random intervals. Is there something I'm doing wrong? Or is my computer just having a glitch? Other than that, and a mildly sticking caps lock button, it's working perfectly.
Thank you!Alright it didn't solve it. Any other suggestions?
I haven't suggested a solution yet. I want to know whether you still get the messages while Time Machine is disabled. Do you? If so, try any or all of the solutions proposed in this thread:
There was a Problem connecting to the...: Apple Support Communities
Maybe you are looking for
-
Dear sir/Madam, Hi! My name is Nazım . I live in North Cyprus. I've got Apple Ipad 2 and Iphone 4. My Ipad2 is iPad 2 Wi-Fi + 3G: Serial number: DQTFFVC1DFJ3.,IOS 5.0.1 (9A405), model MC775LL .my itunes is last version. I bought my ipad from Amer
-
Lightroom 3: images not imported because the files can not be read:
Nikon D700 NEF files are fine. I can copy them to a folder and work with them in Adobe Bridge and Camera Raw. LR3 will not import them to the existing catalog from the CF Disk or from a folder on the c:\drive. I tried creating a new catalog -- the
-
HFR Environment checklist ----- URGENT
Hi All, I need some environment check list for HFR,, this is really urgent if any one is having can you please send me the respective link or you may send it to my personal mail ID:- [email protected] I know its not fair to ask to send them to my per
-
Windows Server 2008 Ent to Windows server 2012 R2 std Migration
Dear All, We have windows server 2008 x64 Ent with SP2 it's working fine and perfectly . Presently we implemented new data center also we installed windows server 2012R2 Std . we would like to migrate windows form old data center to new data center .
-
<blockquote>Locking duplicate thread.<br> Please continue here: [[/questions/873886]]</blockquote> when two or more tabs are opened after this when I click on another tab which is opened then firefox stopped responding and open automatically all the