View Full Version : Display Issue with Javasript Tree Menu

11-05-2011, 11:12 AM
Im using a javascript tree menu on a site, with collapsible
and expandable links, it works perfectly offline but online,
the icons that represent the + sign doesn display and an icon
named folder.gif displays something else(a real folder)-ive
checked the path to the images and everything is ok, ive also tried
renaming the icons.

Dont know the cause of this problem and the solution.

The site is logoproductsnig.com

11-05-2011, 12:09 PM
logoproductsnig.com/icons/plus.gif is a 404 Not Found

11-05-2011, 05:21 PM
Thanks. but i checked again and the icon is there, the path is correct

11-05-2011, 05:31 PM
Not Found

The requested URL /icons/plus.gif was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/ mod_jk/1.2.28 PHP/5.2.12 Server at logoproductsnig.com Port 80





I don't know where you're looking. But that's where the code points to, and it's not there.

There's a chance it is there but that the file has the wrong permissions set.

11-05-2011, 08:22 PM
Thanks, or may be it's the absence/presence of the "www".

What kind of permission do i set for the file?

Thanks again.

11-06-2011, 12:44 AM
It was 404 Not Found regardless of www or not www.

The permissions might already be set correctly, it could be some other problem. But if it is the permissions, to make a long story short, I believe for your image file you want to set its permissions at:


or as it's also known as:


More detail -

Usually your ftp or other upload program takes care of permissions automatically. It's been so long since I've had to mess with them manually, frankly I forget. But once a file gets the wrong ones set, it can be tricky to change them without using chmod (available in most ftp and other upload programs, virtual terminals, and the unix command line). Just overwriting, or renaming, or deleting and replacing the file has no effect. 777 is the universal accessibility permission, but not recommended. 644 is I think what's recommended for web files (images, html, css, js, etc.). 755 for folders other than the root folder which is supposed to be 711. I got these values from:


And from what I recall, they are correct. But some hosts may require slightly different ones. You can always ask your host for help. But you can also usually look to see what the working files are set at and use their permissions/attributes as a guide. These also have equivalents in drwx (directory, read, write, execute) attributes for 'owner', 'group', and 'world'. A chart on page:


shows the equivalences.