Installation 5.0.4 [Réglé]
Skyler Membre non connecté
Booster Bazooka
-
Booster Bazooka
- Voir le profil du membre Skyler
- Inscrit le : 20/04/2008
Ça fait un petit moment que je n'ai pas toucher touché à PHPBOOST et je revient sur la version 5.0.4 pour jeter un oeil et essayé de m'y remettre.
Bien entendu, j'ai recherché d'abord un hébergeur gratuit pour tester et lors de l'installation, je reviens toujours sur la même erreur !
Citation :
invalid query. (ERRNO 1067) Invalid default value for 'time'

J'ai tester l'install chez Hostinger et chez RaidGHost.
Merci par avance pour vos éclaircissement.
Cordialement,
Édité par Skyler Le 31/05/2016 à 14h53
ElenWii Membre non connecté
-
Administrateur
- Voir le profil du membre ElenWii
- Inscrit le : 14/08/2009
- Site internet
- Groupes :
-
Equipe Graphique
Tu es sur quelle version de php ?
Skyler Membre non connecté
Booster Bazooka
-
Booster Bazooka
- Voir le profil du membre Skyler
- Inscrit le : 20/04/2008
Version PHP 5.4
j1.seth Membre non connecté
-
Administrateur
- Voir le profil du membre j1.seth
- Inscrit le : 01/09/2008
- Site internet
- Groupes :
-
Chef de Projet
-
Equipe Développement
Tu peux réessayer en remplaçant la ligne 229 de /install/phpboost/KernelSetup.class.php par ce qui suite stp :
Code PHP :
'time' => array('type' => 'integer', 'length' => 11, 'notnull' => 1, 'default' => 0),
Skyler Membre non connecté
Booster Bazooka
-
Booster Bazooka
- Voir le profil du membre Skyler
- Inscrit le : 20/04/2008
J'ai bien fait le changement, et le soucis persiste toujours.
<span class="formatter-blockquote">Citation:</span><div class="blockquote">
MySQLQuerierException
invalid query. (ERRNO 1067) Invalid default value for 'time'query: CREATE TABLE phpboost_visit_counter (`id` INT(11) AUTO_INCREMENT NOT NULL, `ip` VARCHAR(50) DEFAULT '' NOT NULL, `time` DATE DEFAULT '' NOT NULL, `total` INT(11) DEFAULT 0 NOT NULL, KEY `ip` (`ip`), PRIMARY KEY(id)) DEFAULT CHARACTER SET latin1 ENGINE = MyISAM
STACKTRACE METHOD FILE LINE
+ MySQLQuerier->execute(string, array) /kernel/framework/io/db/driver/mysql/MySQLQuerier.class.php 54
+ MySQLQuerier->inject(string, array) /kernel/framework/io/db/DBQuerier.class.php 58
+ DBQuerier->inject(string, array) /kernel/framework/io/db/dbms/MySQLDBMSUtils.class.php 302
+ MySQLDBMSUtils->inject(string) /kernel/framework/io/db/dbms/MySQLDBMSUtils.class.php 143
+ MySQLDBMSUtils->create_table(string, array, array) /install/phpboost/KernelSetup.class.php 237
KernelSetup->create_visit_counter_table() /install/phpboost/KernelSetup.class.php 137
KernelSetup->create_tables() /install/phpboost/KernelSetup.class.php 97
KernelSetup->install() /install/services/InstallationServices.class.php 391
InstallationServices->create_tables() /install/services/InstallationServices.class.php 150
+ InstallationServices->create_phpboost_tables(int, string, string, string, string, string, string) /install/controllers/InstallDBConfigController.class.php 151
+ InstallDBConfigController->create_tables(InstallationServices, string, string, string, string, string, string) /install/controllers/InstallDBConfigController.class.php 131
+ InstallDBConfigController->handle_form(string, string, string, string, string, string) /install/controllers/InstallDBConfigController.class.php 65
+ InstallDBConfigController->execute(HTTPRequestCustom) /kernel/framework/mvc/dispatcher/UrlControllerMapper.class.php 87
UrlControllerMapper->do_call() /kernel/framework/mvc/dispatcher/UrlControllerMapper.class.php 59
UrlControllerMapper->call() /kernel/framework/mvc/dispatcher/Dispatcher.class.php 67
Dispatcher->dispatch() /kernel/framework/mvc/dispatcher/DispatchManager.class.php 43
+ DispatchManager::dispatch(array) /install/index.php 55
output buffer
You see this page because your site is configured to use the DEBUG mode.
If you want to see the related user error page, you have to disable the DEBUG mode from the administration panel.
HTTP Request GET
url /database
POST
databaseForm_host localhost
databaseForm_port 3306
databaseForm_login vtupps
databaseForm_password na25du08
databaseForm_schema vtupps
databaseForm_tablesPrefix phpboost_
_database true
token 42
databaseForm_disabled_fields |overwrite
databaseForm_disabled_fieldsets |overwriteFieldset
COOKIE
_ga GA1.2.1635296428.1464679055
SERVER
USER vincenttupps
HOME /home/vincenttupps
SCRIPT_NAME /install/index.php
REQUEST_URI /install/index.php?url=/database
QUERY_STRING url=/database
REQUEST_METHOD POST
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 51910
SCRIPT_FILENAME /var/www/vincenttupps/install/index.php
SERVER_ADMIN <a href="mailto:vincent.durand62@gmail.com">vincent.durand62@gmail.com</a>
CONTEXT_DOCUMENT_ROOT /var/www/vincenttupps
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /var/www/vincenttupps
REMOTE_ADDR 93.27.193.184
SERVER_PORT 80
SERVER_ADDR 163.172.35.67
SERVER_NAME vincenttupps.raidghost.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at vincenttupps.raidghost.com Port 80</address>
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
CONTENT_LENGTH 289
CONTENT_TYPE application/x-www-form-urlencoded
HTTP_CONNECTION keep-alive
HTTP_COOKIE _ga=GA1.2.1635296428.1464679055
HTTP_REFERER <a href="http://vincenttupps.raidghost.com/install/index.php?url=/database">http://vincenttupps.raidghost.com/install/index.php?url=/database</a>
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
HTTP_HOST vincenttupps.raidghost.com
proxy-nokeepalive 1
SCRIPT_URI <a href="http://vincenttupps.raidghost.com/install/index.php">http://vincenttupps.raidghost.com/install/index.php</a>
SCRIPT_URL /install/index.php
FCGI_ROLE RESPONDER
PHP_SELF /install/index.php
REQUEST_TIME_FLOAT 1464689328.2501
REQUEST_TIME 1464689328</div>
j1.seth Membre non connecté
-
Administrateur
- Voir le profil du membre j1.seth
- Inscrit le : 01/09/2008
- Site internet
- Groupes :
-
Chef de Projet
-
Equipe Développement
C'est possible de supprimer le fichier KernelSetup avant de le réuploader après la modification ? Il y a peut être un effet cache chez l'hébergeur.
Skyler Membre non connecté
Booster Bazooka
-
Booster Bazooka
- Voir le profil du membre Skyler
- Inscrit le : 20/04/2008
C'est corrigé merci beaucoup !
j1.seth Membre non connecté
-
Administrateur
- Voir le profil du membre j1.seth
- Inscrit le : 01/09/2008
- Site internet
- Groupes :
-
Chef de Projet
-
Equipe Développement
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie