Why am I getting error while setting up cron job in magento? - magento

2013-06-24T08:39:26+00:00 ERR (3): Notice: Trying to get property of non-object in /var/www/magento-ext/app/code/core/Mage/Cron/Model/Observer.php on line 68
2013-06-24T08:39:26+00:00 ERR (3): Warning: include(Mage/Neev/Setattribute/Model/Observer.php): failed to open stream: No such file or directory in /var/www/magento-ext/lib/Varien/Autoload.php on line 93
2013-06-24T08:39:26+00:00 ERR (3): Warning: include(): Failed opening 'Mage/Neev/Setattribute/Model/Observer.php' for inclusion (include_path='/var/www/magento-ext/app/code/local:/var/www/magento-ext/app/code/community:/var/www/magento-ext/app/code/core:/var/www/magento-ext/lib:.:/usr/share/php:/usr/share/pear') in /var/www/magento-ext/lib/Varien/Autoload.php on line 93
2013-06-24T08:39:27+00:00 ERR (3): Warning: include(Mage/Neev/Setattribute/Model/Observer.php): failed to open stream: No such file or directory in /var/www/magento-ext/lib/Varien/Autoload.php on line 93
2013-06-24T08:39:27+00:00 ERR (3): Warning: include(): Failed opening 'Mage/Neev/Setattribute/Model/Observer.php' for inclusion (include_path='/var/www/magento-ext/app/code/local:/var/www/magento-ext/app/code/community:/var/www/magento-ext/app/code/core:/var/www/magento-ext/lib:.:/usr/share/php:/usr/share/pear') in /var/www/magento-ext/lib/Varien/Autoload.php on line 93
Magento 1.7

your system is obviously trying to load an observer class which can not be found by the system, hence the attempt to load it from Mage/Neev, which is part of magentos fallback system. check if there is any config.xml file which registers an event in the section for a class with "Neev" in the name...
good luck!

Related

Magento 1 Embedded ERP Removed but AdvancedStock still called

I attempted to remove the Embedded ERP from my website. Everything worked smoothly except som SQL stuff. But when a customer attempts to add an item to their cart, the flash loads forever and the System.log throws the following.
ERR (3): Warning: include(Mage/AdvancedStock/Helper/Product/Base.php):
failed to open stream: No such file or directory in
/var/www/phono.dk/public_html/subdomains/dev/lib/Varien/Autoload.php
on line 94 ERR (3): Warning:
include(Mage/AdvancedStock/Helper/Product/Base.php): failed to open
stream: No such file or directory in
/var/www/phono.dk/public_html/subdomains/dev/lib/Varien/Autoload.php
on line 94 ERR (3): Warning: include(): Failed opening
'Mage/AdvancedStock/Helper/Product/Base.php' for inclusion
(include_path='/var/www/phono.dk/public_html/subdomains/dev/app/code/local:/var/www/phono.dk/public_html/subdomains/dev/app/code/community:/var/www/phono.dk/public_html/subdomains/dev/app/code/core:/var/www/phono.dk/public_html/subdomains/dev/lib:.:/usr/share/php:/usr/share/pear')
in
/var/www/phono.dk/public_html/subdomains/dev/lib/Varien/Autoload.php
on line 94
I have no idea what's still calling for AdvancedStock, but whatever does it shouldn't. Any suggestions as to what that might be?

Codeigniter uploading website failed to open a stream

I have error when I upload my personal website. This is the error that I get:
Warning:
include(/home2/thefourpobu/public_html/tep/application/views/errors/html/error_php.php): failed to open stream: No such file or directory in /home2/thefourpobu/public_html/tep/system/core/Exceptions.php on line 269 Warning: include(): Failed opening '/home2/thefourpobu/public_html/tep/application/views/errors/html/error_php.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/thefourpobu/public_html/tep/system/core/Exceptions.php on line 269 Warning: include(/home2/thefourpobu/public_html/tep/application/views/errors/html/error_php.php): failed to open stream: No such file or directory in /home2/thefourpobu/public_html/tep/system/core/Exceptions.php on line 269 Warning: include(): Failed opening '/home2/thefourpobu/public_html/tep/application/views/errors/html/error_php.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/thefourpobu/public_html/tep/system/core/Exceptions.php on line 269 Warning: include(/home2/thefourpobu/public_html/tep/application/views/errors/html/error_php.php): failed to open stream: No such file or directory in /home2/thefourpobu/public_html/tep/system/core/Exceptions.php on line 269 Warning: include(): Failed opening '/home2/thefourpobu/public_html/tep/application/views/errors/html/error_php.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/thefourpobu/public_html/tep/system/core/Exceptions.php on line 269 Warning: include(/home2/thefourpobu/public_html/tep/application/views/errors/html/error_php.php): failed to open stream: No such file or directory in /home2/thefourpobu/public_html/tep/system/core/Exceptions.php on line 269 Warning: include(): Failed opening '/home2/thefourpobu/public_html/tep/application/views/errors/html/error_php.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/thefourpobu/public_html/tep/system/core/Exceptions.php on line 269
This got me too. From the CodeIgniter upgrade doc:
Step 8: Replace your error templates
In CodeIgniter 3.0, the error templates are now considered as views and have been moved to the application/views/errors directory.
Furthermore, we’ve added support for CLI error templates in plain-text format that unlike HTML, is suitable for the command line. This of course requires another level of separation.
It is safe to move your old templates from application/errors to application/views/errors/html, but you’ll have to copy the new application/views/errors/cli directory from the CodeIgniter archive.
You just need to copy over the errors folder provided in ver 3.0 to your views folder.

