[OPEN-ILS-DEV] Staff Client authentication woes
Sperr, Edwin
sperr at nelinet.net
Thu Jun 21 09:33:07 EDT 2007
So I'm trying to follow the instructions given at:
http://open-ils.org/dokuwiki/doku.php?id=mozilla-devel:building_the_staf
f_client
...both in terms of setting up symlinks as well as building a
"versionless" client.
Attempt #1 -- using make STAFF_CLIENT_BUILD_ID=''
The result was nothing different -- still the error message about a
version mis-match. I also tried running xulrunner against the
application.ini in //Open-ILS/xul/staff_client/ with the same effect.
Attempt #2 -- building symlinks
Following along with the example, a directory listing of my
/openils/var/web/xul results in:
total 16
drwxr-xr-x 3 opensrf opensrf 4096 2007-06-20 08:32 12345
drwxr-xr-x 3 opensrf opensrf 4096 2007-06-14 11:33 20070614.112936
drwxr-xr-x 3 opensrf opensrf 4096 2007-06-14 11:37 20070614.113710
lrwxrwxrwx 1 opensrf opensrf 80 2007-06-21 05:33 HEAD ->
/home/evergreen-admin/eg-src/Evergreen-ILS.1.1.5/Open-ILS/xul/staff_clie
nt/build
lrwxrwxrwx 1 opensrf opensrf 5 2007-06-21 05:31 latest -> 12345
lrwxrwxrwx 1 opensrf opensrf 11 2007-06-21 05:34 server -> HEAD/server
Note, I don't have a "versions.html" -- can't find it anywhere and not
sure how to create it from scratch. Apache2 doesn't seem happy about
this, and doesn't seem to care for my symlinks either. To wit:
[Thu Jun 21 06:04:37 2007] [debug] mod_cache.c(602): cache: Caching url:
/opac/en-US/skin/default/xml/index.xml
[Thu Jun 21 06:04:37 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jun 21 06:04:37 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jun 21 06:04:37 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jun 21 06:04:37 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xul/server/
[Thu Jun 21 06:04:37 2007] [debug] mod_cache.c(136): Adding
CACHE_REMOVE_URL filter for /xul/server/
[Thu Jun 21 06:04:37 2007] [error] [client 127.0.1.1] Symbolic link not
allowed or link target not accessible: /openils/var/web/xul/server
[Thu Jun 21 06:04:37 2007] [debug] mod_deflate.c(447): [client
127.0.1.1] Zlib: Compressed 355 to 257 : URL /xul/server/
[Thu Jun 21 06:04:37 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xul/versions.html
[Thu Jun 21 06:04:37 2007] [debug] mod_cache.c(136): Adding
CACHE_REMOVE_URL filter for /xul/versions.html
[Thu Jun 21 06:04:37 2007] [error] [client 127.0.1.1] File does not
exist: /openils/var/web/xul/versions.html
[Thu Jun 21 06:04:37 2007] [debug] mod_deflate.c(447): [client
127.0.1.1] Zlib: Compressed 357 to 261 : URL /xul/versions
Thanks!
Ed
-----Original Message-----
From: open-ils-dev-bounces at list.georgialibraries.org
[mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Don
McMorris
Sent: Wednesday, June 20, 2007 4:30 PM
To: open-ils-dev at list.georgialibraries.org
Subject: Re: [OPEN-ILS-DEV] Staff Client authentication woes
On 6/20/07, Sperr, Edwin <sperr at nelinet.net> wrote:
> Don --
>
> The client built from 1.1.5 source does indeed have a "hostname" box
> at the top left. I tried using the downloadable client off of
> open-ils.org (both from a Windows machine as well as from the Ubuntu
> box), but I get a consistent "this server does not support your
> version of the staff client" error. This is the case even if I modify
> application.ini and BUILD_ID.
This is fixed by creating the symlink in web/xul for the staff client
BUILD_ID. The Apache error logs will tell you exactly what it's lookin'
for, and the wiki/mailing list archives/etc. contain the exact
requirements. You can also build a "versionless" staff client.
More information about the Open-ils-dev
mailing list