Re: urgent: Document Contains No Data
| From: | Chad | Date: | Tue, 08 Jun 1999 18:53:24 +0000 |
| Subject: | Re: urgent: Document Contains No Data | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-6725@lists.php.net to get a copy of this message | ||
The script below works fine for me using 3.0.9 on RedHat Linux 6 and Mac
OSXS. My sparc is still running 3.0.8 so I cannot verify there.
"Bonis, Wim" wrote:
>
> > I wrote a document, which produce the output "Document
> > contains no data" when I
> > try to load it in my webbrowser. The same document worked
> > fine on my old
> > linux-box.
> > I´am just linux user. So I don´t understand
> > what is really happens.:
> >
> > Can anybody help me?
>
> Sorry i can not help you, I just verfied that the Bug is present in 3.0.9:
> In Linux(i586) and Solaris.2.6(sparc)
>
> maybe it is related to BUG #1489 and #1494 because they also use
> mysql_fetch_???
>
> I used the following to test:
>
> ----------------------
> <?
> $link=mysql_connect("localhost");
> $result=mysql_db_query("kiss","SELECT version() as version",$link);
> if(!$result){
> echo mysql_error();
> }
> //
> // This one works
> // $num = mysql_numrows($result);
> // $i=0;
> // while ($i < $num) {
> // echo mysql_result($result,$i,"version");
> // $i++;
> // }
> //
> // This on works NOT
> while($row = mysql_fetch_array($result)) {
> echo $row['version'];
> }
> //
> // This on works NOT
> // while($row = mysql_fetch_object($result)) {
> // echo $row->version;
> // }
>
> mysql_free_result($result);
> mysql_close();
> ?>
> ------------------------
>
> It give me core dump:
>
> Core was generated by `/Web/cgi-bin-common/php-3.0.9 test2.php3'.
> Program terminated with signal 11, Segmentation fault.
> find_solib: Can't read pathname for load map: Input/output error
>
> #0 0x80608dd in shutdown_memory_manager () at alloc.c:348
> 348 REMOVE_POINTER_FROM_LIST(p);
> (gdb) where
> #0 0x80608dd in shutdown_memory_manager () at alloc.c:348
> #1 0x80594fb in php3_request_shutdown (dummy=0x0) at main.c:889
> #2 0x805aac5 in main (argc=2, argv=0xbffff450) at main.c:1867
>
> -------------------------------------------------------------------
> Wim Bonis ,+'^'+, Telefon:0631-31662-0
> Internet Solution Service GmbH Technik:0631-31662-15
> +,.,+ privat:0631-36071-80
> email: bonis@solution-service.de 67655 Kaiserslautern
> Karl-Marx-Str. 13 --== DPN-POP KL ==--
>
>
>
> --
> PHP Development Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Chad Cunningham
ccunning@math.ohio-state.edu
This message is imaginary, please rotate your display 90 degrees and try again.