Mise à jour 5.1
MarcF Membre non connecté
Booster Fronde
- Booster Fronde
- Voir le profil du membre MarcF
- Inscrit le : 24/08/2018
Je viens de réinstaller en local un site en 4.0.1. j'ai réussi les migrations en 4.1.9 puis 5.0.18.
Après plusieurs tentative je bloque toujours pour passé la 5.1 avec l'erreur suivante au lancement de localhost/update.
Je n'ai plus que le thème de base, pas de menus spéciaux, et pas de modules complémentaires.
Fatal error: Uncaught TypeError: CurrentUser::__construct(): Argument #1 ($session) must be of type SessionData, null given, called in C:\xampp\htdocs\kernel\framework\phpboost\user\CurrentUser.class.php on line 38 and defined in C:\xampp\htdocs\kernel\framework\phpboost\user\CurrentUser.class.php:43 Stack trace: #0 C:\xampp\htdocs\kernel\framework\phpboost\user\CurrentUser.class.php(38): CurrentUser->__construct(NULL) #1 C:\xampp\htdocs\kernel\framework\core\environment\context\AppContext.class.php(188): CurrentUser::from_session() #2 C:\xampp\htdocs\kernel\framework\util\Timezone.class.php(82): AppContext::get_current_user() #3 C:\xampp\htdocs\kernel\framework\util\Timezone.class.php(56): Timezone::get_user_timezone() #4 C:\xampp\htdocs\kernel\framework\util\Date.class.php(547): Timezone::get_timezone(3) #5 C:\xampp\htdocs\kernel\framework\util\Date.class.php(119): Date->compute_server_user_difference(3) #6 C:\xampp\htdocs\kernel\framework\util\Date.class.php(495): Date->format('Y-m-d H:i:s') #7 C:\xampp\htdocs\kernel\framework\core\error\ErrorHandler.class.php(216): Date::to_format(1609226880, 'Y-m-d H:i:s', 1) #8 C:\xampp\htdocs\kernel\framework\core\error\ErrorHandler.class.php(205): ErrorHandler::compute_error_log_string('mb_http_input()...', 'C:\\xampp\\htdocs...', 127) #9 C:\xampp\htdocs\kernel\framework\core\error\ErrorHandler.class.php(189): ErrorHandler::add_error_in_log_file('../cache/error....', 'mb_http_input()...', 'C:\\xampp\\htdocs...', 127) #10 C:\xampp\htdocs\kernel\framework\core\error\RawExceptionHandler.class.php(64): ErrorHandler::add_error_in_log('mb_http_input()...', 'C:\\xampp\\htdocs...', 127) #11 C:\xampp\htdocs\kernel\framework\core\error\RawExceptionHandler.class.php(51): RawExceptionHandler->log() #12 [internal function]: RawExceptionHandler->handle(Object(ValueError)) #13 {main} thrown in C:\xampp\htdocs\kernel\framework\phpboost\user\CurrentUser.class.php on line 43
olivierb Membre non connecté
- Modérateur
- Voir le profil du membre olivierb
- Inscrit le : 07/02/2014
- Site internet
- Groupes :
- Equipe Assistance
êtes-vous toujours en PHP7.3 ? pouvez-vous tenter en PHP5.6 ?
Je suppose que /update/update_log.txt est absent ?
Olivier
Olivier
MarcF Membre non connecté
Booster Fronde
- Booster Fronde
- Voir le profil du membre MarcF
- Inscrit le : 24/08/2018
MySQLQuerierException
invalid query. (ERRNO 1067) Valeur par défaut invalide pour 'time'
--------------------------------------------------------------------------------
query: ALTER TABLE `site_visit_counter` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
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) /update/services/UpdateServices.class.php 300
UpdateServices->update_kernel_tables() /update/services/UpdateServices.class.php 226
UpdateServices->execute() /update/controllers/UpdateVersionExecuteController.class.php 47
UpdateVersionExecuteController->handle_form() /update/controllers/UpdateVersionExecuteController.class.php 39
+ UpdateVersionExecuteController->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) /update/index.php 85
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 /execute
POST
_finish true
token 42
continueForm_disabled_fields
continueForm_disabled_fieldsets
COOKIE
session_data a:2:{s:7:"user_id";i:-1;s:10:"session_id";s:64:"ea8682dcb11b31f122ada544c48042a41fa8e2ba1dfda94778a10f650a862b62";}
SERVER
HTTP_ACCEPT text/html, application/xhtml+xml, */*
HTTP_REFERER <a href="http://localhost/update/index.php?url=/execute">http://localhost/update/index.php?url=/execute</a>
HTTP_ACCEPT_LANGUAGE fr-FR
HTTP_USER_AGENT Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)
CONTENT_TYPE application/x-www-form-urlencoded
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_HOST localhost
CONTENT_LENGTH 84
HTTP_DNT 1
HTTP_CONNECTION Keep-Alive
HTTP_CACHE_CONTROL no-cache
HTTP_COOKIE session_data=a%3A2%3A%7Bs%3A7%3A%22user_id%22%3Bi%3A-1%3Bs%3A10%3A%22session_id%22%3Bs%3A64%3A%22ea8682dcb11b31f122ada544c48042a41fa8e2ba1dfda94778a10f650a862b62%22%3B%7D
PATH C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
SystemRoot C:\Windows
COMSPEC C:\Windows\system32\cmd.exe
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR C:\Windows
SERVER_SIGNATURE <address>Apache/2.4.46 (Win64) PHP/7.3.21 Server at localhost Port 80</address>
SERVER_SOFTWARE Apache/2.4.46 (Win64) PHP/7.3.21
SERVER_NAME localhost
SERVER_ADDR ::1
SERVER_PORT 80
REMOTE_ADDR ::1
DOCUMENT_ROOT C:/wamp64/www
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT C:/wamp64/www
SERVER_ADMIN wampserver@wampserver.invalid
SCRIPT_FILENAME C:/wamp64/www/update/index.php
REMOTE_PORT 49458
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD POST
QUERY_STRING url=/execute
REQUEST_URI /update/index.php?url=/execute
SCRIPT_NAME /update/index.php
PHP_SELF /update/index.php
REQUEST_TIME_FLOAT 1609273681.2362
REQUEST_TIME 1609273681
MarcF Membre non connecté
Booster Fronde
- Booster Fronde
- Voir le profil du membre MarcF
- Inscrit le : 24/08/2018
---------------------------------System report---------------------------------
-----------------------------generated by PHPBoost-----------------------------
SERVER CONFIGURATION-----------------------------------------------------------
php version : 7.3.21
dbms version : MySQL 5.7.31
gd library : 1
url rewriting : 1
apcu cache : 0
PHPBOOST CONFIGURATION---------------------------------------------------------
phpboost version : 5.0.18
server url : <a href="http://localhost">http://localhost</a>
site path :
default theme : Base (Version 5.0.0)
default language : Français
default editor : BBCode
home page : <a href="http://localhost/index.php">http://localhost/index.php</a>
url rewriting : 0
apcu cache : 0
output gzip : 1
session cookie name : session
session duration : 3600
active session duration : 300
DIRECTORIES AUTHORIZATIONS-----------------------------------------------------
/ : 1
/cache : 1
/cache/backup : 1
/cache/syndication : 1
/cache/tpl : 1
/cache/css : 1
/images/avatars : 1
/images/customization : 1
/images/group : 1
/images/maths : 1
/images/smileys : 1
/kernel/db : 1
/lang : 1
/templates : 1
/upload : 1
MarcF Membre non connecté
Booster Fronde
- Booster Fronde
- Voir le profil du membre MarcF
- Inscrit le : 24/08/2018
Merci à tous ceux qui m'ont apporté leur aide.
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie