23 Mar 2007 5:58 AM #1
TreeView images problem
I am trying to run treeview examples
but i can't see images like on site tree example
also tried to create my little example and i have also problem with images.
when i runnin firefox i don't see them at all and in IE i can see them but corrupted
23 Mar 2007 7:23 AM #2
Im not sure, but you probaly need to do one or both of these things.
Make sure your running either php 5.2.x or that you have the php_json module installed and loaded in your php.ini. Alot of ext's dynamic stuff uses json to get and crunch data. Php 5.2 has a function built in called json_encode() that is called in the examples. If your running a version of php which is older then 5.2 you will need to install that php_json lib.
The other problem could be your directory structure. It should be like this
P.S. grab a copy of fire bug for firefox and you can see why the images are not getting loaded. It will show were it thinks they should be, and you can then compare that info to your dir structure. As well as seeing if json_encode() is executing or not.
23 Mar 2007 7:41 AM #3
You are the best!!!!
i had problem with directory structure
By DennisD in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 22 Mar 2007, 4:56 PM
By matte in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 12 Mar 2007, 11:34 PM
By wavel in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 12 Mar 2007, 9:55 AM
By kyriakos in forum Ext 1.x: Help & DiscussionReplies: 4Last Post: 29 Jan 2007, 2:15 PM