What did you do to cause this?
Logged in, went to new ticket page of any project.
Noticed that after approximately one second, some styles from my website's home page were being applied.
Investigated via chrome -- the home page's stylesheet was being pulled in via an XHR originated from jquery on this page.
4a. The request was for "MYDOMAIN.com/development2/_ajax/ticket_template/1" (note /development2/ is where traq lives.) This URL does not exist on a fresh installation of Traq 2.3.3.
4b. As a result, the data it was pulling in was a redirection to the home page of MYDOMAIN.com (due to the URL not existing) which obviously has the home page stylesheet included.
What page were you on?
What PHP and MySQL versions do you run?
Describe the defect:
There is no .htaccess file anywhere in the traq-2.3.3.zip that I downloaded from sourceforge. Can you provide it?
Friendly URLs are turned in in AdminCP, but my URLs look like this (I assume it's because I have no .htaccess) http://MYDOMAIN.com/development/index.php/ http://MYDOMAIN.com/development/index.php/project1 http://MYDOMAIN.com/development/index.php/project1/tickets
Here is BASE_URL: (I have since moved the traq installation from '/development2' to '/development') @var BASE_URL = "/development/";@
Here's the .htaccess file for Traq 2.3: https://github.com/nirix/traq/blob/2.3/.htaccess
Not sure why it wasn't included in the archives, must have been the app used to create them.
I put the .htaccess you provided in the root directory of my traq install and things are working smoothly, ticket templates and other ajax calls as well. Thanks!
The reason behind the ajax request is for ticket templates, like the one you used for this ticket, see: http://traq.traqproject.org/_ajax/ticket_template/1
Traq has the .htaccess file that rewrites ALL 404-pages to it's index.php file, make sure you have uploaded the .htaccess file, I know sometimes it goes missing.
If the .htaccess file is uploaded, make sure you have the friendly URLs turned on in the AdminCP -> Settings panel. Also, on any page of your Traq install, view the page source and look for "var BASE_URL", copy the entire line, including the value of that variable.