I inherited a couple of Magento installs with custom observers to handle integration with SAP B1. The B1 parts I get, but Magento keeps throwing curveballs at me that I just can't get good answers about. I have searched on SE, and found a few people with the same error messages, but none of their fixes/causes seem to be affecting me.
Whenever cron.php runs, I get the following 3 errors every time:
2015-02-25T00:30:02+00:00 ERR (3): Warning: include(Mage/CompanyName/AutomatedImport/Model/Observer.php): failed to open stream: No such file or directory in /chroot/home/shop/shop.companyname.com/html/lib/Varien/Autoload.php on line 93 2015-02-25T00:30:02+00:00 ERR (3): Warning: include(Mage/CompanyName/AutomatedImport/Model/Observer.php): failed to open stream: No such file or directory in /chroot/home/shop/shop.companyname.com/html/lib/Varien/Autoload.php on line 93 2015-02-25T00:30:02+00:00 ERR (3): Warning: include(): Failed opening 'Mage/CompanyName/AutomatedImport/Model/Observer.php' for inclusion (include_path='/chroot/home/shop/shop.companyname.com/html/app/code/local:/chroot/home/shop/shop.companyname.com/html/app/code/community:/chroot/home/shop/shop.companyname.com/html/app/code/core:/chroot/home/shop/shop.companyname.com/html/lib:.:/usr/share/pear:/usr/share/php') in /chroot/home/shop/shop.companyname.com/html/lib/Varien/Autoload.php on line 93
The problem is, my modules are located exactly where they are supposed to be in app/code/local/CompanyName/AutomatedImport, and not under Mage/. I've got another Magento install for a different shop that uses almost the exact same modules (they maybe vary by 5 lines of non-important code) and that one works fine.
Has anyone run into this before? I have a feeling it's some stupid capitalization issue somewhere in my module/etc/config.xml or in app/etc/modules/CompanyName_AutomatedImport.xml but I can't for the life of me find anything that tells me that what I have is in any way wrong. I've been attempting to do due diligence on this for the past week and a half, but I just don't know enough about Magento. All of the SO fixes I've seen involve either problems in the xml that I don't have, or moving modules/Magento installs into different directories/servers, which I haven't done.
Any help would be most appreciated, as I am way past stumped.
- Turning on/off caching
- Clearing the cache(s)
- Turning on compilation mode, and turning it back off
- Checking the permissions on my module