I was working on some html on my page (comment tags, javascript, not PHP) and all of a sudden my .responseText in all of my AJAX querys started to return the html of the entire page or of all the javascript around it? Any ideas why this might happen? Please! My entire site broke and I don't know why!!!
http://www.foreverplaying.com/script/lists/allgames.php Ignore the broken image links, they're being updated. The login function at the top is broken but I fixed the printing of the error putting an if statement like (if responseText contains some of the entire page do not print it) to hide the error. But now it is not working at all?
If you will focus little more, you will find the bug. It is like you have done yourself the same as shown in the question and it happens sometimes. If not please let us know the website link.
Got it. My site works if I delete the code I was trying to create extensionless PHP urls .htaccess file Options +FollowSymlinks RewriteCond %{THE_REQUEST} ^[A-Z]+\ [^.]+\.php\ HTTP/ RewriteRule ^([^.]+)\.php$ /$1 [R=301,L] RewriteRule ^([^.]+)$ $1.php [L] Code (markup): I can't get the .htaccess to work... Any ideas?