W
W
web-quest32017-03-03 08:29:52
opencart
web-quest3, 2017-03-03 08:29:52

Why doesn't opencart see templates?

prntscr.com/efe93g
Why is there no template selection?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
betrachter, 2017-12-23
@betrachter

The problem was solved by changing the rewrite mask

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<directoryBrowse enabled="false" />
        <httpRedirect enabled="false" destination="" childOnly="true" httpResponseStatus="Permanent" />
        <rewrite>
            <rules>
    <rule name="Hide Yii Index" enabled="true" stopProcessing="true">
     <match url="^(.*)\?*$" ignoreCase="false" />
       <conditions>
         <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
 		     <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
       </conditions>
     <action type="Rewrite" url="/index.php/{R:1}" appendQueryString="true" />
     </rule>
            </rules>
        </rewrite>
</system.webServer>
</configuration>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question