craftcms / craft

Composer starter project for Craft CMS.
https://craftcms.com
BSD Zero Clause License
187 stars 91 forks source link

install-bg.png image 404 on fresh install #54

Closed TheFunkyMonk closed 4 years ago

TheFunkyMonk commented 4 years ago

Description

On a fresh install of Craft, I'm getting a 404 error trying to load install-bg-1920.png on the default index page. I see a file installer-bg.png in my cpresources directory, so perhaps just a file name didn't get updated from "install" to "installer"?

Steps to reproduce

  1. Install Craft via Composer using the instructions in the Craft 3 documentation
  2. Load index page in a browser.

Additional info

brandonkelly commented 4 years ago

Guessing this is due to a cached CSS file or something. Can you try clearing your web/cprousources/ directory and your browser cache?

TheFunkyMonk commented 4 years ago

Unfortuantely, still experiencing this after deleting the folder inside /web/cpresources as well as /storage/runtime and loading in an incognito window. The new directory it created in cpresources contains the following three files:

installer-bg.png
spinner_submit_2x.gif
spinner_submit.gif

but the front end of the site is trying to load install-bg-1920.png in that directory.

brandonkelly commented 4 years ago

Sorry, I assumed you were referring to the installer’s background image, but you were talking about the welcome template you get when accessing the front-end by default. Just fixed that for future installs. That template is just a placeholder, but if you really want to patch your own install, you can replace your current templates/index.html file with this one: https://raw.githubusercontent.com/craftcms/craft/029f46db41fb8896d475649af163145d8fa1d94d/templates/index.html