Magento模块在本地工作,但不在服务器上工作


Magento module working local but not on server

我已经为Magento 1.9.x编写了一个自定义模块。本地它工作得很好,但它没有加载到服务器上......看起来模块未加载。

我想覆盖客户的客户账户控制器和帮助程序/数据。

任何人都可以在文件中找到错误吗?谢谢!

我已经清除了 magento 和/var/cache 中的缓存,但没有效果

这是我的文件:

/

app/etc/modules/Org_RestLogin.xml

<?xml version="1.0"?> 
<config>
    <modules>
         <Org_RestLogin>
              <active>true</active> 
              <codePool>local</codePool> 
              <depends>
                  <Mage_Customer /> <!-- Make sure, this is loaded first -->
              </depends>
         </Org_RestLogin>
    </modules>
 </config>
/

app/code/local/org/RestLogin/etc/config.xml

<?xml version="1.0" encoding="UTF-8"?>
<config>
    <modules>
        <Org_RestLogin>
            <version>1.1.1</version>
        </Org_RestLogin>
    </modules>
    <frontend>
        <routers>
            <customer>
                <args>
                    <modules>
                        <org_restlogin before="Mage_Customer">Org_RestLogin</org_restlogin>
                    </modules>
                </args>
            </customer>
        </routers>
    </frontend>
    <global>
       <helpers>
          <customer>
              <rewrite>
                  <data>Org_RestLogin_Customer_Helper_Data</data>
             </rewrite>
          </customer>
       </helpers>
    </global>
</config>
/

app/code/local/org/RestLogin/controllers/AccountController.php

<?php
require_once 'Mage/Customer/controllers/AccountController.php';
class Org_RestLogin_AccountController extends Mage_Customer_AccountController {
    //my custom methods
}
/

app/code/local/org/RestLogin/Customer/Helper/Data.php

<?php
class Org_RestLogin_Customer_Helper_Data extends Mage_Customer_Helper_Data
{
    /**
     * Check whether customers registration is allowed
     *
     * @return bool
     */
    public function isRegistrationAllowed() {
        return false;
    }
}

我找到了解决方案。这是文件夹中的错字..."组织"应该是"组织"