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

getsubtree error


Go to End


12 Posts   1311 Views

Avatar
LU5T

Community Member, 7 Posts

2 April 2015 at 11:39pm

Added that to the config and then the attached screenshots are the results.

Attached Files
Avatar
LU5T

Community Member, 7 Posts

2 April 2015 at 11:49pm

Edited: 02/04/2015 11:49pm

Mentioning redirect made me think, so I went to check.

We have this rule in our IIS web.config:

                <rule name="SilverStripe Clean URLs" enabled="true" stopProcessing="true">
                    <match url="^(.*)$" />
                    <conditions>
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="sapphire/main.php?url={R:1}" appendQueryString="false" />
                </rule>

Which we had to do initially for the admin backed to actually work.

Avatar
LU5T

Community Member, 7 Posts

3 April 2015 at 12:25am

Did some fiddling and found that changing this:

 <action type="Rewrite" url="sapphire/main.php?url={R:1}" appendQueryString="false" />

to this:
 <action type="Rewrite" url="sapphire/main.php?url={R:1}" appendQueryString="true" />

Worked perfectly!
We are back up and running now!

Thanks for the help!

Avatar
Pyromanik

Community Member, 419 Posts

3 April 2015 at 1:38am

Cool, thanks for coming back and posting the answer!

Go to Top