braddcadd
January 31st, 2007, 12:54 AM
Can anyone help me installing the pear::Image_Graph module? I installed it through Synaptic. I also have the Ubuntu Pear package installed.
When I make the following call (after I include Graph.php correctly):
$Graph =& Image_Graph::factory('graph', array(400, 300));
I get the following when brosing localhost:
Warning: main(Image/Color.php): failed to open stream: No such file or directory in /usr/share/php/Image/Canvas/Color.php on line 33
Fatal error: main(): Failed opening required 'Image/Color.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/php/Image/Canvas/Color.php on line 33
But I've checked this location and find the files in place. I even chmod 777 all files in the webserver and /usr/share/php/Image/Canvas/ to now avail.
Thanks for any help.
When I make the following call (after I include Graph.php correctly):
$Graph =& Image_Graph::factory('graph', array(400, 300));
I get the following when brosing localhost:
Warning: main(Image/Color.php): failed to open stream: No such file or directory in /usr/share/php/Image/Canvas/Color.php on line 33
Fatal error: main(): Failed opening required 'Image/Color.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/php/Image/Canvas/Color.php on line 33
But I've checked this location and find the files in place. I even chmod 777 all files in the webserver and /usr/share/php/Image/Canvas/ to now avail.
Thanks for any help.