Autor Beitrag
mbulm
Hält's aus hier
Beiträge: 8



BeitragVerfasst: Mo 11.02.08 08:58 
hallo ...

ich habe ein problem mit ajax bei einem einfachen datenbank-beispiel:

auf dem entwicklungsrechner läuft alles ... dort habe ich php 5.2.1 und mysql 5.0.37 im einsatz!

auf meinem echten web-server kommt folgende fehlermeldung ...

"Error: the XML response that was returned from the server is invalid."

es wird verwiesen auf die zeile 444 in der datei system.inc.php ... dort steht folgendes im zusammenhang ...

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
       * Returns the input filtered as a string
        * @return string
        */
        function asString()
        {
                global $filter_func;
                //Filter this out
                if ($this->filter_extension)
                {
                        return $filter_func($this->stream[$this->name],FILTER_SANITIZE_STRING);
                }
                else
                {
(zeile 444 -->)                        return $this->filter->process($this->stream[$this->name]);
                }
        }

siehe auch hardcopies in der word-datei anbei!

auf meinem webserver läuft php 5.0.3 und mysql 6.0.2 alpha.

kann mir jemand sagen ... wo das problem liegen könnte?
liegt es event. an einstellungen in der php.ini?

vielen dank vorab!

gruss mbulm
Einloggen, um Attachments anzusehen!
Heiko
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Di 12.02.08 20:29 
Hallo,

probier mal es lokal mit php5.0.3 aus. Vlt. nutzt Borland da etwas, was erst mit späteren Versionen reinkam. Falls der Fehler lokal reproduzierbar ist, kannste ja mal durchdebuggen, an welcher Stelle es da genau klemmt ;).

Gruß
Heiko
Christian V.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 311

Win Xp Prof
Turbo Delphi 2005
BeitragVerfasst: Mi 13.02.08 00:10 
Titel: Re: delphi4php - probleme mit ajax bei datenbank-beispiel ..
Ich kenne Delphi4PHP ja nicht, aber dies hier könnte der Fehler sein:
user profile iconmbulm hat folgendes geschrieben:
mysql 6.0.2 alpha

Installier mal besser eine stable-Version von MySQL.

Moderiert von user profile iconKlabautermann: Quote-Tag korrigiert.

_________________
Hardware runs the world, software controls the hardware, code generates software - Have You already coded today?