Jump to content

Published date not set and unable to perform update #12


Recommended Posts

Posted

Try adding this in site/config.php:

$config->dbSqlModes = array(
	"5.5.0" => "remove:STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY"
);

 

  • Thanks 1
Posted

Now i get this error in the SystemUpdaterModule: 

2018-01-26 19:30:40 ERROR: Update #12 ERROR: Failed to apply update 12 - SQLSTATE[HY000]: General error: 1 Can't create/write to file '/tmp/#sql_7b5f3_0.MYD' (Errcode: 28)

 

Posted

Still no luck with this code. 

Why is the published filed a datetime field and created and modified timestamps?

Posted

Can you show us the output of

SHOW VARIABLES LIKE 'sql_mode';

from MySQL? Which PW version are you installing / upgrading to?

Posted

Not sure on how to show sql_mode? :undecided:

sql_mode: NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

I'm on ProcessWire 3.0.89 and Maria DB now.

 

Posted

I cant find any errors but the "Update #12: Initializing"  shows up in the system-updater log and in the SystemUpdaterModule every third second. 
If bypass the update (skip to update 13) the published date is saved but the existing pages doesn't seem to get any published date set:

From a another PW-site:
Update #12: Completed!
Update #12: Populated values to 'published' for 86 pages
Update #12: Added 'published' column to pages table 
Update #12: Initializing update

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...