Hi Rowan,
 
1) The .htaccess file isn't in my install... and I never missed it. The rewrite rules seems to prevent anyone retrieving the config files via the web anyway... maybe it was a redundant layer of security (not that those are bad) and got left in the doco by accident. Someone will correct me if I'm wrong no doubt :)
 
2) The full record display didn't work very well for me until I had an ILMS driver in place, unfortunately the sample driver didn't cut it. The line number in your error message would seem to indicate a SOLR problem though, so I could be wrong. If you follow the function calls down into '/sys/Solr.php' and add some debugging output it might help. You can also turn on debugging in the config file to get top level outputs above your page content.
 
3) Browse was not (to my knowledge) a completely stable interface in RC1. I've seen very temperamental behaviour from it (including what you describe), but I have seen it work as well. We've disabled it for now.
 
Also, I'd recommend the tech list for detailed help... same people will answer, but it will save everyone else seeing the gory details:
 
https://lists.sourceforge.net/mailman/listinfo/vufind-tech
 
Hope that helps,

Greg Pendlebury
Electronic Services Officer (Systems Team)
Division of Academic Information Services
University of Southern Queensland
Phone: +61 7 4631 1501
Fax: +61 7 4631 1841

 


From: Rowan Brownlee [mailto:R.Brownlee@library.usyd.edu.au]
Sent: Sunday, 5 April 2009 11:42 AM
To: vufind-general@lists.sourceforge.net
Subject: [VuFind-General] RC1 - notes and questions

Hello all,

I have several questions.  I'd appreciate any thoughts (& is there a search option for the email list archive?)

* Missing .htaccess file.  Important?
* Keyword search ok on vufind SVN sample records.  No full record display.
* browse cat author==>alpha==>name==> no records


* Missing .htaccess file - Important?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The README file in RC1 refers to web/.htaccess file. I don't see this file.  Do I need to create one?

README - step 6.
Edit web/conf/config.ini & web/.htaccess
       
        The config.ini should be modified to match your system settings
        the .htaccess only requires the change of the RewriteBase field.



* Keyword search ok on SVN sample records.  No full record display
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I've installed RC1, and imported a set of marc records from the vufind svn repository.  I can keyword search and retrieve the short records.  If I try to click on a record title from within the short-record display, I see the following error message.  I can however search within solr using the admin web interface and see full records.

An error has occurred

Record Does Not Exist

Please contact the Library Reference Department for assistance
support@myuniversity.edu
[576] /usr/share/php/PEAR.php
[73] /usr/local/vufind/web/services/Record/Record.php
[102] /usr/local/vufind/web/index.php



* browse cat author==>alpha==>name==> no records
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>From my locally installed viewfind homepage, if I try to 'Browse the Catalog', I can click on 'Author', then 'Alphabetical', then 'Deer-Doe, Jane (7)'.  I see 'loading options' appear in the final column, but nothing displays.

I think I've followed the installation steps correctly.  I've included machine information and screen outputs from each installation step.


freshly installed ubuntu 8.10 virtual server with 2gb memory & distribution updates
extracted vufind release candidate one to /usr/local/vufind
apache2 (a2enmod rewrite), mysql and php5, with additions as listed in vufind/README -

--with-pear
--with-mysql
--with-xsl
--with-pspell
--with-ldap [Optional]

copied  vufind/httpd-vufind.conf to /etc/apache2/sites-enabled

chown www-data:www-data /usr/local/vufind/web/interface/compile
chown www-data:www-data /usr/local/vufind/web/interface/cache
chmod +x /usr/local/vufind/vufind.sh
chmod +x /usr/local/vufind/install
chmod +x /usr/local/vufind/import.sh

export JAVA_HOME="/usr/lib/jvm/java-6-sun"
export VUFIND_HOME="/usr/local/vufind"
+ added to /etc/profile


screen output from installation follows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

root@server-75:/usr/local/vufind# ./install
Welcome to the VuFind Setup Script.
This will setup the MySQL Database as well as the necessary system libraries

The first step is to install the MySQL Database.

