I have a bit of an issue with a project I recently took over using Expression Engine running v2.92 (I think). I'm pretty new to EE so maybe I'm missing something obvious.
The javascript template returns a 404 locally, but works fine on the production server. All the other templates (which are web pages) resolve fine. The database and files were downloaded directly from the production server and modified for my local system.
Things I've tried to no avail.
- Toggled Strict URL's in Template preferences
- Made sure the template path is correct for my local system
- Set the base url in config to my local system url in config/config.php
- Set the cachedir to my local path in config/database.php
- Set the proper URL's in Admin -> General Configuration for root and themes
- Made sure the javascript templates are set to type of JS
- Checked the template routes, there doesn't appear to be anything here out of the ordinary.
This just doesn't make sense to me, I know it's reading the template files because if I edit one of the web page files directly the edit appears on the local site fine. It just acts like the javascript group doesn't exist at all. Am I missing something very basic here?
code linking the js template, this line lives in the footer of the templates that need this particular js file
<script src="/javascript/products"></script>