cvs: php-gtk-doc /manual/en/tutorials hello_world.xml

[email protected] ("Christian Weiske") Mon, 04 Dec 2006 20:09:17 -0000
Newsgroups php.gtk.doc
Message-ID <cvscweiske1165262957@cvsserver>
cweiske		Mon Dec  4 20:09:17 2006 UTC

  Modified files:              
    /php-gtk-doc/manual/en/tutorials	hello_world.xml 
  Log:
  Add note for php-gtk1 users
  
  
http://cvs.php.net/viewvc.cgi/php-gtk-doc/manual/en/tutorials/hello_world.xml?r1=1.7&r2=1.8&diff_format=u
Index: php-gtk-doc/manual/en/tutorials/hello_world.xml
diff -u php-gtk-doc/manual/en/tutorials/hello_world.xml:1.7 php-gtk-doc/manual/en/tutorials/hello_world.xml:1.8
--- php-gtk-doc/manual/en/tutorials/hello_world.xml:1.7	Fri Aug 11 05:15:34 2006
+++ php-gtk-doc/manual/en/tutorials/hello_world.xml	Mon Dec  4 20:09:17 2006
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8" ?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 <chapter id="tutorials.helloworld">
  <title>Hello World (basic)</title>
 
@@ -34,6 +34,14 @@
    </programlisting>
   </example>
 
+  <note>
+   <para>
+    If you get an error
+    <literal>Fatal error: Call to undefined function: connect_simple()</literal>,
+    then you are using PHP-Gtk1 and not PHP-Gtk2. This is the wrong manual then.
+   </para>
+  </note>
+
   <para>
    Now copy the code into a text editor and save it as
    <filename>hello.phpw</filename>. Then open a console and start it via