[PHP-DEV] Re: Problem with XSLT Sablotron - Bug ?
As I've been told, I posted the files on my website: http://www.marke-egal.de/xsltprob/ I'm sorry: this server's has no XSLT-Support, so this site is only good for downloading the files ... :) Dirk Dirk Schwier [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hy NG, I get under some circumstances an Sablotron Error: XML parser error 3: no element found - this Error occurs only, when I put a lot of Text into an CDATA-Section. I Put a sample script beyond, maybe somone can tell me, if there is a wokaround or if it is a bug (this is, what I guess). I tried different php versions (4.2.3, 4.3.0dev, 4.3.0.-pre1, etc.) at the moment I use Sablotron 0.96.1. These are the sample scripts: An XML-Datei (test.xml) ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE navigation [ !ENTITY module1 SYSTEM test2.xml ] navigation module1; /navigation and test2.xml. the entity: ?xml version=1.0 encoding=iso-8859-1? test ![CDATA[ sdfgsdfgjsödfkjgsödlkfjgsödkfjgsödfkgjsödkfgjsödkfgjsödkfgjsödlkfjgsödfgsdfg gslkdjfgsödlkfjgöslkdjgösldkgjsödlkfgjsödklfgjsödlkfgjsödkfgjsöd flkgjsödkfgjsödklfgjsödlkfgjsödlkfgjsödlkfgjsödlkfgjsödlkfgjsödklfgjösdklfgj södklfgjsödklfgjsödkfgjösdkfgjsödfkgjsödfkgjsödfkgjsödfgsdfgsjdöfgksjödfkgjs ödlfkgjsödlkfjgsödlkfgjsödkfjgösdklfgjösdkfjgösdkfgjösdlkfgjsödlkfgjsödlkfjg öskldfgjöslkjgölkwejrtkwejrtwejrtkjweörkltjweörkltjwöekrtjwöerlktjwöerkltjwö ekrltjwöelkrtjwöeklrjtwöelkrtjweölrktjwöelrktjwöelkrjtwöekrtjwöekrjtöwerktjw öerkjtöweklrtjwkerjtöwkerjtöwlkerjtöwklerjtöwlkerjtöweklrjtöwklerjtöwekrtjöw elkrtjöwkelrjtöwkerjtöwlkerjtöweklrtjöweklrjtöwekrjtöwerktjwöekrtjwöekrjtöwe lkrjtwöekrtjöwekrtjöwelkrjtwökelrtöwekrtjöwkelrjtölwkerjtwlökerjtwölekrjtwöl ekrjtlwöekrjtlwöekrjlketjlkjklrjlkjkjrkjlkröjlkrjklrejlkrejlkrtjlktrjlktrkjl trjlktrkljkltrjlktrjkltrkjlötrewrjlkewjlkrewjklrejlktrwkjlrkjlörwejklörewjkl trjöewrjlökerkwrelökwrjkleöw [... snipp ca. 240 columns with same content ...] ]] /test (for the test you have to the 240 cols into the script ...) and test.xslt: [... snipp ...] xsl:template match=navigation xsl:value-of select=./ /xsl:template [... snipp ...] this is the parsing script (test.php): if( !$result = @xslt_process( $parser, // resource xh test.xml, // string xml test.xslt, // string xslt $html, // string result array(), // array arguments array() // array parameters ) ) { printf( Sablotron Error (%s): br /strong%s/strong, xslt_errno($parser), xslt_error($parser) ); } xslt_free($parser); echo $result; echo $html; after that I get the error. If I delete some content in the test2.xml I get no error. So I hope, that someone can help me. :) Dirk Schwier. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Problem with XSLT Sablotron - Bug ?
Hy NG, I get under some circumstances an Sablotron Error: XML parser error 3: no element found - this Error occurs only, when I put a lot of Text into an CDATA-Section. I Put a sample script beyond, maybe somone can tell me, if there is a wokaround or if it is a bug (this is, what I guess). I tried different php versions (4.2.3, 4.3.0dev, 4.3.0.-pre1, etc.) at the moment I use Sablotron 0.96.1. These are the sample scripts: An XML-Datei (test.xml) ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE navigation [ !ENTITY module1 SYSTEM test2.xml ] navigation module1; /navigation and test2.xml. the entity: ?xml version=1.0 encoding=iso-8859-1? test ![CDATA[ sdfgsdfgjsödfkjgsödlkfjgsödkfjgsödfkgjsödkfgjsödkfgjsödkfgjsödlkfjgsödfgsdfg gslkdjfgsödlkfjgöslkdjgösldkgjsödlkfgjsödklfgjsödlkfgjsödkfgjsöd flkgjsödkfgjsödklfgjsödlkfgjsödlkfgjsödlkfgjsödlkfgjsödlkfgjsödklfgjösdklfgj södklfgjsödklfgjsödkfgjösdkfgjsödfkgjsödfkgjsödfkgjsödfgsdfgsjdöfgksjödfkgjs ödlfkgjsödlkfjgsödlkfgjsödkfjgösdklfgjösdkfjgösdkfgjösdlkfgjsödlkfgjsödlkfjg öskldfgjöslkjgölkwejrtkwejrtwejrtkjweörkltjweörkltjwöekrtjwöerlktjwöerkltjwö ekrltjwöelkrtjwöeklrjtwöelkrtjweölrktjwöelrktjwöelkrjtwöekrtjwöekrjtöwerktjw öerkjtöweklrtjwkerjtöwkerjtöwlkerjtöwklerjtöwlkerjtöweklrjtöwklerjtöwekrtjöw elkrtjöwkelrjtöwkerjtöwlkerjtöweklrtjöweklrjtöwekrjtöwerktjwöekrtjwöekrjtöwe lkrjtwöekrtjöwekrtjöwelkrjtwökelrtöwekrtjöwkelrjtölwkerjtwlökerjtwölekrjtwöl ekrjtlwöekrjtlwöekrjlketjlkjklrjlkjkjrkjlkröjlkrjklrejlkrejlkrtjlktrjlktrkjl trjlktrkljkltrjlktrjkltrkjlötrewrjlkewjlkrewjklrejlktrwkjlrkjlörwejklörewjkl trjöewrjlökerkwrelökwrjkleöw [... snipp ca. 240 columns with same content ...] ]] /test (for the test you have to the 240 cols into the script ...) and test.xslt: [... snipp ...] xsl:template match=navigation xsl:value-of select=./ /xsl:template [... snipp ...] this is the parsing script (test.php): if( !$result = xslt_process( $parser, // resource xh test.xml, // string xml test.xslt, // string xslt $html, // string result array(), // array arguments array() // array parameters ) ) { printf( Sablotron Error (%s): br /strong%s/strong, xslt_errno($parser), xslt_error($parser) ); } xslt_free($parser); echo $result; echo $html; after that I get the error. If I delete some content in the test2.xml I get no error. So I hope, that someone can help me. :) Dirk Schwier. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Problem with XSLT Sablotron - Bug ?
Quite a fast answer, thank's for the first. O.k. I tried it from the command line: sabcmd xslt_menu.xslt test.xml test_sab.html -L sab.log all working well, this is the result of the log-file: Parsing 'file:/usr/local/httpd/htdocs/projects_at_work/modules/xslt_menu.xslt'.. Parse done in 0.003 seconds Parsing 'file:/usr/local/httpd/htdocs/projects_at_work/modules/test.xml'... Parsing an external entity from 'test2.xml' Parse done in 0.141 seconds Executing stylesheet 'file:/usr/local/httpd/htdocs/projects_at_work/modules/xslt Execution done in 1.280 seconds seems, as if we have a PHP problem - should I report this anywhere or what is the correct workflow now ? :) Dirk -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Bug #15360: The Function ImageCreateFromPNG lose some colors
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.1.1 PHP Bug Type: GD related Bug description: The Function ImageCreateFromPNG lose some colors Hello, i get a png image whith more than 16 color whith the function ImageCreateFromPNG and i send it to the Browser. If i compare the color from the original and from the Picture on browser i see the first 16 color correctly but the next colors behind are a repeating colorset. ( i think this are the default color from the gd lib). thanks dirk -- Edit bug report at http://bugs.php.net/?id=15360edit=1 -- Fixed in CVS:http://bugs.php.net/fix.php?id=15360r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=15360r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15360r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15360r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15360r=support Expected behavior: http://bugs.php.net/fix.php?id=15360r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15360r=notenoughinfo -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] CVS Account Request: dwestfal
to help with the german translation of the php docu by translating parts, doing spell- and grammar checking... -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #11323 Updated: thttpd+php4 upload bug with post-method
ID: 11323 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Other web server Operating System: FreeBSD3.2 PHP Version: 4.0 Latest CVS (2001-06-06) New Comment: Yes the same error, sorry... I am fear its thttpd, because there are no problems with Apache. Greetings, Dirk Brueggen -- Btw., what Operating-System do you use? ,-)) tar xzvf php4-200108200135.tar.gz cd php4-200108200135 ./configure --with-thttpd=../thttpd-2.21b/ --enable-wddx --enable-shared=no --enable-short-tags --without-mysql --without-pcre-regex make install --- out: ... + /usr/downloads/php4-200108200135/build/shtool install -c -m 644 /usr/downloads/php4-200108200135/pear/Log/observer.php /usr/local/lib/php/Log/ cp: /usr/downloads/php4-200108200135/pear/Log/observer.php: No such file or directory *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. Easyest Solution: cp or mv php4-200108200135/pear/Log/Observer.php php4-200108200135/pear/Log/observer.php OOOooohhh ,-)) Greetings, Dirk Brüggen. Previous Comments: [2001-08-19 04:02:45] [EMAIL PROTECTED] Does this happen with latest CVS snapshot: http://snaps.php.net/ [2001-06-06 17:01:52] [EMAIL PROTECTED] Hello, on my(our) system(s), html-fileupload does not work with php4 and thttpd. It is not to see if it is a bug in php4 or in thttpd. I tested it with various versions of Php and Thttpd (see below). Sometime it works with the same php-scipts, but only with files under 600bytes and only with stunnel. The same scripts are running with Apache without errors. There are 2 kinds of error-syndromes: 1. The temp-file ($userfile, in my example below) and size ($userfile_size) does not exists, the variables are not generated=empty, but the file-name ($userfile_name) and mime-type ($userfile_type) are fine. This happened, if the upload-file was under 600bytes. 2. With bigger files, Netscape shows a network error: Broken pipe Anybody know the problem and can help me?? Maybe not enough stacksize? Resource limits (current): cputime infinity secs filesize infinity kb datasize 524288 kb stacksize 65536 kb coredumpsize infinity kb memoryuseinfinity kb memorylocked infinity kb maxprocesses 531 openfiles1064 Best regards, Dirk Brueggen --- Testet on Systems: FreeBSD 3.2 PHP4.0.6-dev Thttpd2.20bstunnel3.11 (works with small FreeBSD 3.2 PHP4.0.3pl1Thttpd2.20b files) FreeBSD 3.2 PHP4.0.5 Thttpd2.21 FreeBSD 3.2 PHP4.0.6-dev Thttpd2.19 FreeBSD 3.0 PHP4.0.3pl1Apache(Works fine!) --- Build with, one example: tar xzvf php4-latest_tar.tar tar xzvf thttpd-2.21.tar.gz cd php4-200104170045 ./configure --with-thttpd=../thttpd-2.21 or ./configure --with-thttpd=../thttpd-2.21 --enable-wddx or ./configure --with-thttpd=../thttpd-2.21 \ --enable-wddx --enable-shared=no \ --with-config-file-path=/usr/local/lib \ --enable-short-tags --without-mysql \ --without-pcre-regex make install cd ../thttpd-2.21 ./configure make make install -- I tested various php-settings, for example: max_execution_time=34 memory_limit=120 post_max_size=500 upload_tmp_dir=incoming/ upload_max_filesize=5000 -- Only for testing, I have siplified the php-scripts: uploadtest9.html - HTML HEAD TITLEUploadTest php4 V9.1/TITLE !-- Created by: Dirk Brueggen, 6.06.2001 -- BODY bgcolor=#e0e0e0 text=#00 link=#00b0ff vlink=#e1 alink=#8f BRBR H3Upload Test V9.1/H3 FORM ENCTYPE=multipart/form-data ACTION=uploadtest9.php METHOD=POST INPUT TYPE=hidden NAME=MAX_FILE_SIZE VALUE=100 Datei: INPUT NAME=userfile TYPE=file SIZE=50 BR INPUT TYPE=submit VALUE=File Senden /FORM /BODY /HTML -- uploadtest9.php --- HTML HEAD TITLEUploadTest php4 V9.1/TITLE !-- Created by: Dirk Brueggen, 6.06.2001 -- BODY bgcolor=e0e0e0 text=#00 link=#00b0ff vlink=#e1 alink=#8f BRBR HR H3Ergebniss/H3BR ?php set_time_limit(600); echo Tmp-File: $userfile BR; echo Original-Datei: $userfile_name BR; echo Groesse: $userfile_size BR; echo Mime: $userfile_type BR; $path1 = incoming/.$userfile_name; echo BRZiel: $path1 BR; copy($userfile,$path1); ? /BODY /HTML --- Edit this bug report at http://bugs.php.net/?id=11323edit=1 -- PHP Development Mailing List http://www.php.net
[PHP-DEV] PHP 4.0 Bug #9541 Updated: New Feature Patch
ID: 9541 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: PostgreSQL related Description: New Feature Patch Is this going to make it into 4.0.5? Previous Comments: --- [2001-03-04 01:16:57] [EMAIL PROTECTED] Hi - I ran into the problem that the notices that are sent from the postgres backend are being ignored by php. Most of the time this doesn't matter, but it would be nice to be able to profile an application by running explains (which show sql cost) on every sql statement that is executed that way you can find where your problems are as you develop the software. Below is a patch to add this php4 (Although I don't have a cvs I account - I did built it against the 200103031945 snap shot so it should be easy to integrate into the source tree) Can you please add this before the next release :) new php function - I wasn't sure how to document this in the code so here is is in the bug report pg_last_notice(int connection) returns either an empty string or the contents of the last notice sent out by the database. This can be useful to get the output from the explain command. see patch below --- php4-200103031945/ext/pgsql/pgsql.c Mon Feb 26 00:45:27 2001 +++ php4-200103031945/ext/pgsql/pgsql.c.notice Sat Mar 3 23:40:55 2001 @@ -46,6 +46,7 @@ PHP_FE(pg_pconnect, NULL) PHP_FE(pg_close,NULL) PHP_FE(pg_cmdtuples,NULL) + PHP_FE(pg_last_notice, NULL) PHP_FE(pg_dbname, NULL) PHP_FE(pg_errormessage, NULL) PHP_FE(pg_trace,NULL) @@ -146,12 +147,31 @@ PQfinish(link); PGG(num_persistent)--; PGG(num_links)--; + if (PGG(last_notice) != NULL) + { + efree(PGG(last_notice)); + } } +/* This function is used to silence the notice messages sent by the postgres back +end. This can be useful when you know you are going to trigger a notice and don't +care + */ static void _be_quiet(void * arg, const char * message) { } +/*This function is used to store the last notice for later retreval + */ +static void _store_notice(void * arg, const char * message) +{ + char *copy_of_message = NULL; + + if (PGG(last_notice) != NULL) + { + efree(PGG(last_notice)); + } + PGG(last_notice) = estrdup(message); +} + static int _rollback_transactions(zend_rsrc_list_entry *rsrc) { PGconn *link = (PGconn *)rsrc-ptr; @@ -194,6 +214,7 @@ static void php_pgsql_init_globals(PGLS_D) { PGG(num_persistent) = 0; + PGG(last_notice) = NULL; } PHP_MINIT_FUNCTION(pgsql) @@ -465,6 +486,9 @@ } efree(hashed_details); php_pgsql_set_default_link(return_value-value.lval); + /* Set the notice handler so we can keep notices for later*/ + PQsetNoticeProcessor(pgsql, _store_notice, NULL); + } @@ -854,6 +878,20 @@ } /* }}} */ +/* {{{ proto int pg_last_notice(int connection) + Returns the last notice set by the backend */ +PHP_FUNCTION(pg_last_notice) +{ + if (PGG(last_notice) == NULL) + { + RETURN_FALSE; + } + else + { + RETURN_STRING(PGG(last_notice),0); + } +} +/* }}} */ char *get_field_name(PGconn *pgsql, Oid oid, HashTable *list) { --- php4-200103031945/ext/pgsql/php_pgsql.h Mon Feb 26 00:45:27 2001 +++ php4-200103031945/ext/pgsql/php_pgsql.h.notice Sat Mar 3 23:40:55 2001 @@ -64,6 +64,7 @@ PHP_FUNCTION(pg_numrows); PHP_FUNCTION(pg_numfields); PHP_FUNCTION(pg_cmdtuples); +PHP_FUNCTION(pg_last_notice); PHP_FUNCTION(pg_fieldname); PHP_FUNCTION(pg_fieldsize); PHP_FUNCTION(pg_fieldtype); @@ -119,6 +120,7 @@ long max_links,max_persistent; long allow_persistent; int le_lofp,le_string; + char *last_notice; } php_pgsql_globals; --- Full Bug description available at: http://bugs.php.net/?id=9541 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9541: New Feature Patch
From: [EMAIL PROTECTED] Operating system: RedHat 6.2 PHP version: 4.0.4pl1 PHP Bug Type: PostgreSQL related Bug description: New Feature Patch Hi - I ran into the problem that the notices that are sent from the postgres backend are being ignored by php. Most of the time this doesn't matter, but it would be nice to be able to profile an application by running explains (which show sql cost) on every sql statement that is executed that way you can find where your problems are as you develop the software. Below is a patch to add this php4 (Although I don't have a cvs I account - I did built it against the 200103031945 snap shot so it should be easy to integrate into the source tree) Can you please add this before the next release :) new php function - I wasn't sure how to document this in the code so here is is in the bug report pg_last_notice(int connection) returns either an empty string or the contents of the last notice sent out by the database. This can be useful to get the output from the explain command. see patch below --- php4-200103031945/ext/pgsql/pgsql.c Mon Feb 26 00:45:27 2001 +++ php4-200103031945/ext/pgsql/pgsql.c.notice Sat Mar 3 23:40:55 2001 @@ -46,6 +46,7 @@ PHP_FE(pg_pconnect, NULL) PHP_FE(pg_close,NULL) PHP_FE(pg_cmdtuples,NULL) + PHP_FE(pg_last_notice, NULL) PHP_FE(pg_dbname, NULL) PHP_FE(pg_errormessage, NULL) PHP_FE(pg_trace,NULL) @@ -146,12 +147,31 @@ PQfinish(link); PGG(num_persistent)--; PGG(num_links)--; + if (PGG(last_notice) != NULL) + { + efree(PGG(last_notice)); + } } +/* This function is used to silence the notice messages sent by the postgres back +end. This can be useful when you know you are going to trigger a notice and don't +care + */ static void _be_quiet(void * arg, const char * message) { } +/*This function is used to store the last notice for later retreval + */ +static void _store_notice(void * arg, const char * message) +{ + char *copy_of_message = NULL; + + if (PGG(last_notice) != NULL) + { + efree(PGG(last_notice)); + } + PGG(last_notice) = estrdup(message); +} + static int _rollback_transactions(zend_rsrc_list_entry *rsrc) { PGconn *link = (PGconn *)rsrc-ptr; @@ -194,6 +214,7 @@ static void php_pgsql_init_globals(PGLS_D) { PGG(num_persistent) = 0; + PGG(last_notice) = NULL; } PHP_MINIT_FUNCTION(pgsql) @@ -465,6 +486,9 @@ } efree(hashed_details); php_pgsql_set_default_link(return_value-value.lval); + /* Set the notice handler so we can keep notices for later*/ + PQsetNoticeProcessor(pgsql, _store_notice, NULL); + } @@ -854,6 +878,20 @@ } /* }}} */ +/* {{{ proto int pg_last_notice(int connection) + Returns the last notice set by the backend */ +PHP_FUNCTION(pg_last_notice) +{ + if (PGG(last_notice) == NULL) + { + RETURN_FALSE; + } + else + { + RETURN_STRING(PGG(last_notice),0); + } +} +/* }}} */ char *get_field_name(PGconn *pgsql, Oid oid, HashTable *list) { --- php4-200103031945/ext/pgsql/php_pgsql.h Mon Feb 26 00:45:27 2001 +++ php4-200103031945/ext/pgsql/php_pgsql.h.notice Sat Mar 3 23:40:55 2001 @@ -64,6 +64,7 @@ PHP_FUNCTION(pg_numrows); PHP_FUNCTION(pg_numfields); PHP_FUNCTION(pg_cmdtuples); +PHP_FUNCTION(pg_last_notice); PHP_FUNCTION(pg_fieldname); PHP_FUNCTION(pg_fieldsize); PHP_FUNCTION(pg_fieldtype); @@ -119,6 +120,7 @@ long max_links,max_persistent; long allow_persistent; int le_lofp,le_string; + char *last_notice; } php_pgsql_globals; -- Edit Bug report at: http://bugs.php.net/?id=9541edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9513: totaler absturz
From: [EMAIL PROTECTED] Operating system: windows 2000 PHP version: 4.0.4pl1 PHP Bug Type: Unknown/Other Function Bug description: totaler absturz bei diesem Code-fragment fehlt noch ein "}"-Zeichen, erganze ich dieses an der markierten stelle, stürzt das ganze programm ab. Ich benutze die Version PHP Coder PR2 Beta hier das Fragment: __ if (!$masch_id==0) { $anfrage_masch='select Ansprech_Anbieter, Kurzbezeichnung_D, Anbieternummer , Kurzbezeichnung_E,Beschreibung_D, Beschreibung_E,Hersteller,Abmessung, Menge,Besichtigung,Zustand,Druckformat, Standort_firma,Standort_name, Standort_adresse,Standort_Land, Verfuegbarkeit,Ablaufdatum, Preis_Angebot, Preis_aktuell, Freischaltdatum,Bilder from maschinendaten where laufende_nr="'.$masch_id.'"'; $result_masch=mysql_query($anfrage_masch)or die('fehler maschine'); $row = mysql_fetch_array($result_masch); if ($row["Anbieternummer"]==$user_id) { $ansprech_anb=$row['Ansprech_Anbieter']; $kurz_d=$row['Kurzbezeichnung_D']; $kurz_e=$row['Kurzbezeichnung_E']; $beschr_d=$row['Beschreibung_D']; $beschr_e=$row['Beschreibung_E']; $herst=$row['Hersteller']; $abmess=$row['Abmessung']; $menge=$row['Menge']; $besicht=$row['Besichtigung']; $zustand=$row['Zustand']; $druckfor=$row['Druckformat']; $st_fir=$row['Standort_frima']; $st_name=$row['Standort_name']; $st_adr=$row['Standort_adresse']; $st_land=$row['Standort_Land']; $verfueg=$row['Verfuegbarkeit']; $ablauf=$row['Ablaufdatum']; $preis_ang=$row['Preis_Angebot']; $preis_akt=$row['Preis_aktuell']; $bild=$row['Bilder']; /* -- hier bitte die geschweifte Klammer einfügen */ } -- Edit Bug report at: http://bugs.php.net/?id=9513edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9513 Updated: totaler absturz
ID: 9513 User Update by: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Unknown/Other Function Description: totaler absturz Previous Comments: --- [2001-03-01 14:55:34] [EMAIL PROTECTED] bei diesem Code-fragment fehlt noch ein "}"-Zeichen, erganze ich dieses an der markierten stelle, stürzt das ganze programm ab. Ich benutze die Version PHP Coder PR2 Beta hier das Fragment: __ if (!$masch_id==0) { $anfrage_masch='select Ansprech_Anbieter, Kurzbezeichnung_D, Anbieternummer , Kurzbezeichnung_E,Beschreibung_D, Beschreibung_E,Hersteller,Abmessung, Menge,Besichtigung,Zustand,Druckformat, Standort_firma,Standort_name, Standort_adresse,Standort_Land, Verfuegbarkeit,Ablaufdatum, Preis_Angebot, Preis_aktuell, Freischaltdatum,Bilder from maschinendaten where laufende_nr="'.$masch_id.'"'; $result_masch=mysql_query($anfrage_masch)or die('fehler maschine'); $row = mysql_fetch_array($result_masch); if ($row["Anbieternummer"]==$user_id) { $ansprech_anb=$row['Ansprech_Anbieter']; $kurz_d=$row['Kurzbezeichnung_D']; $kurz_e=$row['Kurzbezeichnung_E']; $beschr_d=$row['Beschreibung_D']; $beschr_e=$row['Beschreibung_E']; $herst=$row['Hersteller']; $abmess=$row['Abmessung']; $menge=$row['Menge']; $besicht=$row['Besichtigung']; $zustand=$row['Zustand']; $druckfor=$row['Druckformat']; $st_fir=$row['Standort_frima']; $st_name=$row['Standort_name']; $st_adr=$row['Standort_adresse']; $st_land=$row['Standort_Land']; $verfueg=$row['Verfuegbarkeit']; $ablauf=$row['Ablaufdatum']; $preis_ang=$row['Preis_Angebot']; $preis_akt=$row['Preis_aktuell']; $bild=$row['Bilder']; /* -- hier bitte die geschweifte Klammer einfügen */ } --- Full Bug description available at: http://bugs.php.net/?id=9513 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]