Magento新创建的模块在我的实时域上部署时出错。 错误是:
2014-01-09T19:33:57 + 00:00 ERR(3):警告:include():无法打开'Orderevent / Myobserver / Model / Observer.php'以包含(include_path ='/ home3 / myvoice3 /的public_html /店/应用/代码/地方:/ home3 / myvoice3 /的public_html /店/应用/代码/社区:/ home3 / myvoice3 /的public_html /店/应用/代码/核心:/ home3 / myvoice3 /的public_html /shop/lib:.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear')/home3/myvoice3/public_html/shop/lib/Varien/Autoload.php on第93行
My module config file (OrderEvent_MyObserver.xml)
<?xml version="1.0"?>
<config>
<modules>
<OrderEvent_MyObserver>
<codePool>local</codePool>
<active>true</active>
</OrderEvent_MyObserver>
</modules>
</config>
My module config file.
<?xml version="1.0"?>
<config>
<modules>
<OrderEvent_MyObserver>
<version>0.0.1</version>
</OrderEvent_MyObserver>
</modules>
<global>
<models>
<ordereventmyobserver>
<class>MyObserver_Model</class>
</ordereventmyobserver>
</models>
<events>
<sales_order_place_after>
<observers>
<orderevent_myobserver_model_observer>
<type>singleton</type>
<class>orderevent_myobserver_Model_Observer</class>
<method>create_order_netsuite</method>
</orderevent_myobserver_model_observer>
</observers>
</sales_order_place_after>
<sales_order_invoice_save_after>
<observers>
<orderevent_myobserver_model_observer>
<type>singleton</type>
<class>orderevent_myobserver_Model_Observer</class>
<method>create_invoice_netsuite</method>
</orderevent_myobserver_model_observer>
</observers>
</sales_order_invoice_save_after>
<customer_save_after>
<observers>
<orderevent_myobserver_model_observer>
<type>singleton</type>
<class>orderevent_myobserver_Model_Observer</class>
<method>add_customer</method>
</orderevent_myobserver_model_observer>
</observers>
</customer_save_after>
</events>
</global>
</config>