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


#474
sudhakar_phpgtk (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Problem in running GTKHtml example 4 Years, 10 Months ago Karma: 0  
Hi,

Have installed php-gtk-2.0.1 Windows binary pack in my windows system.

i was trying to run a script which uses gtkhtml but i was not able to run it, getting error saying GtkHtml class not found..

At last downloaded php-gtk-2.0.1 Windows binary extensions pack and configured.. even though of no use.. now i am getting gtkhtml-3.0.dll not found..

Can anyone suggest me to run gtkhtml program

Thanks in advance

Sudhakar
 
  The administrator has disabled public write access.

#475
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:Problem in running GTKHtml example 4 Years, 10 Months ago Karma: 27  
Hi Sudhakar,

Please refer to the blog article:
PHP-GTK v2.0 - adding GtkHtml and GtkExtra

You may also want to refer to the following two articles on how to use GtkHTML:

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

Sample Code 474: How to display html text using gtkhtml - Part 2?

Regards,
/kksou
 
  The administrator has disabled public write access.

#477
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 4 Years, 9 Months ago Karma: 0  
Hi,

Thanks for ur reply

I have downloaded GtkHtml and GtkExtra from ur blog and tried with the sample codes given

For the sample code 316 : i got libgtkhtml-3.8-15.dll was not found error

For the sample code 474 : i got libgtkhtml-3.8-15.dll, libORBit-2.0.dll was not found error

Please suggest me what to do...

Thanks in advance

Sudhakar
 
  The administrator has disabled public write access.
#479
ciprian_dimofte (User)
Senior Boarder
Posts: 46
graphgraph
User Offline Click here to see the profile of this user
Re:Problem in running GTKHtml example 4 Years, 9 Months ago Karma: 0  
Make sure those dll libraries are in the same directory as your application. OR make sure they reside in the windows/system32 directory.

Hope it helps
CD
 
  The administrator has disabled public write access.
#485
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:Problem in running GTKHtml example 4 Years, 9 Months ago Karma: 27  
sudhakar_phpgtk wrote:

I have downloaded GtkHtml and GtkExtra from ur blog and tried with the sample codes given

For the sample code 316 : i got libgtkhtml-3.8-15.dll was not found error

For the sample code 474 : i got libgtkhtml-3.8-15.dll, libORBit-2.0.dll was not found error

Please suggest me what to do...


Hi Sudhakar,

Please refer to the following:

2.0.1 issue: complains about missing gtkhtml.3.0.dll

Looks like there is some issues with GtkHTML for php-gtk 2.0.1.

Till they fix those issues, if you really wish to try out GtkHTML, here's what you can do:

1) Download a copy of PHP-GTK v2.0.0 (yes, the previous version) from http://gtk.php.net/download.php

2) Copy the following 3 files:
gconfd-2.exe - put this is php-gtk2 root folder
php_gtk_html2.dll - put this in the ext folder
php_gtk_extra2.dll - put this in the ext folder

3. Add the following line to the php.ini
php-gtk.extensions = php_gtk_html2.dll, php_gtk_extra2.dll

Now run the sample code listed in previous post. I've just tested them. They should work fine.

Note: the first time you run might take a bit long (about 10 to 30 seconds) for the application window to appear.

Regards,
/kksou
 
  The administrator has disabled public write access.
#488
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 4 Years, 9 Months ago Karma: 0  
Hi,

I have downloaded PHP-GTK v2.0.0 and files given(exe, dll files) and tried with gtkhtml example given by u.. even though getting some dlls missing errors..

missing dlls are : libgtkhtml-3.8-15.dll, gtkextra-win32-2.1.dll, libgconf-2-4.dll

Please guide me in successful running gtkhtml

Thanks & Regards,
Sudhakar
 
  The administrator has disabled public write access.
#489
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:Problem in running GTKHtml example 4 Years, 9 Months ago Karma: 27  
sudhakar_phpgtk wrote:
missing dlls are : libgtkhtml-3.8-15.dll, gtkextra-win32-2.1.dll, libgconf-2-4.dll


Hi Sudhakar,

Here are the links to the 3 additional files:

2) Copy the following 3 files:
libgtkhtml-3.8-15.dll
gtkextra-win32-2.1.dll
libgconf-2-4.dll

Note: place the above files in php-gtk2 root folder if you have set the environment $PATH to your php-gtk2 root folder.

Otherwise, place them in c:/windows

Regards,
/kksou
 
 
Last Edit: 2008/07/29 18:15 By kksou.
  The administrator has disabled public write access.
#490
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 4 Years, 9 Months ago Karma: 0  
Hi

Thanks for giving the dlls, related dll errors are resolved.

Now it's asking about libORBit-2-0.dll file, i think we can resolve this thread if we have this missing dll file.

Now missing dll file is libORBit-2-0.dll

Thanks & Regards,
Sudhakar.
 
 
Last Edit: 2008/07/29 18:38 By sudhakar_phpgtk. Reason: spell change in dll file
  The administrator has disabled public write access.
#494
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:Problem in running GTKHtml example 4 Years, 9 Months ago Karma: 27  
sudhakar_phpgtk wrote:

Now missing dll file is libORBit-2-0.dll


Hi Sudhakar,

I believe I have the path set to some directory where I had all the dll's. That's why I didn't get any of the error messages you get.

In any case, I have bundled all the dll's that I have in my php-gtk2 directory into the following zip file:

all_php-gtk2_dll.zip

The file is huge, about 11.7MB. Download the file and unzip it to a temporary directory.

You will find the file you want "libORBit-2-0.dll" in there. If it complains about any other files, you should be able to find the necessary dll's there. Just copy the necessary dll's. You do not need to copy the entire folder content.

Hopefully it works this time.

Regards,
/kksou
 
  The administrator has disabled public write access.
#526
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 4 Years, 9 Months ago Karma: 0  
Thanks for giving dlls bunch, i have copies so many dlls from that to my php-gtk2 folder, now i have all the dlls required for GtkHtml..

After all now i am getting below errors:

GConf Error: Failed to launch configuration server: Failed to execute helper pro
gram (Invalid argument)

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

any clue about it?

I think, i am in final stage of running GtkHtml program...

Thanks & Regards,
Sudhakar
 
  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
Links - Classes - Social Business - BPM - Web - General
Copyright © 2006-2013. kksou.com. All Rights Reserved