Quote:
Originally Posted by HaMaDa4eVeR
run this query in your forum database :
Code:
INSERT INTO " . TABLE_PREFIX . "cron (weekday,day,hour,minute,filename,loglevel,active,varname, volatile,product)) VALUES (-1, 10, 0, 'a:1:{i:0;i:0;}', './includes/cron/cronautodelete.php', 1, 'Auto Delete/Move Thread After X days')
make sure that you've uploaded the file cronautodelete.php in ./includes/cron/cronautodelete.php
and It should be working now...
|
If I may, I'd like to point out that this SQL does not look right though I'm no expert.
Quote:
(weekday,day,hour,minute,filename,loglevel,active, varname, volatile,product)) VALUES (-1, 10, 0, 'a:1:{i:0;i:0;}', './includes/cron/cronautodelete.php', 1, 'Auto Delete/Move Thread After X days')
|
There is an additional bracket after the column list.
The number of quoted columns (Ten) does not mach the number of values (Seven).
To me it looks like there are missing values for column active, varname and volatile.
I have no scheduled task in either 3.6.4 (mine) or on a 3.6.7PL1 (which I am co-admin).
Sorry if I'm being thick, but the SQL on the install code just doesn't look correct.