[imp] What will stop the turba icon appearing

Mark Worsdall imp at worsdall.demon.co.uk
Fri Apr 25 00:15:52 PDT 2003


Hi,

During some fiddling I copied the directory turba as tb

Still no look.

The removed all .php files from tb, it then listed the directory ok

 Parent Directory        24-Apr-2003 23:09      -
 config/                 24-Apr-2003 23:09      -
 graphics/               24-Apr-2003 23:09      -
 lib/                    24-Apr-2003 23:09      -
 locale/                 24-Apr-2003 23:09      -
 po/                     24-Apr-2003 23:09      -
 scripts/                24-Apr-2003 23:09      -
 templates/              24-Apr-2003 23:09      -

BUT it refuses to let my list the graphics directory.

This is my registry entry for turba.

$this->applications['turba'] = array(
    'fileroot' => dirname(__FILE__) . '/../turba',
    'webroot' => $this->applications['horde']['webroot'] . '/turba',
    'icon' => $this->applications['horde']['webroot'] .
'/turba/graphics/turba.gif',
    'name' => _("Address Book"),
    'allow_guests' => false,
    'status' => 'active'
);


M.


In message <1051222069.d4312670823d2 at webmail.solidsolutions.net>, Robert
Clemens <robert at solidsolutions.net> writes
>Mark,
>   I'm no expert. But I've had problems with icons before.
>  Check your horde/config/registry.php  file
>
>My turba icon link looks like this:
>
> 'icon' => $this->applications['horde']['webroot'] .
>'/turba/graphics/turba.gif',
>
>My turba.gif file looks like this:
>-rw-r--r--   1 www  www  372B Dec 16  2001 turba.gif
>
>Note how mine is owned by www:www .. yours is owned by
>
>hinwick:hinwick.. I'm not sure if thats the problem or not.
>
>but make sure your apache user:group has access to that directory
>and that file. you may need to chown -R www:www horde if your
>permissions are all messed up..
>
>Hope this helps. I hope I'm not throwing you off the wrong end.
>
>--
>Robert Clemens
>robert at solidsolutions.net
>
>
>Quoting Mark Worsdall <imp at worsdall.demon.co.uk>:
>
>> Hi,
>>
>> Running:
>>
>> FreeBSD 4.5
>> Apache  1.3.19
>> PHP     4.3.1
>> Horde:  2.2.1
>> IMP     3.2.1
>> mysql   3.23.41
>>
>>
>>
>> The turba icon will not appear in IMP or horde (the link is there) and
>> if I try to get to it manually (/horde/turba/graphics/turba.gif) I get:-
>>
>> Forbidden
>> You don't have permission to access /horde/turba/graphics/turba.gif on
>> this server.
>>
>> The ls -l  of the horde directory looks like this:-
>>
>> drwxr-xr-x   2 hinwick  hinwick   1024 Apr 11 09:59 config
>> -rw-r--r--   1 hinwick  hinwick   2538 Apr 11 10:00 css.php
>> drwxr-xr-x   5 hinwick  hinwick    512 Apr 11 09:59 graphics
>> -rw-r--r--   1 hinwick  hinwick   1951 Apr 11 10:00 help.php
>> drwxr-xr-x  10 hinwick  hinwick   1024 Apr 11 11:33 imp
>> -rw-r--r--   1 hinwick  hinwick   1854 Apr 11 10:00 index.php
>> -rw-r--r--   1 hinwick  hinwick   1569 Apr 11 10:00 javascript.php
>> drwxr-xr-x  12 hinwick  hinwick   1024 Apr 11 09:59 lib
>> drwxr-xr-x  33 hinwick  hinwick   1024 Apr 11 09:59 locale
>> -rw-r--r--   1 hinwick  hinwick   4009 Apr 11 10:00 login.php
>> -rw-r--r--   1 hinwick  hinwick   2161 Apr 11 10:00 maintenance.php
>> -rw-r--r--   1 hinwick  hinwick   1844 Apr 11 10:00 menu.php
>> drwxr-xr-x   2 hinwick  hinwick   1024 Apr 11 09:59 po
>> -rw-r--r--   1 hinwick  hinwick   1902 Apr 11 10:00 prefs.php
>> -rw-r--r--   1 hinwick  hinwick   4486 Apr 11 10:00 problem.php
>> drwxr-xr-x   5 hinwick  hinwick    512 Apr 11 09:59 scripts
>> -rw-r--r--   1 hinwick  hinwick   1769 Apr 11 10:00 status.php
>> drwxr-xr-x  13 hinwick  hinwick    512 Apr 11 09:59 templates
>> -rw-r--r--   1 hinwick  hinwick  15945 Apr 11 10:00 test.php
>> drwxr-xr-x   9 hinwick  hinwick    512 Apr 11 09:59 turba
>> drwxr-xr-x   2 hinwick  hinwick    512 Apr 11 09:59 util
>>
>>
>> The ls -l  of the turba directory looks like this:-
>>
>> -rw-r--r--   1 hinwick  hinwick   1849 Apr 11 09:59 addobject.php
>> -rw-r--r--   1 hinwick  hinwick   1807 Apr 11 09:59 addobjectaction.php
>> -rw-r--r--   1 hinwick  hinwick   4613 Apr 11 09:59 advanced.php
>> -rw-r--r--   1 hinwick  hinwick  10110 Apr 11 09:59 browse.php
>> drwxr-xr--   2 hinwick  hinwick    512 Apr 24 18:57 config
>> -rw-r--r--   1 hinwick  hinwick  24268 Apr 11 09:59 data.php
>> -rw-r--r--   1 hinwick  hinwick   1593 Apr 11 09:59 deleteobject.php
>> -rw-r--r--   1 hinwick  hinwick   1142 Apr 11 09:59 displayobject.php
>> -rw-r--r--   1 hinwick  hinwick   1547 Apr 11 09:59 editobject.php
>> -rw-r--r--   1 hinwick  hinwick   1645 Apr 11 09:59 editobjectaction.php
>> drwxr-xr--   2 hinwick  hinwick    512 Apr 11 09:59 graphics
>> -rw-r--r--   1 hinwick  hinwick   1174 Apr 11 09:59 index.php
>> drwxr-xr--   6 hinwick  hinwick    512 Apr 11 09:59 lib
>> drwxr-xr--  33 hinwick  hinwick   1024 Apr 11 09:59 locale
>> -rw-r--r--   1 hinwick  hinwick    890 Apr 11 09:59 menu.php
>> -rw-r--r--   1 hinwick  hinwick    869 Apr 11 09:59 miniwindow.php
>> drwxr-xr--   2 hinwick  hinwick   1024 Apr 11 09:59 po
>> -rw-r--r--   1 hinwick  hinwick   5762 Apr 11 09:59 prefs.php
>> drwxr-xr--   4 hinwick  hinwick    512 Apr 11 09:59 scripts
>> -rw-r--r--   1 hinwick  hinwick   2936 Apr 11 09:59 search.php
>> -rw-r--r--   1 hinwick  hinwick   1929 Apr 11 09:59 status.php
>> drwxr-xr--  13 hinwick  hinwick    512 Apr 11 09:59 templates
>>
>>
>> The ls -l  of the turba/graphics directory looks like this:-
>>
>> -rw-r--r--  1 hinwick  hinwick  1003 Apr 11 09:59 add.gif
>> -rw-r--r--  1 hinwick  hinwick   869 Apr 11 09:59 checkbox.gif
>> -rw-r--r--  1 hinwick  hinwick   364 Apr 11 09:59 close.gif
>> -rw-r--r--  1 hinwick  hinwick    82 Apr 11 09:59 down.gif
>> -rw-r--r--  1 hinwick  hinwick   137 Apr 11 09:59 group.gif
>> -rw-r--r--  1 hinwick  hinwick   165 Apr 11 09:59 lhand.gif
>> -rw-r--r--  1 hinwick  hinwick   135 Apr 11 09:59 map.gif
>> -rw-r--r--  1 hinwick  hinwick   168 Apr 11 09:59 rhand.gif
>> -rw-r--r--  1 hinwick  hinwick   743 Apr 11 09:59 search.gif
>> -rw-r--r--  1 hinwick  hinwick   372 Apr 11 09:59 turba.gif
>> -rw-r--r--  1 hinwick  hinwick   109 Apr 11 09:59 up.gif
>> -rw-r--r--  1 hinwick  hinwick   123 Apr 11 09:59 user.gif
>>
>>
>>
>> I have in my httpd.conf file the include for turba which looks like
>> this:-
>>
>> <Directory "/usr/www/hinwick/horde/turba/config">
>>      order deny,allow
>>      deny from all
>> </Directory>
>> <Directory "/usr/www/hinwick/horde/turba/lib">
>>      order deny,allow
>>      deny from all
>> </Directory>
>> <Directory "/usr/www/hinwick/horde/turba/locale">
>>      order deny,allow
>>      deny from all
>> </Directory>
>> <Directory "/usr/www/hinwick/horde/turba/po">
>>      order deny,allow
>>      deny from all
>> </Directory>
>> <Directory "/usr/www/hinwick/horde/turba/scripts">
>>      order deny,allow
>>      deny from all
>> </Directory>
>> <Directory "/usr/www/hinwick/horde/turba/templates">
>>      order deny,allow
>>      deny from all
>> </Directory>
>> # End of Turba configuration ================
>>
>>
>> What could be stopping apache serving this icon?
>>
>> IMP is working fine (apart from address book).
>>
>>
>> The php log file states:-
>>
>> [24-Apr-2003 22:40:09] PHP Warning:
>> main(/usr/www/hinwick/horde/turba/templates/index/notconfigured.inc) [<a
>> href='http://www.php.net/function.main'>function.main</a>]: failed to
>> create stream: Permission denied in
>> /usr/www/hinwick/horde/turba/index.php on line 33
>>
>> [24-Apr-2003 22:40:09] PHP Warning:  main() [<a
>> href='http://www.php.net/function.main'>function.main</a>]: Failed
>> opening '/usr/www/hinwick/horde/turba/templates/index/notconfigured.inc'
>> for inclusion (include_path='/usr/local/lib/php:.') in
>> /usr/www/hinwick/horde/turba/index.php on line 33
>>
>> Any ideas?
>>
>> M.
>> --
>> Mark Worsdall
>>
>> --
>> IMP mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>
>

-- 
Mark Worsdall
https://www.paypal.com/refer/pal=LS79YHQ9VUGLJ


More information about the imp mailing list