SitePoint Sponsor

User Tag List

Results 1 to 1 of 1

Threaded View

  1. #1
    SitePoint Member
    Join Date
    Apr 2011
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Error XMLHttpRequest can't load, origin not allowed

    Hi there,

    I'm trying to use Jquery's AJAX function to call a php script and return some html data. The console in Chrome tells me there is the following error, which I've never seen before:

    "XMLHttpRequest cannot load http://www.nubehost.mx/clientes/submitticket.php. Origin http://nubehost.mx is not allowed by Access-Control-Allow-Origin."

    I have a .htaccess rule to rewrite every "www" to non www version, I don't know if it has something to do.

    Could you help me out here?
    Last edited by lalog00; Aug 28, 2011 at 11:18. Reason: didn't want links to parse
    Web designer, programmer & webmaster for 7+ years
    Hosting 11 sites in Hospedaje Web México
    CentOS|cPanel|R1Soft|Softaculous|Cloud Hosting|Green Hosting


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •