PDS error in apache_log: PDSTabService.pm
- Article Type: General
- Product: Aleph
- Product Version: 20
Problem Symptoms:
PDS does not work with Aleph.
In the Apache error_log the following error displays:
[Mon Sep 24 10:56:20 2012] [error] Can't use string ("0") as a HASH ref while "strict refs" in use at /exlibris/aleph/a20_1/pds/program/PDSTabService.pm line 193.\n
Cause:
In file ./pds/program/PDSDefinitions, placeholders (with @-sign) appear instead of actual values:
our ($server_httpd) = "<http://server.edu:port>";
our ($server_httpsd) = "https://server.edu:@_HTTPSD_PORT";
our ($server_pds) = "http://server.edu:port/@_SERVER_PDS";
our ($pds_directory) = "@_PDS_ROOT";
our ($pds_programs) = "$pds_directory"."\/program";
our ($pds_html_form) = "$pds_directory"."\/html_form";
our ($pds_conf_table) = "$pds_directory"."\/conf_table";
our ($pds_proc) = "$pds_directory"."\/service_proc";
our ($pds_icon) = "$server_httpd/$pds_html_form"."\/icon";
our ($logdir_directory) = "@_LOG_DIR";
our ($tmp_directory) = "@_TMP_DIR";
our ($debug) = "@_PDS_DEBUG";
our ($exlibrisgateway) = "N";
our ($default_con_lng) = "@_DEF_CON_LNG";
our ($pds_files) = "$pds_directory"."\/pds_files";
our ($pds_cookie_exp) = "@_COOKIE_EXP";
our ($pds_utf_prog) = "N";
if ($debug ne 'Y') {
$debug = '';
}
1;
~
Resolution:
*Placeholders in ./pds/program/PDSDefinitions should be replaced by actual values. Like this:
our ($server_httpd) = "http://server.edu:8991";
our ($server_httpsd) = "https://server.edu";
our ($server_pds) = "http://server.edu:8991/pds";
our ($pds_directory) = "/exlibris/aleph/a20_1/pds";
our ($pds_programs) = "$pds_directory"."\/program";
our ($pds_html_form) = "$pds_directory"."\/html_form";
our ($pds_conf_table) = "$pds_directory"."\/conf_table";
our ($pds_proc) = "$pds_directory"."\/service_proc";
our ($pds_icon) = "$server_httpd/$pds_html_form"."\/icon";
our ($logdir_directory) = "/exlibris/aleph/a20_1/log";
our ($tmp_directory) = "/exlibris/aleph/a20_1/tmp";
our ($debug) = "Y";
our ($exlibrisgateway) = "N";
our ($default_con_lng) = "ENG";
our ($pds_files) = "$pds_directory"."\/pds_files";
our ($pds_cookie_exp) = "0M";
our ($pds_utf_prog) = "";
if ($debug ne 'Y') {
$debug = '';
}
1;
*If this still does not help, re-install PDS:
1. Save aside all the files under ./pds/conf_table directory
2. Type the three lines below:
cd install_component
ll
csh -f install_all.csh
Category: Web OPAC (500)
- Article last edited: 10/8/2013