Platform sh site setup in localhost gets Cookie error

Putting the code below in the settings.php file to boycott cookies solved my issue. define( ‘AUTH_KEY’, ‘put your unique phrase here’ ); define( ‘SECURE_AUTH_KEY’, ‘put your unique phrase here’ ); define( ‘LOGGED_IN_KEY’, ‘put your unique phrase here’ ); define( ‘NONCE_KEY’, ‘put your unique phrase here’ ); define( ‘AUTH_SALT’, ‘put your unique phrase here’ ); define( … Read more

write developer debug statements to separate log

You can tell error_log() where to put its output: error_log( ‘my debugging output’, 3, ‘/my/debug/log/location/log.txt’ ); It might be more convenient to add your own function: if ( ! function_exists( ‘my_debug’ ) ) { function my_debug( $x = ” ) { // Uses print_r() in case $x isn’t a string. error_log( print_r( $x, 1 ), … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)