Tagged Questions
0
votes
2answers
30 views
Getting error404 on Ajax in Codeigniter
I have problem with my ajax code. I`m trying to increase number inside span on click with ajax, but keep getting error in console - POST localhost/slots/game/lines 404 (Not Found) . Btw, I use ...
1
vote
0answers
26 views
How to detect and handle 404 error with Sammy.Template?
I load a template taking the template name from a route with Sammy.js, but if the file is not found, I want to redirect the user to another page. Basically, I have:
this.use(Sammy.Template, 'tpl');
...
1
vote
1answer
127 views
AngularJS navigation by HTTP status code. (MVC design)
I’m trying the convert an unstructured jQuery application to MVC AngularJS but at one point I’m kind of lost or I just don’t get it… (Unfortunately I’m not a JavaScript-God so the error might also be ...
0
votes
2answers
50 views
Answered: XMLHttpRequest - How to trap situation where an HTML error page is returned instead of data
Javascript: Using XMLHttpRequest to get a small amount of data which is echo'd to it by a specific php routine on a webserver. Async with callback function. Or synchronous, makes no odds.
The issue ...
0
votes
1answer
40 views
using 404 page for ajax fallback?
I want to make a single page website, that uses history.pushstate to change the url.
I can make my site have only one html file, the 404 page. so that no matter what url people enter, they get to that ...
7
votes
1answer
305 views
In a single-page app, what is the right way to deal with wrong URLs (404 errors)?
I am currently writing a web application using angularjs, but I think this question applies to any client-side javascript framework that does routing on the client side (as angular does ...
0
votes
2answers
77 views
404 handling when 404 page is overwritten in apache
I am working on a website where I have configured apache to point the 404 page to index.php via:
"ErrorDocument 404 /index.php"
so i can parse the url arguments manually. I am currently writing an ...
0
votes
2answers
173 views
JSON Request appended with [object%20Object] in jQuery
I'm trying to fetch a custom JSON feed I have written with jQuery using the getJSON method. For an unknown reason the URL seems to be having cache_gen.php?location=PL4 stripped from the end and ...
1
vote
0answers
151 views
Debugging Intermittent 500 Internal Server error & 404 Not Found
I'm having an issue with an intermittent 500 internal server error. The error will sometimes appear every 2nd or 3rd page refresh, and sometimes it will not appear for a few hours and then suddenly ...
2
votes
0answers
160 views
Tumblr photoset's iframe loading 404 Not Found
I haven't found anyone with this problem either in stackoverflow or anywhere else and Tumblr support is being obtuse.
A few photosets on my tumblr are mysteriously loading a 404 not found page ...
15
votes
5answers
719 views
Supressing 404s in retina.js library
We use the js lib retina.js which swaps low quality images with "retina" images (size times 2). The problem is, that retina.js throws a 404 for every "retina" image which can't be found.
We own a ...
3
votes
1answer
183 views
Javascript 404 error detection
I have a page with a custom URL protocol link on it. The custom URL protocol is registered on the user's system when they install an exe. When a user clicks a custom url protocol link on a web page, ...
4
votes
4answers
116 views
Use jQuery to check if links still work
I made a quick function to check every link on the page using AJAX to see if they still work. This seems to be working, but it's adding the success and error class to every one. How can I get the ...
1
vote
1answer
295 views
Magento caching error
I'm looking for a solution to a strange problem I stumbled upon this afternoon.
My category pages began throwing a 404 not found error for a media/js file (one of the Magento-generated merged js ...
10
votes
1answer
1k views
Image Get Requests with AngularJS
I am storing the the source string of an image to be rendered in HTML in the AngularJS controller, however it yields a 404 before the Angular controller is initialized.
Here is the HTML:
<div ...