Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Sunday, October 25, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpWebFileManager  »  Forum  »  I can't show icons

phpWebFileManager General     I can't show icons
Post new topic   Reply to topic    
 
mutato     Joined: 08 Mar 2004   Posts: 2  
Post Posted: 2004-03-08 16:18
Back to top  Reply with quote     

I have installed phpWebFileManager onto Debian Stable with php4, but I can't show small icons near file name.

I have copied all files from
/usr/share/apache/icons

into

/var/www/icons

... but phpWFM show me only few types of icons (dir, text, compressed). I tried to modify icons.inc.conf but I hadn't any result..

Can you help me?

p.s. I installed phpWFM onto Debian Testing, and here all is good!

 
nepto     Joined: 06 Jan 2003   Posts: 381   Location: Phoenix, Arizona (USA)
Post Posted: 2004-03-09 10:46
Back to top  Reply with quote     

You have to have properly configured $fm_cfg['url']['icons'] option.

Try to leave default icons/ and phpWebFileManager supplied icons should be used.

When using something like /icons/small/ , default system Apache icons are used. It seems that you Debian just do not have them installed.

_________________
Ondrej Jombik (Nepto)
Visit my homepage , review my recent CV or projects and give me some feedback .
 
mutato     Joined: 08 Mar 2004   Posts: 2  
Post Posted: 2004-03-09 11:22
Back to top  Reply with quote     

Good! I have disable default apache icons... I have modify config file for read abosolute path of icons directory

/FileManager/icons/

Thx!

 
Imhotep     Joined: 11 Mar 2005   Posts: 3  
Post Posted: 2005-03-11 13:03
Back to top  Reply with quote     

Something Strange. Ive got everything on http://www.gfx-host.de/upload/

Everything works out well. Now i put it on http://nil2.gfx-host.de/ with exactly the same Settings. Problem now is, that the Icons wont show. If i check the Preferences of the Images, the Urls are correct. They just wont show. Hows that?

 
nepto     Joined: 06 Jan 2003   Posts: 381   Location: Phoenix, Arizona (USA)
Post Posted: 2005-03-11 13:56
Back to top  Reply with quote     

I think I have the idea. Problem is with Apache "virtual" directory /icons/ By default apache is configured to distribute http://example.com/icons/ for any HTTP host. Thus icons are being found in the Apache icons directory, not the phpWebFileManagers.

Solutions:


  • try to disable Apache /icons/ directory
  • rename manager's /icons/ directory to /icons2/ and change this also in the config-local configuration file


Let me know if this helps you.

_________________
Ondrej Jombik (Nepto)
Visit my homepage , review my recent CV or projects and give me some feedback .
 
Imhotep     Joined: 11 Mar 2005   Posts: 3  
Post Posted: 2005-03-12 18:00
Back to top  Reply with quote     

As i did not know how to do your first solution, i tried it with your second solution and that was perfect. It works now. Thanks a lot.

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy