Jump to content
  • 0
Diana

Fluxcp 'reg_date' Error !

Question

Please help me if you can 

when I setup fluxcp in my own Computer I get this error : 

Message: Critical MySQL error in Installer/Updater: Invalid default value for 'reg_date'

how can i fix it?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

following the first answers, this is the solution for linux (ubuntu 18.04) users. You can jump right to the solution a little lower...

I took like 4 information sources to get it all going for me, thats why I put it all together a little more detailed...

After preconfiguring fluxCP (see github wiki) I had the same problem mentioned here after hitting fluxCP "update all".

 

Quote

 

Critical Error

An error was encountered during the lifetime of the application.

This could be due to a variety of problems, such as a bug in the application.

However, normally it is caused by misconfiguration.

 

To make sure its actually this error, you need to enable full error log in the error.php:

sudo nano /var/www/html/config/error.php

now set this from false to true:

Quote

$showExceptions  = true;

exit with STRG+X and confirm save with Y and RETURN

Then you are able to see the full error log:

Quote

Exception Details

Error: Flux_Error

Message: Critical MySQL error in Installer/Updater: Invalid default value for 'reg_date'

File: /var/www/html/lib/Flux/Installer/Schema.php:131

...

 

My working Solution

 

open the mysqld.cnf with write permissions (e.g. sudo):

sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf

append this in the [mysql] section:

 sql_mode=NO_ENGINE_SUBSTITUTION

exit with STRG+X and confirm save with Y and RETURN

now restart the mysql service:

sudo systemctl restart mysql.service

 

Edited by sekall
Link to comment
Share on other sites

  • 1
9 minutes ago, Diana said:

I already tried this 

but in Wampserver there's no mysql.ini and it's only my.ini 

but still the same error :mellow:

yes my.ini last line add 

sql_mode=NO_ENGINE_SUBSTITUTION

http://prntscr.com/foixkb

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.