I’m posting this here 1st before hitting the Nginx forums, as per the subject I’m as frustrated as a pyro-maniac in a petrified forest.
I have the default sample app running locally and on a development server - not an issue as it works as advertised. I then take the existing UI controller from the current project I’m working on and integrate it into the framework. I’m using the ‘Smarty-View’ view lib (mathmarques/smarty-view) to implement the front end gui w the Slim framework. I extend the UI class w the Smarty implementation, construct and configure the class. It calls the method exposed in the route - no issues, everything working to a tee. When I fetch the template and render it, it’s a plethora of 404 messages (logs, debugger, etal) for any/all css/js/img type assets. The rendered page is all there with exception of the styling, etc.
I’ve wiggled the nginx web server configs back n forth to try and shake out the bugz to no avail - the index page is doing what it’s supposed to be doing (to my knowledge), as I can see in the nginx logs that there’s a request for the “/” index.php page (status=200), and the php-fpm logs indicate access with the request uri listed (after nginx did it’s magic) and a slew of 404’s barking about the file(s) not being present (which they are). I {ctrl} {u} the page to view the rendered source, and it looks EXACTLY like it should. The links for the content in question are there, and when I click on any of them the reply from the web server is still 404 - the google fonts and web content are not affected. I’m seriously scratching my head at this juncture, but I wouldn’t be at all surprised if I’ve missed something, glazed over a specific detail or similar.
I didn’t want this to be so verbose, but at the same time I didn’t want to appear vague about what’s taking place and figured it was time to get another set of eyeballs involved (if necessary).
Suggestions, ideas… constructive criticism? All greatly welcomed and encouraged - and thanx so much in advance for your time and looking this over! I’ll post any relevant files, log dumps etc upon request (didn’t want to clutter this initial post). Apologies if I’ve wasted anyone’s bandwidth with this issue…