File upload error in Django - html

Currently working on a site built in Django and i'm getting an issue when they try uploading a file on there PC. In IE it says 'HTTP error' and in Firefox it says 'IO error'. They are using IE 8 and the latest version of firefox with Windows media edition.
It's only on this PC they are getting the issues so i can't see how it would be a permissions thing. Just hoping someone can point me in the right direction.
Thanks,

Just checking you mean its a single computer just having the problem Quote"It's only on this PC they are getting the issues".
Compare the differences between this pc and the other pc that are successful.Your right it probably isn't a permissions problem on your serverside, but it may be a security problem with this pc in question.many things could cause such errors:
Are your successful computers have any differences from window browsers, eg:Mozilla, Chrome ect...Firewalls, User control settings on the computer?
Its hard to Conclude as companys put custom restrictions on their machines.
and the information you have provided doesnt explain depth.
Also check your error logs on your server through ftp, this may give you an indacation why this task is not successful for the pc in question, theres many factors to consider, have a look and let us Know how you go, also if you manage to solve this please leave an answer for others.

Does PC mean client or server? Are you sure the path you are uploading to exist on the server?

Related

When many users uses a same webpage, will functionality in that webpage may behave abnormally?

I have a website where it was hosted in 10 servers. From past somedays many users a using a particular webpage. so some functionalities in that particular webpage are not working as expected. They are behaving abnormally
For Example : I have a clear button on the page where user clicks on the button and it should clear all the checkboxes. But it was not clearing all the checkboxes. It was not a code error because we are using this webpage from many years.
More Details :
*It is a Vb.Net code
*.Net 1.1 version
*VS2003
*We have hosted code in 10 servers, where if a server has heavy load it changes to other(Load Balancer).
*Windows 2008R2
*IIS Version 7.5.7600.16385
My question is "As many users are using the webpage frequently will there be any thing happening" or any other reasons or bugs why this is happening. Any theoretical explanation for this issue please?
I could see that you are using VS 2003, VB.Net 1.1, Windows Server 2008 R2, and IIS 7.5 All the products you are using are out of support now.
Generally when many users use the web page then also it should work properly without any issues. As your project type is too old, it is difficult for us to comment on the possible cause of the issue.
One thing you could check is whether the website works fine on any of the 10 servers. If yes, compare the Server configuration and app settings with the Server that is having the issue.
See whether any Windows update got installed or if any configuration or code change occurred. It might give you some hints.
Check the browser console for errors. If you have the project then try to run it on your development machine to check whether it works. It could be possible, that some things got changed and you need to update your code according to it.

Certain webpages only half loading

Good day,
Since moving house and having my new internet (and new ISP) installed, some web-pages only half-load and I constantly get cloud-flare warnings requesting that I confirm that I am not a robot. I did not have this problem with the previous ISP. I have attached some examples of the issues I'm having. This does not appear to be a "Chrome-only" thing as I get the same results with IE.
1. The first image shows the web page loading, but not giving all the information.
2. The second image shows the warnings that constantly pop up.
3. The third image is just an example of buttons that won't load on clicking, and some of those buttons don't even let me click them at
all.
Issue:
Can't load into certain pages, and can't click certain buttons, and keep getting this cloud-flare thing.
Things I have tried:
- Restarting computer
- Reinstalling chrome
- DNS flushing using the command prompt
- Changing DNS to the google DNS
Any and all help is greatly appreciated. Thank you.
I'm imagining your computer is the same, but your router is new/different (for the new ISP)? Maybe your computer has existing proxy settings which were specific to your old ISP, and won't work for the new one.
Search 'proxy' in Windows search and disable any custom proxies.
I've got the same issue as well when i moved into my new house. When i researched some more and talked with my tech-savvy cousin, he said that it could be because the internet connection isn't strong (some of the data gets lost in the way) or the ISP isn't allowing you to do the things that you want to do. Sometimes this occurs when you are asking for a lot of data. It is a security feature. Call them and ask why this is happening. Maybe it's different.
Also, check if you have a VPN on. I could also disrupt the websites.
Hope this was useful!!
Try connecting a different device (like an Xbox, or PS, or your phone) and see what happens. If it can connect to the devices mentioned above correctly, then the problem is with your PC or laptop or apple device.
Apparently the issue had to do with the IP address. They gave me my own one and all was well in the world.

WebBrowser control and HTTPS in Windows Phone 8

I am developing my first Windows Phone 8 Application. I have requirement to load facebook login page in WebBrowser control. I am facing an interesting issue now, When I test the app in my device. Links with https is not loading, it loads a page saying "We're having trouble with this sites security certificate" etc.
Does anybody face similar issue ? Do I need to make any settings in my application in-order to access https sites ?
Thanks in advance,
- Anwer
I found an answer from Ben and it useful for u to solve the problem
trusted companies issue secure IDs to websites
There's a couple possiblities here:
1) If you get the same error acessing the site on other devices (make sure the URL says https, not http), it means it's the sites problem. Your phone is warning you that it doesn't trust them- for all you know, you're not actually connecting to the site at all.
2) If you don't get the same error on other devices, it means that your phone somehow lost its list of trusted ID issuers. There is a way to add certificates back, but it's probably easier at this point just to wipe the phone and restore it to factory settings.

How will you debug a webpage which is not loading?

A web page is not loading/hanging. How will you debug it?
I have been asked this question couple of times during my telephonic interviews. But I don't know the perfect answer.
I had given answers such as checking if the web-app is deployed properly, the internet itself might be slow, the JSP might have some errors, checking logs for any such detail, etc. But interviewer kept asking "These are all good checks, but what if all of these are fine, what else might be wrong?"
Also, it is not a JavaScript specific question. I can debug the JS/jQuery code using debugger, or following the console.log(). But how will you debug a plain JSP page?
Can any web-application gurus at SO help?
Once you know that you can't simply get to your site in the expected way (what I call the Hail Mary Test), then you need to start from the inside out.
Because of the multiple failure points a website can have, I always create a command line environment that allows me to test the framework & DB operation independently of the web server, firewall settings, etc. This can take some fiddling depending on what you are using, but I've done this successfully with Django, WordPress, Drupal, etc.
Once I know the app itself is working, I connect with a command line client (e.g. links) to see if a client coming from localhost works as expected. This confirms that the server itself is working (at least partially). Then I test from another host on the same LAN. More than once I've seen localhost work and LAN access not work, and the problem is almost always server configuration or firewall configuration.
If all of that works, but you still can't get to your site from the internet, then it is a networking / firewall setting somewhere further up the food chain. Try to find a host that is one step farther up from where you last succeeded and test that. Lather, rinse, repeat.

Google chrome does not start when running through Twist with Seleniumn

Where i work uses Throughworks Twist 2.2 with Selenium for testing automation. For some odd reason on my particular machine the chrome driver starts but does not load chrome. The console reports no errors and i have no feedback on which to progress with. I installed Twist in the exact same way as everyone else here and it works for them. Twist will run with firefox for me but it is not as reliable as chrome and really impinges on development. The Twist site is typically useless source of information.
I'n not expecting answers but would appreciate any hints as to where i can start looking into this.
Turns, out Chrome driver was trying to launch a Chrome version installed under another user account, that was probably out of date. Delete old user profile and it works.
It would be good to find out where Chrome Driver gets this config from.