PDA

View Full Version : PHP - Class 'GladeXML' not found !



etdsbastar
April 18th, 2012, 06:37 AM
Hello friends,

A simple code :


<?php
$glade = new GladeXML('test.glade');

Gtk::main();
?>

is giving me the error :
PHP Fatal error: Class 'GladeXML' not found in ... on line 2

Please help me friends...

fallenshadow
April 18th, 2012, 01:46 PM
Probably a really silly question but.. did you create a .glade file for it to use?

Glade files need to be created by Glade itself.

etdsbastar
April 25th, 2012, 09:37 AM
Dear,

Glade file has already been created as test.glade.

The php error showing that class GLADEXML not found...

Any help...

etdsbastar
April 27th, 2012, 08:29 AM
Please help friends !!!

etdsbastar
May 1st, 2012, 04:01 PM
Any help please... bump...

etdsbastar
May 1st, 2012, 04:49 PM
I anyhow managed to recompile phpgtk and resolved the problem of GladeXML but now it is showing another problem.

when i am running the file,
It is displaying nothing.

Please help.

$php <filename.php>

is showing nothing.