PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Problem in running GTKHtml example (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Problem in running GTKHtml example
#778
kksou (Admin)
Admin
Posts: 443
graph
User Online Now Click here to see the profile of this user
Re:Problem in running GTKHtml example 3 Months, 4 Weeks ago Karma: 8  
If you try the zip file I mentioned above on a fresh new windows, it will work.

For your case, I believe you have some other versions of dll's (and maybe it's the gconfd-2.exe) in your PATHs. It's using the wrong versions of dll's hiding in one of those environment PATHs, thus causing the error.

You may want to try clearing the entire PATH, unzip the zip file I mentioned above and see if it works.

The best is still try it on a fresh new windows first, or a machine that does not have any PHP-GTK installed. At least see for yourself that it works first before you try to dig out which is the dll on your machine that's causing the conflict.

Regards,
/kksou
 
  The administrator has disabled public write access.
#987
jma (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Still problems in running GTKHtml example 2 Months, 3 Weeks ago Karma: 0  
Hello,

This refers to the discussion that took place between sudhakar and /kksou admin a few weeks ago. There is no real conclusion to the discussion so I wonder whether sudhakar succeeded in making gtkhtml work on his pc.

I have followed the procedure given by /kksou admin:

1)Download the package php-gtk2_with-gtkhtml.zip containing PHP-GTK v2.0.0 with all the required files to run GtkHTML.

2) Unzip the file. You will see a folder php-gtk2 in there. All the files required are in there, including a sample code for GtkHTML.

3) Open a command window and cd to that folder.

4) Type:
.\gconfd-2.exe|.\php gtkhtml_sample1.php.

I am getting exactly the same error messages as sudhakar:

>>>>>
D:\php-gtk2>gconfd-2.exe|php.exe gtkhtml_sample1.php
GConf Error: Failed to launch configuration server: Failed to execute helper program (No such file or directory)

(php.exe:4324): Gdk-WARNING **: gdkselection-win32.c:1068: OpenClipboard failed: Invalid window handle.

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
<<<<<<

Of course, before executing I checked my path which does not contain anything related to php-gtk, gtk or whatever.

So, I am wondering whether the gtkhtml extension really work. Would you have any idea about what's going on? Thanks for help.

Regards.

Jean-Marc
 
  The administrator has disabled public write access.
#988
kksou (Admin)
Admin
Posts: 443
graph
User Online Now Click here to see the profile of this user
Re:Still problems in running GTKHtml example 2 Months, 3 Weeks ago Karma: 8  
Hi Jean-Marc,

Please refer to the post just above yours.

Most likely you have some other older versions of dll's lying somewhere. Open up a command window. Type "path". Did you see a bunch of directories. It must be hidden among one of those. Try clearing the PATH environment variable and run it again. Otherwise try it on a fresh windows.

Regards,
/kksou
 
 
Last Edit: 2008/10/12 19:35 By kksou.
  The administrator has disabled public write access.
#1066
essej2003 (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Problem in running GTKHtml example 2 Months, 1 Week ago Karma: 0  
I'm having the same problems, followed the procedure above and still get "failed to launch configuration server" error. I think it may be the version of GTK that is installed on my PC. What download/installer do you recommend?
 
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2009. kksou.com. All Rights Reserved