<p>Gitignore had a line for <code>Icon?</code> which was causing the icon folder to not show up in git commit. </p>

CC BY-SA 3.0
2018-04-26T17:55:23.247Z
2018-04-26T17:55:23.247Z
Exziled
<p>Craft 3 version 3.0.4</p>

<p>When logging into the admin panel on Craft3 for some reason I'm getting a Yii2 PHP Warning for missing icons.</p>

<p>Error message: </p>

<pre><code>PHP Warning – yii\base\ErrorException
file_get_contents(&lt;pathtocraft&gt;/craft/vendor/craftcms/cms/src/icons/c.svg): failed to open stream: No such file or directory
</code></pre>

<p>For some reason this icons folder is not being generated when installing craft3 via composer. This is currently happening on craftcms/cms/src/web/Application.php at line 363 where it tries to load the Yii logo.</p>

<yii><svg>
Craft 3 icons not found in craftcms/cms/src/icons
# Craft 3 icons not found in craftcms/cms/src/icons

(Asked by: username_0 on 2018-04-26)

Craft 3 version 3.0.4
When logging into the admin panel on Craft3 for some reason I'm getting a Yii2 PHP Warning for missing icons.
Error message: 
PHP Warning – yii\base\ErrorException
file_get_contents(/craft/vendor/craftcms/cms/src/icons/c.svg): failed to open stream: No such file or directory

For some reason this icons folder is not being generated when installing craft3 via composer. This is currently happening on craftcms/cms/src/web/Application.php at line 363 where it tries to load the Yii logo.

**Tags:** yii, svg

---

## 1 answers

### Answer by username_0 on 2018-04-26. Score: 1

Gitignore had a line for `Icon?` which was causing the icon folder to not show up in git commit.


---

