Tech25
11-17-2006, 11:15 PM
alrighty.... aside from the fact I am totally lost as to how to get crons to work in 2.0, I triggered sponsored cron manually in the browser and got the following error:
Error: Unknown column 'link.sponsored_notif_sent' in 'where clause'
SELECT `link`.*, `cat`.`path`, `cat`.`id` `id_category`, `plan`.`cost` `plan_cost`, `link`.`sponsored_start` + INTERVAL `plan`.`period` DAY `sponsored_end` FROM `links` `link` LEFT JOIN `plans` `plan` ON `link`.`sponsored_plan_id` = `plan`.`id` LEFT JOIN `link_categories` `l_c` ON `link`.`id` = `l_c`.`id_link` LEFT JOIN `categories` `cat` ON `l_c`.`id_category` = `cat`.`id` WHERE `link`.`sponsored` = '1' AND `link`.`sponsored_start` + INTERVAL `plan`.`period` DAY - INTERVAL 1 DAY < NOW() AND `link`.`sponsored_notif_sent` = '0' AND `l_c`.`crossed` = '0'
Can someone offer a suggestion on how to fix this.... as I understand it, the php files in the 2.0 cron folder shouldn't display anything as they are to be used by cron.
thanks oodles ad I do apologise for all the questions as of late.
All the best
Roy
Error: Unknown column 'link.sponsored_notif_sent' in 'where clause'
SELECT `link`.*, `cat`.`path`, `cat`.`id` `id_category`, `plan`.`cost` `plan_cost`, `link`.`sponsored_start` + INTERVAL `plan`.`period` DAY `sponsored_end` FROM `links` `link` LEFT JOIN `plans` `plan` ON `link`.`sponsored_plan_id` = `plan`.`id` LEFT JOIN `link_categories` `l_c` ON `link`.`id` = `l_c`.`id_link` LEFT JOIN `categories` `cat` ON `l_c`.`id_category` = `cat`.`id` WHERE `link`.`sponsored` = '1' AND `link`.`sponsored_start` + INTERVAL `plan`.`period` DAY - INTERVAL 1 DAY < NOW() AND `link`.`sponsored_notif_sent` = '0' AND `l_c`.`crossed` = '0'
Can someone offer a suggestion on how to fix this.... as I understand it, the php files in the 2.0 cron folder shouldn't display anything as they are to be used by cron.
thanks oodles ad I do apologise for all the questions as of late.
All the best
Roy