Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Treeicons and errorpage icons for backend


Go to End


2 Posts   814 Views

Avatar
FireDevil

Community Member, 13 Posts

12 July 2016 at 5:11am

Hello SS'ler,

I have a question and just do not find the right to do so.

I have used until recently SS 2.4 and am now switched to 3.4,
Now I have the problem that my adjustment in the back end does not fit I then means:

ErrorPage::$icon = array('mysite/icons/error', 'file');
in the config.php

and
public static $icon = 'mysite/icons/home';
in the code/HomePage.php

customized my icons for backend

now I get an error message:
Fatal error: Cannot access property ErrorPage::$icon in /var/www/clients/client1/web1/web/mysite/_config.php on line 28
or
Fatal error: Cannot access property RedirectorPage::$icon in /var/www/clients/client1/web1/web/mysite/_config.php on line 29

however, always the mean ErrorPage :: .... not to go and not get the error away.

I've already googled and tried everything but the error remains, perhaps knows ne solution how I can fix.

Best regards

Avatar
Scott Farmer

Community Member, 49 Posts

12 July 2016 at 10:47am