{"action":"created","issue":{"url":"https://api.github.com/repos/osTicket/osTicket/issues/3261","repository_url":"https://api.github.com/repos/osTicket/osTicket","labels_url":"https://api.github.com/repos/osTicket/osTicket/issues/3261/labels{/name}","comments_url":"https://api.github.com/repos/osTicket/osTicket/issues/3261/comments","events_url":"https://api.github.com/repos/osTicket/osTicket/issues/3261/events","html_url":"https://github.com/osTicket/osTicket/issues/3261","id":164431814,"number":3261,"title":"Please help, AJAX blank popups","user":{"login":"palentir","id":20346741,"avatar_url":"https://avatars.githubusercontent.com/u/20346741?v=3","gravatar_id":"","url":"https://api.github.com/users/palentir","html_url":"https://github.com/palentir","followers_url":"https://api.github.com/users/palentir/followers","following_url":"https://api.github.com/users/palentir/following{/other_user}","gists_url":"https://api.github.com/users/palentir/gists{/gist_id}","starred_url":"https://api.github.com/users/palentir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palentir/subscriptions","organizations_url":"https://api.github.com/users/palentir/orgs","repos_url":"https://api.github.com/users/palentir/repos","events_url":"https://api.github.com/users/palentir/events{/privacy}","received_events_url":"https://api.github.com/users/palentir/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-07T23:44:38Z","updated_at":"2016-07-08T14:42:29Z","closed_at":"2016-07-08T14:42:29Z","body":"Hi, I've read a bit about my issue, seems AJAX isnt working? When in OSticket admin section and click resolve, the popup window is small and empty. I wonder if anyone can help me? I have a domain which uses subfolders (so I can use other domains and point them to the same ftp), so for example, www.mydomain.com forwarding to \\html\\mydomain\\..\r\nSo, when I went to my site the URL looked like mydomain.com\\mydomain\\\r\nSo I used htaccess to hide the mydomain subfolder from the url, I think this is related to my issue.\r\n\r\nSo my first problem was the osticket not working because the path was messed up. I had to add this to the top of my bootstrap.php to fix it:\r\n\r\ndefine('ROOT_PATH', 'http://mydomain.com/support/');\r\n\r\nThis worked nice, but now the admin section is not showing the popups. I am considering this could be related to the path still? Can anyone recommend a possible fix, similar to the one I used for the customer portal section?\r\n\r\nmy htaccess file:\r\nRewriteCond %{HTTP_HOST} mydomain.com\r\nRewriteCond %{REQUEST_URI} !^/mydomain\r\nRewriteRule ^(.*)$ mydomain/$1 [L]\r\n\r\n![b5bf6a5e-471b-11e5-880e-10ea7e949e98](https://cloud.githubusercontent.com/assets/20346741/16673288/cd6c230e-44a4-11e6-9c12-4a64767809fb.png)\r\n"},"comment":{"url":"https://api.github.com/repos/osTicket/osTicket/issues/comments/231378071","html_url":"https://github.com/osTicket/osTicket/issues/3261#issuecomment-231378071","issue_url":"https://api.github.com/repos/osTicket/osTicket/issues/3261","id":231378071,"user":{"login":"palentir","id":20346741,"avatar_url":"https://avatars.githubusercontent.com/u/20346741?v=3","gravatar_id":"","url":"https://api.github.com/users/palentir","html_url":"https://github.com/palentir","followers_url":"https://api.github.com/users/palentir/followers","following_url":"https://api.github.com/users/palentir/following{/other_user}","gists_url":"https://api.github.com/users/palentir/gists{/gist_id}","starred_url":"https://api.github.com/users/palentir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palentir/subscriptions","organizations_url":"https://api.github.com/users/palentir/orgs","repos_url":"https://api.github.com/users/palentir/repos","events_url":"https://api.github.com/users/palentir/events{/privacy}","received_events_url":"https://api.github.com/users/palentir/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T14:42:29Z","updated_at":"2016-07-08T14:42:29Z","body":"Hi, I have resolved my issue. I had to restructure my hosting to force this to work. So the website which I am using osTicket with... I had to remove its subfolder and put that website's php files in the /public_html/ folder root. All my other sites use a rewrite rule, whereas this main site just sits in the root. It looks ugly, is quite annoying, but the osticket now works and the end users do not see my messy folder structures. So I guess it is a good outcome. Thanks again for help so far. Maybe my workaround will help someone else out there with similar troubles."}}
{"actor":{"display_login":"palentir"}}