Actually I went through and commented out all my code, releasing functions
from the huge comment as I ran the code and didn't see the error. I came
down to two functions which has function names that apparently were STILL
bad, I don't know what names are reserved in D4PHP so I guess I'll have to
be more carefull from now on. They're now Cat and Dog, yeah but it works.
- Dan
"Tijnema" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On 6/22/07, Dan <[EMAIL PROTECTED]> wrote:
"Tijnema" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 6/21/07, Dan <[EMAIL PROTECTED]> 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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php