RPM LAMP mal paramétré. [Réglé]

thierryR Membre non connecté
-
- Voir le profil du membre thierryR
- Inscrit le : 02/02/2010
- Site internet
J'ai eu 2 erreurs en réinstallant mes tables mysql.
La 1ere: fopen() ne sait plus ouvrir un fichier.
Résolu par un changement dans host.
La 2e dont je ne vois pas le bout....
A chaque lecture d'une table:
Citation :
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE = MYISAM CHARACTER SET utf8 COLLATE utf8_unicode_ci' at line 5
Le problème est que ce n'est pas moi qui ai généré cette erreur. Ce pourrait être un paramêtre dans phpin mais je ne trouve rien.
J'ai cherché dans httpd.conf. J'ai même remis un
Citation :
AddDefaultCharset ISO-8859-1
mais rien n'y fait.
Si je ne trouve pas rapidement une solution, je repars chez mandriva, car cette 2e erreur n'existe pas chez eux.
J'aime bien mageia mais encore faut-il que ça ne me bloque pas mon travail.....
débusqueur de bugs et chercheur en améliorations
Amicalement vôtre.
Kernel: 4.4.92-desktop-1.mga5 x86_64 (64 bit) Desktop: KDE 4.14.35 Distro: Mageia 5 thornicroft
Machine: Mobo: ASUSTeK model: X751SA v: 1.0 Bios: American Megatrends v: X751SA.403
CPU: Quad core Intel Pentium N3710 (-MCP-) cache: 1024 KB Graphics: Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller

Kernel: 4.4.92-desktop-1.mga5 x86_64 (64 bit) Desktop: KDE 4.14.35 Distro: Mageia 5 thornicroft
Machine: Mobo: ASUSTeK model: X751SA v: 1.0 Bios: American Megatrends v: X751SA.403
CPU: Quad core Intel Pentium N3710 (-MCP-) cache: 1024 KB Graphics: Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller

Enzolyte Membre non connecté
-
- Voir le profil du membre Enzolyte
- Inscrit le : 28/04/2008
- Groupes :
Pour ton problème, je peux t'inviter à l'exposer sur le canal irc, serveur Freenode #mageia-fr ou je pense on pourra mieux te répondre

Quelqu'un aurait une piste ?

"Profites de l'instant présent car hier n'est plus et demain ne viendra peut-être jamais."

thierryR Membre non connecté
-
- Voir le profil du membre thierryR
- Inscrit le : 02/02/2010
- Site internet
Pour un fork c'est fort

Je peux ainsi continuer à travailler mais je ne désarme pas de la mageia. Quand la solution sera trouvée, j'y retourne. D'ailleurs mes autres PC y restent.
débusqueur de bugs et chercheur en améliorations
Amicalement vôtre.
Kernel: 4.4.92-desktop-1.mga5 x86_64 (64 bit) Desktop: KDE 4.14.35 Distro: Mageia 5 thornicroft
Machine: Mobo: ASUSTeK model: X751SA v: 1.0 Bios: American Megatrends v: X751SA.403
CPU: Quad core Intel Pentium N3710 (-MCP-) cache: 1024 KB Graphics: Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller

Kernel: 4.4.92-desktop-1.mga5 x86_64 (64 bit) Desktop: KDE 4.14.35 Distro: Mageia 5 thornicroft
Machine: Mobo: ASUSTeK model: X751SA v: 1.0 Bios: American Megatrends v: X751SA.403
CPU: Quad core Intel Pentium N3710 (-MCP-) cache: 1024 KB Graphics: Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller

thierryR Membre non connecté
-
- Voir le profil du membre thierryR
- Inscrit le : 02/02/2010
- Site internet
On a constaté que phpmyadmin fonctionne bien.
Que mysql fonctionne bien en console.
Mais si par un script PHP je demande:
Citation :
SELECT * FROM client
J'ai en réponse ce que j'ai marque en tête de ce fil:
Citation :
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE = MYISAM CHARACTER SET utf8 COLLATE utf8_unicode_ci' at line 5
Cette réponse n'est pas juste car TYPE = MYISAM est obsolète, et je ne sais pas d'où elle sort.
Ce problème est maintenant porté aussi sur la 2011 de Mandriva. Je résouds mon problème provisoirement en downloadant mon autre PC et ainsi en restant sur la 2010.2.
D'après ce que je constate le problème viendrait plutôt du serveur apache car sans lui, ça roule .
Ne pouvant poursuivre sur le canal IRC pour des questions de temps, je complète ici ce fil en espérant un jour trouver une vraie réponse.
Merci à tous ceux qui m'aideront.
débusqueur de bugs et chercheur en améliorations
Amicalement vôtre.
Kernel: 4.4.92-desktop-1.mga5 x86_64 (64 bit) Desktop: KDE 4.14.35 Distro: Mageia 5 thornicroft
Machine: Mobo: ASUSTeK model: X751SA v: 1.0 Bios: American Megatrends v: X751SA.403
CPU: Quad core Intel Pentium N3710 (-MCP-) cache: 1024 KB Graphics: Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller

Kernel: 4.4.92-desktop-1.mga5 x86_64 (64 bit) Desktop: KDE 4.14.35 Distro: Mageia 5 thornicroft
Machine: Mobo: ASUSTeK model: X751SA v: 1.0 Bios: American Megatrends v: X751SA.403
CPU: Quad core Intel Pentium N3710 (-MCP-) cache: 1024 KB Graphics: Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller

thierryR Membre non connecté
-
- Voir le profil du membre thierryR
- Inscrit le : 02/02/2010
- Site internet
TYPE = MyISAM est maintenant interdit. Ça crée une erreur... C'est seulement avec la version de maintenant.
Merci aux Mandrivistes.
débusqueur de bugs et chercheur en améliorations
Amicalement vôtre.
Kernel: 4.4.92-desktop-1.mga5 x86_64 (64 bit) Desktop: KDE 4.14.35 Distro: Mageia 5 thornicroft
Machine: Mobo: ASUSTeK model: X751SA v: 1.0 Bios: American Megatrends v: X751SA.403
CPU: Quad core Intel Pentium N3710 (-MCP-) cache: 1024 KB Graphics: Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller

Kernel: 4.4.92-desktop-1.mga5 x86_64 (64 bit) Desktop: KDE 4.14.35 Distro: Mageia 5 thornicroft
Machine: Mobo: ASUSTeK model: X751SA v: 1.0 Bios: American Megatrends v: X751SA.403
CPU: Quad core Intel Pentium N3710 (-MCP-) cache: 1024 KB Graphics: Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie