Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
I have a few Classic ASP pages which users are viewing. But some users are able to see some of the comment code in the browser
Example:
****************** 'New Setup ******************
I have checked in Google Chrome and IE 10. How to fix this?
Classic ASP is a server-side processing language as such code written between its pre-processor tags (<% %>) is processed by the server before any output is sent to the client.
To fix the comment add it inside the pre-processor tags;
<%
'****************** New Setup ******************
'Code here will run server-side
Response.Write "Hello" 'Will write hello to the client.
%>
<!--
Both this comment and the line below are treated as HTML
and will output once the server-side processing has finished.
-->
World
Output:
Hello<!--
Both this comment and the line below are treated as HTML
and will output once the server-side processing has finished.
-->
World
Also, remember that VBScript comments start with a single apostrophe (') otherwise it will try to run the comment text.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
Sometimes I am getting the following WARN message while executing my script:
Note: I have set "css.parser.ignore_all_css_errors=true" in jmeter.properties file and still getting the message intermittently:
2018-08-29 16:19:30,702 WARN c.h.c.r.e.LoggingCSSParseErrorHandler: Browser compliant mode skipped CSS from [5:227048] starting at token '100%' until [5:227058] to token ';' (based on com.helger.css.parser.ParseException: Encountered unexpected token: "+" "+"
at line 5, column 227052.
Was expecting one of:
")"
<S>
)
2018-08-29 16:19:30,941 WARN c.h.c.r.e.LoggingCSSParseErrorHandler: Browser compliant mode skipped CSS from [5:188823] starting at token '100%' until [5:188833] to token ';' (based on com.helger.css.parser.ParseException: Encountered unexpected token: "+" "+"
at line 5, column 188827.
..........
Please help me if you have a suggestion on how to fix this issue.
The error indicates the problem with the CSS style on one of the pages of the application under test. Locate the problematic file and use CSS Validator to identify problems and report them.
It might also be the case that the error appears under the load, i.e. CSS style referenced in the page is not downloaded fully resulting in parsing error, if this is the case - you found the bottleneck which needs to be reported as well.
If you just want the error to disappear from JMeter logs you can decrease JMeter log level verbosity for the class by adding the next line to log4j2.xml file (lives in "bin" folder of your JMeter installation)
<Logger name="com.helger.css.reader.errorhandler.LoggingCSSParseErrorHandler" level="fatal" />
JMeter restart will be required to pick up the change
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
Yo, im building my first Spring Web App.
When i try to run it (On server) this is the response
TTP Status 404 – Not Found
Type Status Report
Message /HelloWorld/
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
hierarchy
web.xml
dispatcher-servlet.xml
helloworld.jsp
Controller
the page you're requesting from browser is not found, so you need to add url in below pattern:
localhost:(Port number) /project name/(request mapping at controller) /(request mapping at method)
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 5 years ago.
Improve this question
We are offering Pinterest Pin scheduling features to our customer from last 1.5 years. We are suddenly started getting error response "Something went wrong on our end. Sorry about that." from today.
I have tried the Pinterest API explorer and also getting the same error message. The strange part is, though we are getting an error message, Pin is created with a broken image. I.e. https://in.pinterest.com/pin/573434965041286865/, When we try to open Image URL directly in browser i.e. https://s-media-cache-ak0.pinimg.com/originals/d0/ad/c8/d0adc8520559848912b22f392eb339c1.jpg, it shows Access Denied error.
Is there any API changes or any other issue? We are currently passing the image as image_url parameters. We have tried sending a picture as multipart/form with image parameter too, but we are getting the same error.
here is the sample of our request.
URL: https://api.pinterest.com/v1/pins/?access_token=&fields=id%2Clink%2Cnote%2Curl
Form Data:
image_url:http://d1ttb7iswciaye.cloudfront.net/wp-content/uploads/2015/06/slide1_img.png
note:Take one step forward, and then one more. It's all possible if you keep taking a small step forward#ows #success #possible
board:573435033743083706
Also, is there any way to connect to Pinterest support? Their help form at https://developers.pinterest.com/support/contact/ is also not working.
We are getting HTTP 500 error when trying to publish via their API. Moreover, the Pins actually show up but without a image.
I did find a contact/bug report at the bottom of this page
Now the bug is resolved . My pin is created with photos .
Recently, our company started using Hotjar to collect usage data.
As this is my first time using the service, I made some mistakes, which made me search for a method for debugging. After reading the official documentation, forums, stackoverflow, I found nothing.
What do I have to do/modify to enable debugging in Hotjar?
You can enable debugging in the tracking script. Just add the following line in the h._hjSettings line:
hjdebug:true
<!-- Hotjar Tracking Code for www.example.com -->
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:YOUR_CUSTOMER_ID,hjsv:HOTJAR_VERSION_NUMBER,hjdebug:true};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'//static.hotjar.com/c/hotjar-','.js?sv=');
</script>
When you use the tracking code this way, your console will display basically everything that happens during the process. For me, it was especially helpful as it helped me make sure that the virtual page views registered without any errors.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
Ok this is weird.
If I make a request to a page, where it's text/html, firefox makes one request.
If I make a request to a page, where it's application/xml, firefox makes two requests.
In IE, Google Chrome, it one makes one in both cases.
Any ideas why the two requests, and how I can force just the one?
I've had a similar issue if the encoding of the page didn't match the <meta> tag. If the page was encoded using default windows encoding, but the meta tag specified UTF-8, then firefox would stop downloading once it reached a non-ascii character (e.g. æ,ø or å) and it would redownload the page from the beginning. This would mess up view counts and lots of other logic since the server side script would run twice.
It might be that if you do not start your page with <?xml ?>, but claim that it is, then Firefox will redownload the page again as html (text/html) and process it as html.
Just to add another possibility...
If the html code contains an empty img src attribute, then this causes a 2 http request in both Firefox and Chrome. Currently, those are the ones that follow the standard to the letter, which states that an empty URI reference refers to the absolute base URI.
I've had a similar problem with Firefox. Might help someone.
FF was making two HTTP GET requests while Chrome didn't.
The problem was an empty src="" attribute.
Firefox considers such empty attribs for img/script... tags as the current url and GETs the current page.
Maybe you're making the request in a way that cause HTTP Access Control features to fire?
It is a fairly new standard, and new in [FF3.5][2] that can cause double GET requests.
In case you can sniff the requests server side: see if they contain the Origin: header.
[2]: https://developer.mozilla.org/En/Server-Side_Access_Control Server-Side Access Control
In my case it was a wrong content-type header "image/jpg" sent with PHP-generated image. Double requests gone after I changed the type to "image/jpeg"
More info about this bug...
https://bugzilla.mozilla.org/show_bug.cgi?id=236858
I meet this problem too and I've figured it out.THIS may be related to Non-existent favicon.ico. details here,you can check it using following code(node.js),:
var http = require('http');
server = http.createServer(function (req,res){
console.log(req.url);
res.writeHeader(200,{"Content-Type":"text/html"});
res.end("Hello World");
})
server.listen(8000);
console.log("httpd start #8000");
the result is expected to be:
httpd start #8000
/
/favicon.ico
Found the problem.
The XML packet I was returning had a root node of <feed>
Firefox passes this twice for some reason, maybe as it's trying to identify if this is a valid ATOM/RSS feed. If not, just displays instead?
Changing root node to something else fixed the problem.
Thanks Marcus for starting me in the right direction.