note 491 deleted from signals.connection.php by nlopess
| From: | nlopess@php.net | Date: | Thu, 08 Dec 2005 01:58:49 +0000 |
| Subject: | note 491 deleted from signals.connection.php by nlopess | ||
| Groups: | php.gtk.webmaster | ||
| Request: | Send a blank email to php-gtk-webmaster+get-2877@lists.php.net to get a copy of this message | ||
<p>I always got an error like this "Fatal error: Cannot instantiate non-existent class:
gtkwindow in /home/lars/stuff/php-gtk-scripts/callbacks.php on line 14", when trying the
examples.</p>
<p>The solution for me was to add the following line at the beginning of the script:</p>
dl( 'php_gtk.so' ) || die( 'Unable to load php_gtk module! YOU BROKE ME!n' );
<p>
But don't ask me why this works and what it actually does, cause I just slipped over php-gtk
yesterday...
</p>