Accueil   Accueil    Forum   Forum    Download   Download    Livre d'or   Livre d'or    Contact   Contact    Liens Web   Liens Web

PROBLEME INSTALL PORTAIL - KwsPhp

Colonne de gauche

Forum :

Sujets Importants

membres on-line :

En ce moment:
0 membre
1 visiteur
67 visites aujourd’hui

Record visites :
22/10/26 : 182 visites
Record membres :
02/11/26 : 3 membres
Record simultané :
09/10/26 : 36 visiteurs
*

Aucun membre connecté

Nombre de visiteurs :

4 492 visiteurs
depuis le 12/09/2026

ajash00t

Pseudo :

Message :

centrer gras italic souligne lien img

Liens Web :

Newsletter :


Inscription
Désinscription

Poisson :

Mini-Stats :

fleche basForum : Masquer l’entête

Accès rapide :

 

Effectuer une Recherche avancée OU


fleche basPROBLEME INSTALL PORTAIL  [63 réponses]

puce Index du Forum  » test 2


Répondre


fleche bas

ΨWin
Administrateur
stars7.png


avatar
Hors ligne

Nombre de posts: 41 (0.82/Jour)
Inscrit(e) le: 17 septembre 2026
Imprimer Permalien samedi 10 octobre 2026 à 19:06  
dans dans install.php le fichier qui lance l'install

Tout en haut du fichier, juste après <?php, ajoute temporairement :

