Jason,
Thanks! Closed dates editor is now working
Try grabbing the Open-ILS/web/opac/common/js/jscalendar directory from
trunk or rel_1_2 and dropping that in place into your install (likely
/openils/var/web/opac/common/js/ for a default install). Prior to
1.2, this was an external dependency.
One more thing, when I played around with the admin tabs I encountered
> another error, in selecting Offline Transaction Management I get this
error:
>
> * Fix Me *
> Error parsing JSON [SyntaxError: illegal character]
<snip>
Hrmm, I need to robustify the error handling there.
I also need for Bill to poke his head into this thread, but the API
for the offline transaction management is powered by CGI, and if that
is misconfigured you might get something like this. Can you watch the
apache error log when you make this happen?
The Offline Transaction Management still has error, and here is a portion of
the apache error log (sorry for the long post)
Thu Jul 19 15:41:29 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE filter
for /cgi-bin/offline/offline.pl
[Thu Jul 19 15:41:29 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /cgi-bin/offline/offline.pl
[Thu Jul 19 15:41:30 2007] [error] [client 127.0.0.1] DBI connect('host=
W.X.Y.Z;dbname=TABLE;port=5432','DBUSER',...) failed: could not translate
host name "W.X.Y.Z" to address: Name or service not known
[Thu Jul 19 15:41:30 2007] [error] [client 127.0.0.1] at
/openils/lib/perl5/OpenILS/Utils/OfflineStore.pm line 26
[Thu Jul 19 15:41:30 2007] [error] [client 127.0.0.1] Can't insert new
OpenILS::Utils::OfflineStore::Session: Can't call method "prepare_cached" on
an undefined value at /usr/share/perl5/Ima/DBI.pm line 381.
[Thu Jul 19 15:41:30 2007] [error] [client 127.0.0.1] at
/openils/var/cgi-bin/offline/offline.pl line 145
[Thu Jul 19 15:41:30 2007] [error] [client 127.0.0.1] Premature end of
script headers: offline.pl
[Thu Jul 19 15:41:30 2007] [debug] mod_cache.c(502): cache:
/cgi-bin/offline/offline.pl?ses=bf9ffb35681cc6b44fa9ae0cfdd7ad74&action=create&desc=cons&ws=CONS-Main
not cached. Reason: Response status 500
[Thu Jul 19 15:41:30 2007] [debug] mod_deflate.c(447): [client 127.0.0.1]
Zlib: Compressed 666 to 411 : URL /cgi-bin/offline/offline.pl
[Thu Jul 19 15:41:30 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xul/opac/server/skin/media/audio/question.wav
[Thu Jul 19 15:41:30 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /xul/opac/server/skin/media/audio/question.wav
[Thu Jul 19 15:41:30 2007] [debug] mod_cache.c(602): cache: Caching url:
/xul/opac/server/skin/media/audio/question.wav
[Thu Jul 19 15:41:30 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:30 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:30 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:30 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xul/opac/server/util/fancy_prompt.xul
[Thu Jul 19 15:41:30 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /xul/opac/server/util/fancy_prompt.xul
[Thu Jul 19 15:41:30 2007] [debug] mod_xmlent.c(263): [client 127.0.0.1]
XMLENT Config:\nContent Type = application/vnd.mozilla.xul+xml, Strip PI =
no, Strip Comments = no, Doctype = (null), referer:
http://cslibff/xul/opac/server/admin/offline_manage_xacts.xul
[Thu Jul 19 15:41:30 2007] [debug] mod_xmlent.c(336): [client 127.0.0.1]
XMLENT read 653 bytes, referer:
http://cslibff/xul/opac/server/admin/offline_manage_xacts.xul
[Thu Jul 19 15:41:30 2007] [debug] mod_xmlent.c(263): [client 127.0.0.1]
XMLENT Config:\nContent Type = application/vnd.mozilla.xul+xml, Strip PI =
no, Strip Comments = no, Doctype = (null), referer:
http://cslibff/xul/opac/server/admin/offline_manage_xacts.xul
[Thu Jul 19 15:41:30 2007] [debug] mod_xmlent.c(336): [client 127.0.0.1]
XMLENT read 51510 bytes, referer:
http://cslibff/xul/opac/server/admin/offline_manage_xacts.xul
[Thu Jul 19 15:41:30 2007] [debug] mod_xmlent.c(263): [client 127.0.0.1]
XMLENT Config:\nContent Type = application/vnd.mozilla.xul+xml, Strip PI =
no, Strip Comments = no, Doctype = (null), referer:
http://cslibff/xul/opac/server/admin/offline_manage_xacts.xul
[Thu Jul 19 15:41:30 2007] [debug] mod_xmlent.c(336): [client 127.0.0.1]
XMLENT read 4023 bytes, referer:
http://cslibff/xul/opac/server/admin/offline_manage_xacts.xul
[Thu Jul 19 15:41:30 2007] [debug] mod_cache.c(602): cache: Caching url:
/xul/opac/server/util/fancy_prompt.xul?xml_in_stash=temp_yns_xml&title=Unhandled%20Error
[Thu Jul 19 15:41:30 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:30 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:30 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xul/opac/server/skin/global.css
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /xul/opac/server/skin/global.css
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(602): cache: Caching url:
/xul/opac/server/skin/global.css
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xul/opac/server/skin/patron_display.css
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /xul/opac/server/skin/patron_display.css
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(602): cache: Caching url:
/xul/opac/server/skin/patron_display.css
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xul/opac/server/main/JSAN.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /xul/opac/server/main/JSAN.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(602): cache: Caching url:
/xul/opac/server/main/JSAN.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xul/opac/server/OpenILS/util_overlay.xul
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /xul/opac/server/OpenILS/util_overlay.xul
[Thu Jul 19 15:41:31 2007] [debug] mod_xmlent.c(263): [client 127.0.0.1]
XMLENT Config:\nContent Type = application/vnd.mozilla.xul+xml, Strip PI =
no, Strip Comments = no, Doctype = (null)
[Thu Jul 19 15:41:31 2007] [debug] mod_xmlent.c(336): [client 127.0.0.1]
XMLENT read 1185 bytes
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(602): cache: Caching url:
/xul/opac/server/OpenILS/util_overlay.xul
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xul/opac/server/main/constants.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /xul/opac/server/main/constants.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(602): cache: Caching url:
/xul/opac/server/main/constants.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xul/opac/server/main/lang.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /xul/opac/server/main/lang.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(602): cache: Caching url:
/xul/opac/server/main/lang.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /opac/common/js/utils.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /opac/common/js/utils.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(602): cache: Caching url:
/opac/common/js/utils.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /opac/common/js/CGI.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /opac/common/js/CGI.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(602): cache: Caching url:
/opac/common/js/CGI.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /opac/common/js/md5.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /opac/common/js/md5.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(602): cache: Caching url:
/opac/common/js/md5.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /opac/common/js/JSON.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /opac/common/js/JSON.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(602): cache: Caching url:
/opac/common/js/JSON.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /opac/common/js/fmall.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /opac/common/js/fmall.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(602): cache: Caching url:
/opac/common/js/fmall.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /opac/common/js/fmgen.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /opac/common/js/fmgen.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(602): cache: Caching url:
/opac/common/js/fmgen.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /opac/common/js/RemoteRequest.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /opac/common/js/RemoteRequest.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(602): cache: Caching url:
/opac/common/js/RemoteRequest.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /opac/common/js/OrgTree.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /opac/common/js/OrgTree.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(602): cache: Caching url:
/opac/common/js/OrgTree.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /opac/common/js/org_utils.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /opac/common/js/org_utils.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(602): cache: Caching url:
/opac/common/js/org_utils.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xul/opac/server/OpenILS/global_util.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /xul/opac/server/OpenILS/global_util.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(602): cache: Caching url:
/xul/opac/server/OpenILS/global_util.js
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:31 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xul/opac/server//util/error.js
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /xul/opac/server//util/error.js
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(602): cache: Caching url:
/xul/opac/server//util/error.js
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xul/opac/server//util/sound.js
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /xul/opac/server//util/sound.js
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(602): cache: Caching url:
/xul/opac/server//util/sound.js
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xul/opac/server//OpenILS/data.js
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /xul/opac/server//OpenILS/data.js
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(602): cache: Caching url:
/xul/opac/server//OpenILS/data.js
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xul/opac/server//util/network.js
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /xul/opac/server//util/network.js
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(602): cache: Caching url:
/xul/opac/server//util/network.js
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /xul/opac/server/skin/media/images/skull.png
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL
filter for /xul/opac/server/skin/media/images/skull.png
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(602): cache: Caching url:
/xul/opac/server/skin/media/images/skull.png
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(608): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(651): cache: Added date
header
[Thu Jul 19 15:41:32 2007] [debug] mod_cache.c(796): (2)No such file or
directory: cache: store_headers failed
> By the way is there a wiki on how to upgrade from 1.0.6.3 to 1.2 that
will
> not affect existing data?
There isn't, but Dan Scott posted this which will help:
http://list.georgialibraries.org/pipermail/open-ils-dev/2007-July/001445.html
It'll definitely get wiki'ed once 1.2 gets out of the release candidate
phase.
-- Jason
Thanks! I think I will try to be patient and wait for the stable release
before doing an upgrade to version 1.2 :)