-
Notifications
You must be signed in to change notification settings - Fork 202
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
AOE Scheduler - SQLSTATE[42S22] Column not found #173
Comments
Hi @Tjitse-E, Cheers, |
Hi Fabrizio, I've installed the plugin via FTP. Unfortunately we're not familiar with modman or composer. I've cleared all the caches and I see the aoescheduler_setup in core_resource (version number 1.2.1). I just tried to clear the caches again, then activated the module. Still the same error (SQLSTATE[42S22) appears when I try to execute the cron. Cheers, |
Hi @Tjitse-E,
Cheers, |
Hi Fabrizio, Thanks for your suggestion. The local/Aoe folder was empty, so no leftovers. I've reinstalled the latest Aoe Scheduler module and cleared all caches. The same error appeared after executing cron.sh. Is there anything else that I can try? |
It's hard to tell what the issue is only be looking at the error message. I still think it's an issue with some files not being in the right place. |
I've reinstalled the latest version (1.3) of the scheduler module with modman. Still, the issue remains. When I try to execute scheduler_cron.sh:
Database entry AOE Scheduler in Core_resource: aoescheduler_setup 1.3.0 1.3.0. Any ideas where to look further? |
If you look in the install-1.0.0.php script and mysql4-upgrade-0.41-0.4.2.php it is meant to add a column for last seen, however when I installed the latest AOE onto a new magento install (So had no prior AOE install), I get the same error as @Tjitse-E It seems the install scripts aren't running correctly as there are more columns that are meant to be added in the install-1.0.0.php file but my cron_shedule table is missing these |
@peterstonesr i've got the module working by deleting it's entry in core_resource + refreshing the cache. |
I'm having the same problem. I manually downloaded 1.3.1, copied all files it into my magento root, but the install script doesn't appear to get triggered (at least I do not see an entry for AOE Scheduler in core_resource). The cronjobs fail with the above quoted error about the last_seen column missing. |
@EddyBuhler with Magerun you can execute the setup scripts manually. Check out their repo on Github. |
/bin/sh /home/user/public_html/website/scheduler_cron.sh Same problem on Magento 1.9.0.1 uploaded via FTP. But "No heartbeat task found." probably because of this error. Documentation for installation is incomplete? select * from core_resource where code like 'aoescheduler_setup'; No results. Install magerun
Check stored core_resource version against module versions.
Run any new setup scripts.
Now its installed. select * from core_resource where code like 'aoescheduler_setup'; 1.5.0 as expected and pages now show up. |
Hi,
After installing the Aoe_Scheduler on a Magento 1.7 CE both cron.sh and scheduler_cron.sh generate an error.
a:5:{i:0;s:84:"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'last_seen' in 'where clause'";i:1;s:2201:"#0 /home/_/_.nl/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
When I disable the AOE Scheduler the cron error disappears. Did anyone encounter this error before?
The text was updated successfully, but these errors were encountered: