Kit Kit 0 Posted November 9, 2016 (edited) 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. Exception DetailsError: Flux_Error Message: Critical MySQL error in Installer/Updater: Invalid default value for 'reg_date' File: C:\wamp\www\Thanatos\lib\Flux\Installer\Schema.php:131 File Line Function/Method C:\wamp\www\Thanatos\lib\Flux\Installer\Schema.php 155 Flux_Installer_Schema::install() C:\wamp\www\Thanatos\lib\Flux\Installer\MainServer.php 46 Flux_Installer_Schema::update() C:\wamp\www\Thanatos\modules\install\index.php 83 Flux_Installer_MainServer::updateAll() C:\wamp\www\Thanatos\lib\Flux\Template.php 375 include() C:\wamp\www\Thanatos\lib\Flux\Dispatcher.php 170 Flux_Template::render() C:\wamp\www\Thanatos\index.php 180 Flux_Dispatcher::dispatch() Exception Trace As String#0 C:\wamp\www\Thanatos\lib\Flux\Installer\Schema.php(155): Flux_Installer_Schema->install('20080928225124') #1 C:\wamp\www\Thanatos\lib\Flux\Installer\MainServer.php(46): Flux_Installer_Schema->update() #2 C:\wamp\www\Thanatos\modules\install\index.php(83): Flux_Installer_MainServer->updateAll() #3 C:\wamp\www\Thanatos\lib\Flux\Template.php(375): include('C:\\wamp\\www\\Tha...') #4 C:\wamp\www\Thanatos\lib\Flux\Dispatcher.php(170): Flux_Template->render() #5 C:\wamp\www\Thanatos\index.php(180): Flux_Dispatcher->dispatch(Array) #6 {main} How to fix it... Edited November 9, 2016 by • Kate Alfred's™ • Quote Share this post Link to post Share on other sites
0 bWolfie 138 Posted November 9, 2016 Make sure your config/servers.php file is configured properly. Also you need to grant proper write permissions for the cp folder (forgot what they are...maybe someone can fill them in). Quote Share this post Link to post Share on other sites
0 Mystery 594 Posted November 9, 2016 Message: SQLSTATE[HY000] [1049] Unknown database 'ragnarok'As True Zeal said, it seems you haven't configured it properly. Quote Share this post Link to post Share on other sites
0 Kit Kit 0 Posted November 9, 2016 (edited) still error again actually i'm using wampserver my wamp run it ok here my image http://imgur.com/sBm5aJB Edited November 9, 2016 by • Kate Alfred's™ • Quote Share this post Link to post Share on other sites
0 Mystery 594 Posted November 9, 2016 still error again actually i'm using wampserver my wamp run it ok here my image http://imgur.com/sBm5aJB In your phpMyAdmin... your SQL database... do you have a database called 'ragnarok' ? You need to put in the database name that has all your server SQL tables, etc. Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted November 9, 2016 Invalid default value: problem is similar to https://github.com/HerculesWS/Hercules/issues/276 You just need to change default attribute from sql file of fluxcp Quote Share this post Link to post Share on other sites
0 Svanhild 2 Posted April 22, 2017 Thanks @Dastgir I changed hosts and encountered this problem, glad you're a life saver! Quote Share this post Link to post Share on other sites
0 skwal 0 Posted August 5, 2020 The real issue is with the MySQL 5.7 server. It doesn't accept invalid custom date value for datetime field. A quick solution would be to run SET SQL_MODE='ALLOW_INVALID_DATES'; In your mysql server. You can also do this inside your phpMyAdmin panel in the Query tab. Quote Share this post Link to post Share on other sites
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.
Exception DetailsError: Flux_Error
Message: Critical MySQL error in Installer/Updater: Invalid default value for 'reg_date'
File: C:\wamp\www\Thanatos\lib\Flux\Installer\Schema.php:131
File Line Function/Method C:\wamp\www\Thanatos\lib\Flux\Installer\Schema.php 155 Flux_Installer_Schema::install() C:\wamp\www\Thanatos\lib\Flux\Installer\MainServer.php 46 Flux_Installer_Schema::update() C:\wamp\www\Thanatos\modules\install\index.php 83 Flux_Installer_MainServer::updateAll() C:\wamp\www\Thanatos\lib\Flux\Template.php 375 include() C:\wamp\www\Thanatos\lib\Flux\Dispatcher.php 170 Flux_Template::render() C:\wamp\www\Thanatos\index.php 180 Flux_Dispatcher::dispatch() Exception Trace As String#0 C:\wamp\www\Thanatos\lib\Flux\Installer\Schema.php(155): Flux_Installer_Schema->install('20080928225124')
#1 C:\wamp\www\Thanatos\lib\Flux\Installer\MainServer.php(46): Flux_Installer_Schema->update()
#2 C:\wamp\www\Thanatos\modules\install\index.php(83): Flux_Installer_MainServer->updateAll()
#3 C:\wamp\www\Thanatos\lib\Flux\Template.php(375): include('C:\\wamp\\www\\Tha...')
#4 C:\wamp\www\Thanatos\lib\Flux\Dispatcher.php(170): Flux_Template->render()
#5 C:\wamp\www\Thanatos\index.php(180): Flux_Dispatcher->dispatch(Array)
#6 {main}
How to fix it...
Edited by • Kate Alfred's™ •Share this post
Link to post
Share on other sites