错误而以下http://alanstorm.com/magento_controller_hello_world:-得到错误,同时创造新的模块
未找到
所请求的网址/ Magento的/的HelloWorld在此服务器上未找到。
C:\瓦帕\ WWW \ Magento的\应用\代码\本地\ BSL \的Helloworld \控制器\ IndexController.php
<?php
class Bsl_Helloworld_IndexController extends Mage_Core_Controller_Front_Action
{
public function indexAction()
{
echo 'Hello Index!';
}
}
C:\瓦帕\ WWW \ Magento的\应用\代码\本地\ BSL \的Helloworld \等\ config.xml中
<config>
<modules>
<Bsl_Helloworld>
<version>0.1.0</version>
</Bsl_Helloworld>
</modules>
<frontend>
<routers>
<helloworld>
<use>standard</use>
<args>
<module>Bsl_Helloworld</module>
<frontName>helloworld</frontName>
</args>
</helloworld>
</routers>
</frontend>
</config>
C:\ WAMP \ WWW \ Magento的\ APP \等\模块\ Bsl_Helloworld.xml
<config>
<modules>
<Bsl_Helloworld>
<active>true</active>
<codePool>local</codePool>
</Bsl_Helloworld>
</modules>
</config>
尝试magento.com/helloworld/index/index – Naumov
不,它也呈现出同样的错误 – Lalji
禁用cahe? admin-> system-> cache managment->全部检查并禁用? – Naumov