錯誤而以下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