ini_set('display_errors', '1' smiley sg3bgg29g.gif ;
ini_set('display_startup_errors', '1' smiley sg3bgg29g.gif ;
error_reporting(E_ALL);


Enregistre puis recharge la page d'installation.
Si une erreur apparaît, copie-la ici intégralement.
Si la page reste blanche, ne modifie rien d'autre pour l'instant.

Attention : retire ces lignes de diagnostic après le test, car elles peuvent afficher des informations sensibles.
Si la page reste blanche, on cherchera ensuite dans les journaux PHP de PlanetHoster.
Édité 1 fois - Dernière édition: 10/10/2026 à 19:07 Par Win.



ΨMusicgroove
Administrateur
stars7.png


avatar
Hors ligne

Nombre de posts: 56 (1.04/Jour)
Inscrit(e) le: 13 septembre 2026
E-mail Anti-spam
Imprimer Permalien samedi 10 octobre 2026 à 19:20  
j'ai ça comme erreur sur une page blanche

Fatal error: Uncaught mysqli_sql_exception: Table 'vaszcfknyd_kwsphp.parametres' doesn't exist in /home/vaszcfknyd/public_html/kwsphp/includes/kwsql.php:213 Stack trace: #0 /home/vaszcfknyd/public_html/kwsphp/includes/kwsql.php(213): mysqli_query() #1 /home/vaszcfknyd/public_html/kwsphp/includes/kwsql.php(51): Kws_mysql_query() #2 /home/vaszcfknyd/public_html/kwsphp/install/install.php(672): reqmysql() #3 {main} thrown in /home/vaszcfknyd/public_html/kwsphp/includes/kwsql.php on line 213


ΨWin
Administrateur
stars7.png


avatar
Hors ligne

Nombre de posts: 41 (0.82/Jour)
Inscrit(e) le: 17 septembre 2026
Imprimer Permalien dimanche 11 octobre 2026 à 09:47  
ok bon indice dans install.php tu as


Citation :
//$_SESSION['install_type'] = 'all';

require_once '../includes/kwsql.php';
require_once '../includes/traitement_variable.php';

// Creation du fichier connect.php
$cc_result = $class_install->create_connect($host, $_POST['login'], $_POST['pass'], $_POST['bdd'], $port, $socket, $K_prefix);

// Si c'est bon, on installe les tables du moteur
if ($cc_result) // ($_SESSION['install_type'] == 'all' or $_SESSION['install_type'] == 'table' smiley sg3bgg29g.gif and
{
$install_sql_result = $class_install->querry_sql_file('install.sql', false);
}



tu remplaces par (édite pour copier)

Citation :
// Creation du fichier connect.php
$cc_result = $class_install->create_connect($host, $_POST['login'], $_POST['pass'], $_POST['bdd'], $port, $socket, $K_prefix);

// Si c'est bon, on installe les tables du moteur
if ($cc_result) // ($_SESSION['install_type'] == 'all' or $_SESSION['install_type'] == 'table' smiley sg3bgg29g.gif and
{


echo 'Dossier courant : '.getcwd().'<br>'; //test install Win
echo 'Fichier SQL : '.realpath('install.sql' smiley sg3bgg29g.gif .'<br>'; //test install Win


$install_sql_result = $class_install->querry_sql_file('install.sql', false);
}




Recharge l'installation et copie-moi les deux lignes affichées.
- Si le chemin du fichier SQL est correct, nous vérifierons ensuite pourquoi la création de parametres échoue.
- Si realpath() ne renvoie rien, nous aurons trouvé une piste sérieuse : le fichier est recherché au mauvais endroit.

si c'est trop compliqué donne moi tout ce qu'il faut pour que réalise l'install.

@+ Bon week end
Édité 1 fois - Dernière édition: 11/10/2026 à 09:48 Par Win.



ΨMusicgroove
Administrateur
stars7.png


avatar
Hors ligne

Nombre de posts: 56 (1.04/Jour)
Inscrit(e) le: 13 septembre 2026
E-mail Anti-spam
Imprimer Permalien dimanche 11 octobre 2026 à 11:48  
Bonjour Win j'ai ceci comme code



Citation :
Dossier courant : /home/vaszcfknyd/public_html/kwsphp/install
Fichier SQL : /home/vaszcfknyd/public_html/kwsphp/install/install.sql

Fatal error: Uncaught Error: Call to undefined function Kws_mysql_get_server_info() in /home/vaszcfknyd/public_html/kwsphp/includes/class.install.php:104 Stack trace: #0 /home/vaszcfknyd/public_html/kwsphp/install/install.php(386): install->querry_sql_file() #1 {main} thrown in /home/vaszcfknyd/public_html/kwsphp/includes/class.install.php on line 104




ΨWin
Administrateur
stars7.png


avatar
Hors ligne

Nombre de posts: 41 (0.82/Jour)
Inscrit(e) le: 17 septembre 2026
Imprimer Permalien dimanche 11 octobre 2026 à 14:04  
ok on avance
Ouvre le fichier :
/home/vaszcfknyd/public_html/kwsphp/includes/kwsql.php
Vérifie que tu retrouves bien cette fonction :


Citation :
function Kws_mysql_get_server_info(){
global $KwsConnectBdd;
return mysqli_get_server_info($KwsConnectBdd);
}

ligne201 si c'est le bon fichier bien à jour.

Si elle est absente, le fichier sur le serveur n'est pas à jour par rapport à celui de l'archive.
Si la fonction est présente
Dans install/install.php, juste après :


Citation :
require_once '../includes/kwsql.php';



ajoute temporairement :


Citation :
var_dump(function_exists('Kws_mysql_get_server_info' smiley sg3bgg29g.gif );
exit;



Relance l'installation sur PlanetHoster.
- bool(true) : la fonction est chargée ; nous chercherons pourquoi l'erreur apparaît malgré cela.
- bool(false) : le fichier chargé ne déclare pas cette fonction, ou son exécution s'interrompt avant sa déclaration.
Dis-moi simplement le résultat (true ou false).
PS:Pense à retirer ce test après vérification.

On est pas loin car je viens de tester en php 7 ça fonctionne comme en local.


ΨMusicgroove
Administrateur
stars7.png


avatar
Hors ligne

Nombre de posts: 56 (1.04/Jour)
Inscrit(e) le: 13 septembre 2026
E-mail Anti-spam
Imprimer Permalien dimanche 11 octobre 2026 à 15:34  
j'ai ceci qui s'affiche


Citation :

Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'vaszcfknyd'@'localhost' (using password: YES) in /home/vaszcfknyd/public_html/kwsphp/install/install.php:355 Stack trace: #0 /home/vaszcfknyd/public_html/kwsphp/install/install.php(355): mysqli_connect() #1 {main} thrown in /home/vaszcfknyd/public_html/kwsphp/install/install.php on line 355




j'ai refait le fichier install avec les ligne tu m'as donné voici l'erreur


Citation :
Dossier courant : /home/vaszcfknyd/public_html/kwsphp/install
Fichier SQL : /home/vaszcfknyd/public_html/kwsphp/install/install.sql

Fatal error: Uncaught Error: Call to undefined function Kws_mysql_get_server_info() in /home/vaszcfknyd/public_html/kwsphp/includes/class.install.php:104 Stack trace: #0 /home/vaszcfknyd/public_html/kwsphp/install/install.php(386): install->querry_sql_file() #1 {main} thrown in /home/vaszcfknyd/public_html/kwsphp/includes/class.install.php on line 104




je recommence une nouvelle install propre sur mon serveur avec seulement un site pour voir avec tes modification je te tiens au courant si c'est bon ou pas smiley sg3bgg29g.gif


ΨWin
Administrateur
stars7.png


avatar
Hors ligne

Nombre de posts: 41 (0.82/Jour)
Inscrit(e) le: 17 septembre 2026
Imprimer Permalien dimanche 11 octobre 2026 à 15:59  
ok du coup
Citation :
echo '<pre>';
var_dump(function_exists('Kws_mysql_get_server_info' smiley sg3bgg29g.gif );
echo '</pre>';
exit;



A la place de ce que tu avais ajouté avant c'est a dire

Citation :
function Kws_mysql_get_server_info(){
global $KwsConnectBdd;
return mysqli_get_server_info($KwsConnectBdd);
}


bool(true) : la fonction est chargée. Nous chercherons pourquoi l'erreur apparaît ensuite.
bool(false) : la fonction n'est pas déclarée au moment du test. Nous vérifierons le fichier réellement chargé et son contenu.
les modifs que je te donne sont simplement des tests pour voir a quel moment ça coince.
Édité 1 fois - Dernière édition: 11/10/2026 à 16:01 Par Win.



ΨMusicgroove
Administrateur
stars7.png


avatar
Hors ligne

Nombre de posts: 56 (1.04/Jour)
Inscrit(e) le: 13 septembre 2026
E-mail Anti-spam
Imprimer Permalien dimanche 11 octobre 2026 à 18:24  
j'ai ceci sur l'install sans aucune base de données les tables s'installe pas


Citation :
Dossier courant : /home/vaszcfknyd/public_html/install
Fichier SQL : /home/vaszcfknyd/public_html/install/install.sql




ΨWin
Administrateur
stars7.png


avatar
Hors ligne

Nombre de posts: 41 (0.82/Jour)
Inscrit(e) le: 17 septembre 2026
Imprimer Permalien dimanche 11 octobre 2026 à 19:34  
Bon alors ça y est je pense qu'on est bon je viens de réaliser une install en Version de PHP : 8.1.34 sur planethoster.

Effectivement il y avait un problème qui ne se présentait pas en local. le site s'installait en http:// du coup comme planethoster était en https:// ça foutait le bordel.

J'ai modifié l'install je t'ai mis le dossier sur le FTP de pwsph, maintenant il détecte si le serveur est en http ou https.
l'install c'est bien passé.la validation avant envoi tout passe bien au vert.

Tiens moi au courant. bonne soirée, elle m'aura pris du temps celle là ^^

le résultat https://as-cnmss.yo.fr/


ΨMusicgroove
Administrateur
stars7.png


avatar
Hors ligne

Nombre de posts: 56 (1.04/Jour)
Inscrit(e) le: 13 septembre 2026
E-mail Anti-spam
Imprimer Permalien dimanche 11 octobre 2026 à 21:54  
Bon bonne nouvelle ça marche mais sans le prefix kws_ j'ai laissé vide et ça fonctionne smiley sg3bgg29g.gif


ΨWin
Administrateur
stars7.png


avatar
Hors ligne

Nombre de posts: 41 (0.82/Jour)
Inscrit(e) le: 17 septembre 2026
Imprimer Permalien lundi 12 octobre 2026 à 09:58  
salut je n'ai jamais mis le préfixe, je vais voir il y a peut être une erreur dans l'install quand on le met.
je regarde cela ce soir smiley s8g29g.gif


fleche basPROBLEME INSTALL PORTAIL  [63 réponses]

Répondre



puce Index du Forum  » test 2