Sagepay payment issues

i am trying to fix sagepay payment and receiving few issues,
first when i select sagepay then it auto generate and show name (like this Cuyike Xopuyo) automatically in name field. is there any virus?
second in log file i can see these error messages. what these error means?
2015-09-28T11:45:43+00:00 ERR (3): Warning: include(Mage/HSBC/Model/Remote.php): failed to open stream: No such file or directory in public_html/lib/Varien/Autoload.php on line 94
2015-09-28T11:45:43+00:00 ERR (3): Warning: include(Mage/HSBC/Model/Remote.php): failed to open stream: No such file or directory in public_html/lib/Varien/Autoload.php on line 94
2015-09-28T11:45:43+00:00 ERR (3): Warning: include(): Failed opening 'Mage/HSBC/Model/Remote.php' for inclusion (include_path='/public_html/app/code/local:/public_html/app/code/community:/public_html/app/code/core:/public_html/lib:.:/opt/php54/lib/php') in public_html/lib/Varien/Autoload.php on line 94
thanks
Regarding your second question :
Your error messages relate to an old payment module extension you had installed for HSBC by a company called studioforty9. You should delete all references to it from your mysql database with the following mysql query :
DELETE FROM `core_config_data` WHERE `path` LIKE '%payment/HSBC/%';

Fatal error: Class 'Varien_Autoload' not found

During deployment of a Magento site I got the following warning and error:-
Warning: include_once(Varien/Autoload.php): failed to open stream: No such file or directory in /home/xxx/subdomain/stage/app/Mage.php on line 50
Warning: include_once(): Failed opening 'Varien/Autoload.php' for inclusion (include_path='/home/xxx/subdomain/stage/app/code/local:/home/xxx/subdomain/stage/app/code/community:/home/xxx/subdomain/stage/app/code/core:/home/xxx/subdomain/stage/lib:.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/subdomain/stage/app/Mage.php on line 50
Warning: include(Varien/Autoload.php): failed to open stream: No such file or directory in /home/xxx/subdomain/stage/app/code/core/Mage/Core/functions.php on line 68
Warning: include(): Failed opening 'Varien/Autoload.php' for inclusion (include_path='/home/xxx/subdomain/stage/app/code/local:/home/xxx/subdomain/stage/app/code/community:/home/xxx/subdomain/stage/app/code/core:/home/xxx/subdomain/stage/lib:.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/subdomain/stage/app/code/core/Mage/Core/functions.php on line 68
Fatal error: Class 'Varien_Autoload' not found in /home/xxx/subdomain/stage/app/Mage.php on line 53
I have already set permission to 777 and set the include_path correctly and there is lib folder inside includes too but its not working.
Please suggest how to solve this error. Thank you.

Magento error with custom module

I am getting the following error when I tried to create a Magento custom module.
I have followed this tutorial but can't see where I am going wrong, can anyone help please?
http://www.smashingmagazine.com/2012/03/01/basics-creating-magento-module/
2015-03-23T23:57:01+00:00 ERR (3): Warning: include(Mage\Company\ScheduledPriceDrop\Model\Observer.php): failed to open stream: No such file or directory in C:\Work\#Company\Project1\src\trunk\public_html\lib\Varien\Autoload.php on line 94
2015-03-23T23:57:01+00:00 ERR (3): Warning: include(): Failed opening 'Mage\Company\ScheduledPriceDrop\Model\Observer.php' for inclusion (include_path='C:\Work\#Company\Project1\src\trunk\public_html\app\code\local;C:\Work\#Company\Project1\src\trunk\public_html\app\code\community;C:\Work\#Company\Project1\src\trunk\public_html\app\code\core;C:\Work\#Company\Project1\src\trunk\public_html\lib;.;C:\php\pear') in C:\Work\#Company\Project1\src\trunk\public_html\lib\Varien\Autoload.php on line 94
2015-03-23T23:57:01+00:00 ERR (3): Warning: include(Mage\Company\ScheduledPriceDrop\Model\Observer.php): failed to open stream: No such file or directory in C:\Work\#Company\Project1\src\trunk\public_html\lib\Varien\Autoload.php on line 94
2015-03-23T23:57:01+00:00 ERR (3): Warning: include(): Failed opening 'Mage\Company\ScheduledPriceDrop\Model\Observer.php' for inclusion (include_path='C:\Work\#Company\Project1\src\trunk\public_html\app\code\local;C:\Work\#Company\Project1\src\trunk\public_html\app\code\community;C:\Work\#Company\Project1\src\trunk\public_html\app\code\core;C:\Work\#Company\Project1\src\trunk\public_html\lib;.;C:\php\pear') in C:\Work\#Company\Project1\src\trunk\public_html\lib\Varien\Autoload.php on line 94
2015-03-23T23:57:01+00:00 ERR (3): Recoverable Error: Object of class Mage_Cron_Model_Schedule could not be converted to string in C:\Work\#Company\Project1\src\trunk\public_html\lib\Varien\Db\Adapter\Pdo\Mysql.php on line 2869
According to your log the execution didn't find the observer.php in your module
Company\ScheduledPriceDrop\Model\Observer.php
Actually it seems that it is searching for this observer file in core, this mostly happens if it doesnot find it in local domain.
If this is not the case than you have to provide your code.
Hope this will help.
There is error in this module Company\ScheduledPriceDrop disable it. there is error in this module you need to correct it.

Resources