Misc Crashes - was: PHP - Glib causing it to crash!?
| From: | Alan Knowles | Date: | Sun, 30 Dec 2001 05:36:39 +0000 |
| Subject: | Misc Crashes - was: PHP - Glib causing it to crash!? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-713@lists.php.net to get a copy of this message | ||
root wrote:
OK... i created a menu bar within my app... everything works... and i can connectto my File and Tools menus, and when I select a option from them it calls the function perfectly. However, I then added the Admin Tools menu recently and when i created a sub-menu item and linked a function to a option under it, PHP crashes... i dont know whats up with it... Anybody else experience this? TIA
did you get error messages on the terminal? if not you can try adding ini_set("implicit_flush","On"); - this will for error messages to appear on the terminal - I found sometimes they get hidden for some reason... Turn your warnings on - ini_set("error_reporting","E_ALL"); Do you get any error messages??? are you using classes with arrays = eg. $xxxx->somearray[$somevar]->method() I have found that if $xxxx->somearray[$somevar] is not a valid object php crashes and burns (segfault) - but have not had time to test this in a simple example....