TinyPortal
Development => International => French => Topic started by: john013 on January 08, 2012, 04:51:49 PM
bonjour
La partie téléchargement ne fonctionne plus et elle affiche un message d'erreur : Wrong value type sent to the database. Integer expected. (week)
merci de m'aider.
google translate:
hello
Download the game stops working and displays an error message:Wrong value type sent to the database. Integer expected. (week)
thank you for helping me.
Bonjour,
Il faudrait donner l'url qui déclenche ce message pour que l'on puisse remonter à l'origine du probleme.
Merci d'avance.
English ...
A quick search for "Integer expected. (week)" would have found the answer --> http://www.tinyportal.net/index.php?topic=34609.msg276217#msg276217
The search is your friend. In any case, this issue has been fixed in the latest version of TinyPortal (1.0 RC3). Please upgrade at your earliest convenience.
En français ...
Une recherche rapide pour "Integer expected. (week)" aurait trouvé la réponse -->
http://www.tinyportal.net/index.php?topic=34609.msg276217#msg276217
La recherche est votre ami. En tout cas, ce problème a été corrigé dans la dernière version de TinyPortal (1.0 RC3). S'il vous plaît mettre à niveau à votre meilleure convenance.
ZarPrime
Editer le fichier Sources/TPdlmanager.php
Rechercher:
Quote
$week = date("W",$now);
$year = date("Y",$now);
Remplacer par:
Quote
$week = (int) date("W",$now);
$year = (int) date("Y",$now);