New Database Name [vufind]:
New Database User [vufind]:
New User Password:
MySQL Host [localhost]:
MySQL Root User [root]:
MySQL Root Password:
./install: line 64: [: missing `]'
The MySQL Database has now been created.

Now installing the System Libraries ...
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
Did not download optional dependencies: pear/XML_RPC, use --alldeps to download automatically
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
downloading PEAR-1.7.2.tgz ...
Starting to download PEAR-1.7.2.tgz (302,744 bytes)
..............................................................done: 302,744 bytes
upgrade ok: channel://pear.php.net/PEAR-1.7.2
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)
PEAR: To install optional features use "pear install pear/PEAR#featurename"
WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
downloading DB-1.7.13.tgz ...
Starting to download DB-1.7.13.tgz (132,246 bytes)
.............................done: 132,246 bytes
install ok: channel://pear.php.net/DB-1.7.13
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
Did not download optional dependencies: pear/MDB2, pear/Validate, use --alldeps to download automatically
pear/DB_DataObject can optionally use package "pear/MDB2" (version >= 2.0.0RC1)
pear/DB_DataObject can optionally use package "pear/Validate" (version >= 0.1.1)
downloading DB_DataObject-1.8.10.tgz ...
Starting to download DB_DataObject-1.8.10.tgz (65,565 bytes)
.................done: 65,565 bytes
downloading Date-1.4.7.tgz ...
Starting to download Date-1.4.7.tgz (55,754 bytes)
...done: 55,754 bytes
install ok: channel://pear.php.net/Date-1.4.7
install ok: channel://pear.php.net/DB_DataObject-1.8.10
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
WARNING: "pear/PHPUnit" is deprecated in favor of "channel://pear.phpunit.de/PHPUnit"
Did not download optional dependencies: pear/PHPUnit, pear/File, pear/Net_URL_Mapper, use --alldeps to download automatically
pear/Structures_DataGrid can optionally use package "pear/PHPUnit" (version >= 1.3.2)
pear/Structures_DataGrid can optionally use package "pear/File" (version >= 1.3.0)
pear/Structures_DataGrid can optionally use package "pear/Net_URL_Mapper" (version >= 0.9.0)
pear/Structures_DataGrid can optionally use PHP extension "sqlite"
downloading Structures_DataGrid-0.9.0.tgz ...
Starting to download Structures_DataGrid-0.9.0.tgz (45,464 bytes)
.............done: 45,464 bytes
install ok: channel://pear.php.net/Structures_DataGrid-0.9.0
Structures_DataGrid: Optional feature datasources available ((un)installs all official DataSource drivers)
Structures_DataGrid: Optional feature renderers available ((un)installs all official Renderer drivers)
Structures_DataGrid: To install optional features use "pear install pear/Structures_DataGrid#featurename"
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
downloading Structures_DataGrid_DataSource_DataObject-0.2.1.tgz ...
Starting to download Structures_DataGrid_DataSource_DataObject-0.2.1.tgz (6,601 bytes)
.....done: 6,601 bytes
install ok: channel://pear.php.net/Structures_DataGrid_DataSource_DataObject-0.2.1
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
downloading Structures_DataGrid_DataSource_Array-0.1.4.tgz ...
Starting to download Structures_DataGrid_DataSource_Array-0.1.4.tgz (3,463 bytes)
....done: 3,463 bytes
install ok: channel://pear.php.net/Structures_DataGrid_DataSource_Array-0.1.4
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
WARNING: "pear/HTML_Common" is deprecated in favor of "pear/HTML_Common2"
downloading Structures_DataGrid_Renderer_HTMLTable-0.1.5.tgz ...
Starting to download Structures_DataGrid_Renderer_HTMLTable-0.1.5.tgz (6,315 bytes)
.....done: 6,315 bytes
downloading Structures_DataGrid_Renderer_Pager-0.1.3.tgz ...
Starting to download Structures_DataGrid_Renderer_Pager-0.1.3.tgz (4,470 bytes)
...done: 4,470 bytes
downloading HTML_Table-1.8.2.tgz ...
Starting to download HTML_Table-1.8.2.tgz (16,988 bytes)
...done: 16,988 bytes
downloading Pager-2.4.7.tgz ...
Starting to download Pager-2.4.7.tgz (35,544 bytes)
...done: 35,544 bytes
downloading HTML_Common-1.2.5.tgz ...
Starting to download HTML_Common-1.2.5.tgz (4,585 bytes)
...done: 4,585 bytes
install ok: channel://pear.php.net/Pager-2.4.7
install ok: channel://pear.php.net/HTML_Common-1.2.5
install ok: channel://pear.php.net/Structures_DataGrid_Renderer_Pager-0.1.3
install ok: channel://pear.php.net/HTML_Table-1.8.2
install ok: channel://pear.php.net/Structures_DataGrid_Renderer_HTMLTable-0.1.5
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
WARNING: "pear/HTTP_Request" is deprecated in favor of "pear/HTTP_Request2"
WARNING: "pear/Net_URL" is deprecated in favor of "pear/Net_URL2"
downloading HTTP_Client-1.2.1.tgz ...
Starting to download HTTP_Client-1.2.1.tgz (10,202 bytes)
.....done: 10,202 bytes
downloading HTTP_Request-1.4.4.tgz ...
Starting to download HTTP_Request-1.4.4.tgz (17,109 bytes)
...done: 17,109 bytes
downloading Net_URL-1.0.15.tgz ...
Starting to download Net_URL-1.0.15.tgz (6,303 bytes)
...done: 6,303 bytes
downloading Net_Socket-1.0.9.tgz ...
Starting to download Net_Socket-1.0.9.tgz (5,173 bytes)
...done: 5,173 bytes
install ok: channel://pear.php.net/Net_URL-1.0.15
install ok: channel://pear.php.net/Net_Socket-1.0.9
install ok: channel://pear.php.net/HTTP_Request-1.4.4
install ok: channel://pear.php.net/HTTP_Client-1.2.1
Ignoring installed package pear/HTTP_Request
Nothing to install
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
Did not download dependencies: pear/Net_SMTP, use --alldeps or --onlyreqdeps to download automatically
pear/Mail can optionally use package "pear/Net_SMTP" (version >= 1.1.0)
downloading Mail-1.1.14.tgz ...
Starting to download Mail-1.1.14.tgz (17,537 bytes)
......done: 17,537 bytes
install ok: channel://pear.php.net/Mail-1.1.14
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
downloading Mail_Mime-1.5.2.tgz ...
Starting to download Mail_Mime-1.5.2.tgz (22,176 bytes)
........done: 22,176 bytes
downloading Mail_mimeDecode-1.5.0.tgz ...
Starting to download Mail_mimeDecode-1.5.0.tgz (9,281 bytes)
...done: 9,281 bytes
install ok: channel://pear.php.net/Mail_Mime-1.5.2
install ok: channel://pear.php.net/Mail_mimeDecode-1.5.0
Ignoring installed package pear/Pager
Nothing to install
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
downloading XML_Serializer-0.19.2.tgz ...
Starting to download XML_Serializer-0.19.2.tgz (39,703 bytes)
..........done: 39,703 bytes
downloading XML_Util-1.2.1.tgz ...
Starting to download XML_Util-1.2.1.tgz (17,729 bytes)
...done: 17,729 bytes
downloading XML_Parser-1.3.2.tgz ...
Starting to download XML_Parser-1.3.2.tgz (16,260 bytes)
...done: 16,260 bytes
install ok: channel://pear.php.net/XML_Util-1.2.1
install ok: channel://pear.php.net/XML_Parser-1.3.2
install ok: channel://pear.php.net/XML_Serializer-0.19.2
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
downloading Console_ProgressBar-0.5.2beta.tgz ...
Starting to download Console_ProgressBar-0.5.2beta.tgz (6,541 bytes)
.....done: 6,541 bytes
install ok: channel://pear.php.net/Console_ProgressBar-0.5.2beta
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
downloading File_MARC-0.3.0.tgz ...
Starting to download File_MARC-0.3.0.tgz (40,777 bytes)
...........done: 40,777 bytes
downloading Structures_LinkedList-0.1.4.tgz ...
Starting to download Structures_LinkedList-0.1.4.tgz (11,461 bytes)
...done: 11,461 bytes
install ok: channel://pear.php.net/Structures_LinkedList-0.1.4
install ok: channel://pear.php.net/File_MARC-0.3.0
--2009-04-05 10:17:46--  http://www.smarty.net/do_download.php?download_file=Smarty-2.6.19.tar.gz
Resolving www.smarty.net... 206.131.206.81
Connecting to www.smarty.net|206.131.206.81|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.smarty.net/distributions/Smarty-2.6.19.tar.gz [following]
--2009-04-05 10:17:49--  http://www.smarty.net/distributions/Smarty-2.6.19.tar.gz
Connecting to www.smarty.net|206.131.206.81|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 157834 (154K) [application/x-gzip]
Saving to: `Smarty-2.6.19.tar.gz'

100%[===================================================================================================================>] 157,834     --.-K/s   in 0.006s

2009-04-05 10:17:52 (26.8 MB/s) - `Smarty-2.6.19.tar.gz' saved [157834/157834]

VuFind Setup is now Complete
root@server-75:/usr/local/vufind#


screen output from vufind startup
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

root@server-75:/usr/local/vufind# ./vufind.sh start
-bash: ./vufind.sh: Permission denied
root@server-75:/usr/local/vufind# chmod +x /usr/local/vufind/vufind.sh
root@server-75:/usr/local/vufind# ./vufind.sh start
Starting VuFind ...
/usr/lib/jvm/java-6-sun/bin/java -server -Xms1024m -Xmx1024m -XX:+UseParallelGC -XX:NewRatio=5 -Dsolr.solr.home=/usr/local/vufind/solr -Djetty.logs=/usr/local/vufind/solr/jetty/logs -Djetty.home=/usr/local/vufind/solr/jetty  -jar /usr/local/vufind/solr/jetty/start.jar  /usr/local/vufind/solr/jetty/etc/jetty.xml
nohup: appending output to `nohup.out'
VuFind running pid=5071
root@server-75:/usr/local/vufind#


screen output from sample record import
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sample records from svn
brkrtest.mrc
copied to vufind/import

root@server-75:/usr/local/vufind# ./import.sh import/brkrtest.mrc
root@server-75:/usr/local/vufind#


log output from solrmarc.log
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009-04-05 10:26:07,694 [main] INFO  main org.solrmarc.marc.MarcImporter - Starting SolrMarc indexing.
2009-04-05 10:26:07,726 [main] INFO  main org.solrmarc.marc.MarcImporter - Loading properties from import/import.properties
2009-04-05 10:26:07,854 [main] INFO  main org.solrmarc.marc.MarcImporter - Using the data directory of: /usr/local/vufind/solr/biblio
2009-04-05 10:26:07,856 [main] INFO  main org.solrmarc.marc.MarcImporter - Using the multicore schema file at : /usr/local/vufind/solr/solr.xml
2009-04-05 10:26:07,857 [main] INFO  main org.solrmarc.marc.MarcImporter - Using the biblio core
2009-04-05 10:26:10,449 [main] DEBUG main org.solrmarc.marc.MarcImporter - Shutdown hook for Solr
2009-04-05 10:26:10,674 [main] INFO  main org.solrmarc.marc.MarcImporter - Adding record 1: tes96000001
2009-04-05 10:26:10,758 [main] INFO  main org.solrmarc.marc.MarcImporter - Adding record 2: tes96000002
2009-04-05 10:26:10,792 [main] INFO  main org.solrmarc.marc.MarcImporter - Adding record 3: tes96000003
2009-04-05 10:26:10,809 [main] INFO  main org.solrmarc.marc.MarcImporter - Adding record 4: tes96000004
2009-04-05 10:26:10,848 [main] INFO  main org.solrmarc.marc.MarcImporter - Adding record 5: tes96000005
2009-04-05 10:26:10,874 [main] INFO  main org.solrmarc.marc.MarcImporter - Adding record 6: tes96000006
2009-04-05 10:26:10,909 [main] INFO  main org.solrmarc.marc.MarcImporter - Adding record 7: tes96000007
2009-04-05 10:26:10,922 [main] INFO  main org.solrmarc.marc.MarcImporter - Adding record 8: tes96000008
2009-04-05 10:26:10,922 [main] INFO  main org.solrmarc.marc.MarcImporter - Calling commit
2009-04-05 10:26:11,096 [main] INFO  main org.solrmarc.marc.MarcImporter - Done with the commit, closing Solr
2009-04-05 10:26:13,205 [main] INFO  main org.solrmarc.marc.MarcImporter - Finished indexing in 0:02.00
2009-04-05 10:26:13,205 [main] INFO  main org.solrmarc.marc.MarcImporter - Indexed 8 at a rate of about 2.0 per sec
2009-04-05 10:26:13,206 [main] INFO  main org.solrmarc.marc.MarcImporter - Deleted 0 records
2009-04-05 10:26:13,208 [Thread-1] INFO  Thread-1 org.solrmarc.marc.MarcImporter - Starting Shutdown hook
2009-04-05 10:26:13,208 [Thread-1] INFO  Thread-1 org.solrmarc.marc.MarcImporter - Finished Shutdown hook


edited section from config.ini
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; This section will need to be customized for your installation
[Site]
path            = /vufind
url             = http://192.168.119.131/vufind
local           = /usr/local/vufind/web
email           = support@myuniversity.edu
theme           = classic
language        = en
locale          = en_US



Rowan Brownlee
Digital Project Analyst
University of Sydney Library
NSW 2006 Australia
Phone: +61 2 9036 6450
Fax: +61 2 9351 3689
Web: http://escholarship.usyd.edu.au/dpa/























This email (including any attached files) is confidential and is for the intended recipient(s) only. If you received this email by mistake, please, as a courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily reflect those of the University of Southern Queensland. Although all reasonable precautions were taken to ensure that this email contained no viruses at the time it was sent we accept no liability for any losses arising from its receipt.

The University of Southern Queensland is a registered provider of education with the Australian Government (CRICOS Institution Code No's. QLD 00244B / NSW 02225M)