我只是想为我的magento网站创建一个单独的模块。我只是按照与here提到的相同的步骤。但我得到404错误。你好世界在magento不工作
我不知道它为什么发生。我在管理面板中有我的默认存储视图。是因为它不工作的原因吗?
这是我目前运行的打印网址“你好指数”
http://my_domain.ca/web/frontier/helloworld
如果可以请帮我家伙。我在这里问stackoverflow,因为那个博客是3岁,我不会很快得到答复。
config.xml中
<config>
<modules>
<Alanstormdotcom_Helloworld>
<version>0.1.0</version>
</Alanstormdotcom_Helloworld>
</modules>
</config>
<config>
<frontend>
<routers>
<helloworld>
<use>standard</use>
<args>
<module>Alanstormdotcom_Helloworld</module>
<frontName>helloworld</frontName>
</args>
</helloworld>
</routers>
</frontend>
</config>
和Alanstormdotcom_Helloworld.xml
<config>
<modules>
<Alanstormdotcom_Helloworld>
<active>true</active>
<codePool>local</codePool>
</Alanstormdotcom_Helloworld>
</modules>
</config>
你是否清除你的magento配置缓存目录(normaly var/cache)。 – Seb
@seb请告诉我如何清除缓存我已经清除了系统/缓存管理缓存 – user3110655
删除那里的所有文件/目录。 – Seb