php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29440 Don't display any text
Submitted: 2004-07-29 05:48 UTC Modified: 2008-03-07 02:11 UTC
Votes:5
Avg. Score:4.2 ± 1.0
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: ricardo at kernel dot com dot ar Assigned:
Status: Closed Package: PHP-GTK related
PHP Version: 1.0.0 (PHP-GTK) OS: Windows 98
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ricardo at kernel dot com dot ar
New email:
PHP Version: OS:

 

 [2004-07-29 05:48 UTC] ricardo at kernel dot com dot ar
Description:
------------
This error is reported when i try execute a script that print some kind of text (GtkLabel, GtkButton, etc). The script run correctly, but without texts.

The message:
(hello.php-gtk:4294627475): GLib-CRITICAL **: file gconvert.c: line 500 (g_convert): assertion `from_codeset != NULL' failed

I set in my php.ini this line:
php-gtk.codepage = CP1252
but still don?t work.

Reproduce code:
---------------
<?php
if (!extension_loaded('gtk')) {
	dl( 'php_gtk.' . PHP_SHLIB_SUFFIX);
}

$window = &new GtkWindow();
$window->set_border_width(10);

$button = &new GtkButton('Hello World!');
$window->add($button);

$window->show_all();

Gtk::main();
?>

Expected result:
----------------
A window with button saying "Hello Word!".

Actual result:
--------------
A window with empty button and a the message: (hello.php-gtk:4294627475): GLib-CRITICAL **: file gconvert.c: line 500 (g_convert): assertion `from_codeset != NULL' failed


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-07 02:11 UTC] auroraeosrose@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

PHP-GTK2 solves many issues with GTK on windows.  Try a PHP5 and PHP-GTK2.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC