Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No configuration found for code “..." #14

Closed
fbrnc opened this issue Jan 17, 2013 · 5 comments
Closed

No configuration found for code “..." #14

fbrnc opened this issue Jan 17, 2013 · 5 comments

Comments

@fbrnc
Copy link
Member

fbrnc commented Jan 17, 2013

When users install an extension that comes with a scheduler task and uninstall it the xml configuration might still be there (or in the cache) resulting Aoe_Scheduler to throw an exception.

This exception should be catched and displayed as a meaningful warning instead.

@fbrnc
Copy link
Member Author

fbrnc commented Jan 17, 2013

Configuration might still be in the database:

SELECT *
FROM core_config_data
WHERE path LIKE “Ûautobackup%”

@rzrz
Copy link

rzrz commented Dec 24, 2014

hi how can i fix this problem? I ran the SQL query but this is the error message:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%” LIMIT 0, 30' at line 3

@fbrnc
Copy link
Member Author

fbrnc commented Jan 6, 2015

Hi @rzrz,
what exact query did you run? And what configuration code is Aoe_Scheduler complaining about?
Did you uninstall the module that was providing this cron job? Are you sure every file from that module is gone? Did you clear all caches?

Cheers,
Fabrizio

@rzrz
Copy link

rzrz commented Jan 6, 2015

I received the email from AOE whenever cron is not working. I did uninstall the module and emailed the developer to help with this but I am still getting the email daily. Details as such:

Cron error while executing ordermanager_archive:

exception 'Mage_Core_Exception' with message 'No valid configuration found.' in /var/www/app/Mage.php:594
Stack trace:
#0 /var/www/app/code/community/Aoe/Scheduler/Model/Observer.php(36): Mage::throwException('No valid config...')
#1 /var/www/app/code/core/Mage/Core/Model/App.php(1338): Aoe_Scheduler_Model_Observer->dispatch(Object(Varien_Event_Observer))
#2 /var/www/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(Aoe_Scheduler_Model_Observer), 'dispatch', Object(Varien_Event_Observer))
#3 /var/www/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('default', Array)
#4 /var/www/cron.php(71): Mage::dispatchEvent('default')
#5 {main}

@fbrnc
Copy link
Member Author

fbrnc commented Mar 11, 2015

This problem is solved now in version 1. You can see all the "leftovers" from previous modules in the Job configuration view and delete them there without accessing the database directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants