Moderators: jmacgreg, michael, jheckman, barbarah, btbell, bdgregg, asmecher
[data: dbscripts/xml/upgrade/2.3.5_update.xml]
ERROR: Upgrade failed: DB: 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 '300 AND UNIX_TIMESTAMP(pa.date_published) - UNIX_TIMESTAMP(a.date_submitted) = 0' at line 1
ALTER TABLE published_articles CHANGE COLUMN date_published date_published
DATETIME;
UPDATE published_articles pa, articles a SET pa.date_published = NULL WHERE
a.article_id = pa.article_id AND UNIX_TIMESTAMP(pa.date_published) -
UNIX_TIMESTAMP(a.date_submitted) < 300 AND UNIX_TIMESTAMP(pa.date_published) -
UNIX_TIMESTAMP(a.date_submitted) >= 0
2.3.3_update.xml
2.3.4_update.xml
2.3.5_update.xml
ERROR: Upgrade failed: DB: 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 '300 AND UNIX_TIMESTAMP(pa.date_published) - UNIX_TIMESTAMP(a.date_submitted) = 0' at line 1ERROR: Upgrade failed: DB: 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 '300 AND UNIX_TIMESTAMP(pa.date_published) - UNIX_TIMESTAMP(a.date_submitted) = 0' at line 1Return to OJS Technical Support
Users browsing this forum: Google [Bot] and 4 guests