mikelbring / tinyissue

Simple Issue Tracking for Teams
MIT License
769 stars 204 forks source link

Ajax calls (e.g. edit issue/comment etc) not working on subdomain. #204

Closed schonhose closed 3 years ago

schonhose commented 10 years ago

I have installed Tiny Issue on a subdomain of my main domain (e.g. issue.domain.com). I had some issues (no pun intended) with the ajax calls so I decided to perform some test.

The url in the config file is set to ' '. I have copied the installation to the main domain in a subfolder (e.g. domain.com/issue) pointing towards the same database. Upon testing ajax calls did work in this setup.

The javascript-call uses 'current_url' as a variable to set the correct path to the function/php file. I did do an alert on that variable and for both the subdomain and the subfolder the 'current_url' shows the correct url. So that is probably not the problem.

Any other suggestions on how to track this down?