Problem mit Umlauten bei Fragen

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
marr
Posts: 3
Joined: Wed Jul 19, 2006 9:00 am

Problem mit Umlauten bei Fragen

Post by marr »

Ich habe folgendes Problem:

Wenn in einem Fragentext Umlaute enthalten sind, kommt beim abschicken die Fehlermeldung, das alle Felder ausgefüllt werden sollen.

Wenn keine Umlaute im Text enthalten sind, funktioniert alles hervoragend.

Ich vermute, das irgend etwas im PHP oder im Apache noch falsch konfiguriert ist.

PHP Version: 5.2.0
Apache Version: 2.2.3
MySQL Version: 5.0.22
Betriebssystem: Windows 2003 Standard

Hat einer eine Idee???
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo »

Hi,
we already fixed this issue (see past forum posts) in PMF 1.6.7: which version of PMF are you running?

Ciao,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
marr
Posts: 3
Joined: Wed Jul 19, 2006 9:00 am

Post by marr »

Wir setzen die Version 1.6.6 ein.
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo »

Hi,
marr wrote:Wir setzen die Version 1.6.6 ein.
please, update it to 1.6.7: your issue has been already fixed.

Ciao,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
marr
Posts: 3
Joined: Wed Jul 19, 2006 9:00 am

Post by marr »

Habe nun auf die Version 1.6.7 aktualisiert, leider aber weiterhin keinen Erfolg gehabt.
Bekomme immer noch die Meldung über Pflichtfelder, wenn ein Umlaut im Text vorkommt.

Ich vermute immer noch eine fehlerhafte Konfiguration des Webservers oder des PHPs.

Ãœbrigens meldet sich die Version 1.6.7 mit der Versionsnummer 1.6.8.
Johannes
Posts: 7
Joined: Mon Jun 05, 2006 10:19 pm

Post by Johannes »

Hallo marr,

um das Problem zu lokalisieren wäre es gut wenn du das folgende Skript als test_umlaut.php in das phpMyFAQ-Verzeichnis speicherst und dann per Browser aufrufst.

In der Ausgabe sollte dann zweimal der eingegebene Text, sowie ein paar zusätzliche Informationen, stehen.

Code: Select all

<?php
print('<pre>"');
var_dump($_POST);
print('</pre>"');

require_once('inc/init.php');
PMF_Init::cleanRequest();

error_reporting(E_ALL);
if (isset($_POST['content'])) {
  print('<pre>"');
  print($_POST['content']);
  print('"</pre>');
} else {
    $content = 'ü';
?>
<html>
  <body>
    <form method="post">
      <textarea name="content" id="content" rows="10" cols="84"><?php 
print($content); ?></textarea><br />
      <input type="submit" />
    </form>
  </body>
</html>
<?php
}
?>
Danke,
johannes
Post Reply