Re: Strange Fatal Error Possibly Memory

From: Date: Fri, 22 Jun 2007 17:31:17 +0000
Subject: Re: Strange Fatal Error Possibly Memory
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-257666@lists.php.net to get a copy of this message
On 6/22/07, Dan <frozendice@gmail.com> wrote:
"Tijnema" <tijnema@gmail.com> wrote in message news:d8269d910706211137q384b2593uc14b15e69c2dbaff@mail.gmail.com... On 6/21/07, Dan <frozendice@gmail.com> wrote:
I'm using Delphi4PHP so a lot of the code is prewritten components, libraries, etc. Here's some code that I can post without giving away too much. As you can see it's not your typical PHP, it is using a ton of specific functions.
<snip> Nah, the code is probably in the Delphi4PHP code, I found this forum topic, which might help you: http://forums.delphi-php.net/showthread.php?s=7914eb00a6869351f1734d447e6c6faa&t=401 Tijnema I'm checked and renamed any and all functions that sound like they would even remotely conflict with some other PHP function by putting the name of the program on the end. I also after looking for a while found that if you call a function but spell the function incorrectly when you're calling it you can get the same fatal error. I also checked every PHP call and they are all spelled correctly. I also looked through all my file access code and made sure that the handlers always closed. Is there some way to track down where this Fatal Error is coming from? I know you can't catch them like exceptions but there must be SOME way of debugging them. Right? - Daniel
If you have access to the PHP CLI, you could try running strace or gdb on it (strace is more usefull here I think), and see what happens inside of PHP. Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info

« previous php.general (#257666) next »