I'm hoping this isn't a double-post - I couldn't find my issue in the search, but I imagine it might be asked in several ways. My project involves a PHP5 workspace running the Laravel 4 framework.
Quickly, my issue occurs when I access any webpage within my private project that does not first make a call to a database. When viewing the page, my images are missing and the CSS styles - though correctly called in source, and accessible when I click on the HREF's for my styles - aren't displayed properly.
After going to a page that makes a database call (for instance, my Manage Users page which displays a list of users in the database), all images and styles in all pages work. Essentially, I:
- Access the homepage, which is static HTML. It's styles are broken.
- Access an admin panel page which is static HTML. It's styles are broken.
- Access an admin panel page that pulls a list of users to the database. The styles suddenly work.
- Any pages I visit after this point display styles properly.
Has this happened to anyone else? Is there a simple way to resolve this?