[Ajax] XMLHttpRequest.open nie ma uprawnien?

0

uncaught exception: Nie udzielono uprawnien do wywolania metody XMLHttpRequest.open

Taki blad wciaz dostaje od serwera apache (zewnetrzny, gdzie uruchamiana jest aplikacja). Co zrobic z takim fantem?

0

Od serwera apache? Przecież XMLHttpRequest wykonuje sie po stronie klienta zazwyczaj. A błąd pewnie masz dlatego, że próbujesz coś pobrać z innej domeny.

0

Pobieram dane z tego samego serwera, wszystko dzieje się na tej samej maszynie. Mimo wszystko nie chce działać, otrzymuję taki komunikat we wtyczce Firebug:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
office@*** and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>

Co to może być?

0

Wewnętrzny błąd serwera. Często zdarza się przy błędach w konfiguracji. Popatrz po plikach .htaccess, pewnie gdzieś tam siedzi error.

0

Może podaj kod JS, chyba wiem gdzie jest błąd

1 użytkowników online, w tym zalogowanych: 0, gości: 1