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
#527
kksou (Admin)
Admin
Posts: 391
graph
User Online Now Click here to see the profile of this user
Re:Problem in running GTKHtml example 3 Months, 3 Weeks ago Karma: 8  
Hi Sudhakar,

I managed to grab hold of a clean PC to identify all the required files to run GtkHTML.

So I suggest you start from a clean PHP-GTK v2.0.0 again and follow the following steps:

1) Start with a clean copy of the official download of PHP-GTK v2.0.0 (Note: please use v2.0.0, NOT v2.0.1)

2) Edit the php.ini to include the following:
php-gtk.extensions = php_gtk_html2.dll, php_gtk_extra2.dll

3) Download the following zip file (about 2.6MB):
required_files_for_gtkhtml.zip

4) Unzip the file into a temporary folder

5) Copy ALL the files into the respective folders. (don't forget the files in the two folders: /etc and /lib)

6) You are all set! You should be able to run GtkHTML now!

Regards,
/kksou
 
 
Last Edit: 2008/07/30 17:43 By kksou.
  The administrator has disabled public write access.
#529
sudhakar_phpgtk (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Problem in running GTKHtml example 3 Months, 3 Weeks ago Karma: 0  
Hi,

Everything done frm starting but still getting the same error

GConf Error: Failed to launch configuration server: Failed to execute helper pro
gram (No such file or directory)

(php.exe:3528): 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.

Thanks & Regards,
Sudhakar
 
  The administrator has disabled public write access.
#535
kksou (Admin)
Admin
Posts: 391
graph
User Online Now Click here to see the profile of this user
Re:Problem in running GTKHtml example 3 Months, 3 Weeks ago Karma: 8  
 
 
Last Edit: 2008/07/30 23:18 By kksou.
  The administrator has disabled public write access.
#575
sudhakar_phpgtk (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Problem in running GTKHtml example 3 Months, 2 Weeks ago Karma: 0  
Getting same error after everything installed from start.

"GConf Error: Failed to launch configuration server: Failed to execute helper pro
gram (No such file or directory)

(php.exe:3528): 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."


Thanks & Regards,
Sudhakar
 
  The administrator has disabled public write access.
#577
kksou (Admin)
Admin
Posts: 391
graph
User Online Now Click here to see the profile of this user
Re:Problem in running GTKHtml example 3 Months, 2 Weeks ago Karma: 8  
Hi Sudhakar,

I've just grabbed hold of another clean PC with a fresh install of winxp and did another round of thorough testing.

1) Download this zip file:

php-gtk2_with-gtkhtml.zip


Note that this is a zip file 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

The .\ is there to make sure that it runs the gconfd-2.exe and php in that directory.

I've tested the above on a fresh install of winxp. So it should run on your machine.

If it does not, then I think it must be because it has loaded other dll's located in your other directories which is "incompatible" with this version of php-gtk2. (Remember you told me you have tried many many other dll's before. You could take a look at your PATH environment variable. Those dll's might be located in your windows directory too.]

I would suggest if you could grab hold of a "clean" PC, try the above zip file. It should work.

Regards,
/kksou
 
  The administrator has disabled public write access.
#602
sudhakar_phpgtk (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Problem in running GTKHtml example 3 Months, 2 Weeks ago Karma: 0  
Hi kksou,

Done as u said in another winxp machine, working fine thanks... Still below warning is coming but application was running fine.

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

Thanks & Regards,
Sudhakar
 
  The administrator has disabled public write access.
#613
kksou (Admin)
Admin
Posts: 391
graph
User Online Now Click here to see the profile of this user
Re:Problem in running GTKHtml example 3 Months, 2 Weeks ago Karma: 8  
sudhakar_phpgtk wrote:

Done as u said in another winxp machine, working fine thanks... Still below warning is coming but application was running fine.

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


Please refer to the article

Sample Code 316: How to display html text using gtkhtml?

Regards,
/kksou
 
  The administrator has disabled public write access.
#772
tropico (User)
Fresh Boarder
Posts: 10
graphgraph
User Online Now Click here to see the profile of this user
Re:Problem in running GTKHtml example 2 Months, 2 Weeks ago Karma: 0  
Also I have this continue to have this problem Is possible to have all you php-gtk2 folder in a zip file ???


Thanks
 
  The administrator has disabled public write access.
#773
kksou (Admin)
Admin
Posts: 391
graph
User Online Now Click here to see the profile of this user
Re:Problem in running GTKHtml example 2 Months, 2 Weeks ago Karma: 8  
The link to the zip file you mentioned is posted here:

Link to php-gtk2_with-gtkhtml.zip

Regards,
/kksou
 
  The administrator has disabled public write access.
#774
tropico (User)
Fresh Boarder
Posts: 10
graphgraph
User Online Now Click here to see the profile of this user
Re:Problem in running GTKHtml example 2 Months, 1 Week ago Karma: 0  
Also I recieve the same error
I have installed phpgtk 2.0.0. plus all dll that you have sed but at the end

>"d:/php-gtk2/php.exe" -f "E:\phpgtk\prove\Gtk_html\gtkhtml.phpw"
GConf Error: Failed to launch configuration server: Failed to execute helper program (Invalid argument)


(php.exe:3104): 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.
>Exit code: 3
 
  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-2008. kksou.com. All Rights Reserved