Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Re: New Emilda install: msg#00011

Subject: Re: Re: New Emilda install
Christoffer,

I have found another location where the icons and javascript don't display or run. This occurs when I do a search and it finds a book in the local library database. The table is displayed with the search results but the icons to display details about the book, etc. are not displayed. The firefox java script error message is the same as the general book_add page:

Error: [Exception... "'Permission denied to set property XULElement.selectedIndex' when calling method: [nsIAutoCompletePopup::selectedIndex]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: http://www.mydomain.com/emilda/src/js/common.js :: focusFirstVisible :: line 55" data: no]
Source File: http://www.mydomain.com/emilda/src/js/common.js
Line: 55

It is interesting though that when I run through the emilda demo site, the same error message shows up in the javaScript console, but the icons and scripts appear to function just fine on the demo site. I am truly baffled.

Scott Leafe

----- Original Message ----- From: "Christoffer Landtman" <landtman@xxxxxxxxxxx>
To: "Emilda Users Discussion List" <emilda@xxxxxxxxxxxxxxxxxx>
Sent: Wednesday, January 25, 2006 12:29 PM
Subject: Re: [Emilda] Re: New Emilda install


Scott Leafe wrote:
Christoffer,

I am running the latest stable version 1.2.3. It is interesting, the arrow icon pointing to the javascript: selfish_table_disp('tableXXX') is visible and works fine on the Home, Emilda Configuration, and MARC Configuration pages, just not on the book_add page following a search. I went to the emilda demo site and the pages I have listed appear to be the only pages that reference that javascript other than book_add. I'm not quite sure where to look for javascript errors on the book_add page without the icon.

This sounds highly odd. If you are using Firefox (which I would recommend) you can view JavaScript errors by selecting the "JavaScript Console" under "Tools"-menu. If you are using Internet Explorer, there usually is a small icon at the bottom left where you can view possible JavaScript errors. Could you also have a look in your Apache logs if anything turns up there. Also, if you could submit a screenshot of what it looks like, we could maybe better understand what is going on.

Greets,


Scott Leafe

----- Original Message ----- From: "Christoffer Landtman" <landtman@xxxxxxxxxxxx>
To: "Emilda Users Discussion List" <emilda@xxxxxxxxxxxxxxxxxx>
Sent: Monday, January 23, 2006 2:23 PM
Subject: Re: [Emilda] Re: New Emilda install


Scott Leafe wrote:

Scott Leafe <skl51203 <at> houston.rr.com> writes:



Hello,
Great looking software. I have successfully installed emilda on Slackware-current. However, I am having major problems entering records, either manually or via MARC lookup. When I click "accept" on the add book screen, I get the following error message.
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request"
Apache Log:
[Mon Jan 16 01:18:09 2006] [error] PHP Notice: Only variables should be assigned by reference in /var/www/htdocs/emilda/book_add.php on line$[Mon Jan 16 01:18:09 2006] [error] PHP Notice: Only variables should be assigned by reference in /var/www/htdocs/emilda/book_add.php on line$[Mon Jan 16 01:18:09 2006] [error] PHP Notice: Only variables should be assigned by reference in /var/www/htdocs/emilda/book_add.php on line$[Mon Jan 16 01:18:19 2006] [error] (2)No such file or directory: exec of /var/www/htdocs/emilda/perl/MARC.pl failed[Mon Jan 16 01:18:19 2006] [error] [client 10.1.3.101] Premature end of script headers: /var/www/htdocs/emilda/perl/MARC.pl

httpd.config:
<Directory "/var/www/htdocs"> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all</Directory><Directory "/var/www/htdocs/emilda"> AddHandler cgi-script .cgi .pl AllowOverride All Options ExecCGI Order allow,deny Allow from all <Files "*.inc"> Order allow,deny Deny from all </Files></Directory>

The perl directory is /var/www/htdocs/emilda/perl. User permissions are set to nobody.nobody (default for slackware www users) and I have verified that permissions allow execute. Zebra is working just fine and have tested with yaz-client on external databases.
Any, any help you can provide would be greatly appreciated.
skaman




Did not get any recent replies on this issue, but........ I seem to have worked through them myself and most problems seem to center around zebra. Here's what I did:

I recompiled zebra with perl (not specified in emilda docs), but in the following order:

    cd /..../idzebra-1.3.32
    ./configure --with-perl
    make
    cd perl
    make Makefile.PL
    make
    cd ..
    make install
    cd perl
    make install

I am still working on a suitable rc.zebra file to startup zebrasrv but I can start the service manually and emilda seems to function just fine.


Hello Scott,

Sorry that we did not get around to solve your previous problem. Let's hope we are more successful with the current one =)


The only apparent snafu I am running into now is that on the book_add.php or book_edit.php (and maybe other pages) the javascript for dropdown does not seem to be recognized nor an icon displayed. For example, I do a search for a particular author and a hit is displayed from say Libris. There is no icon displayed to select a record found and add it to the database. I have to manually cut and paste the ISBN back into the book_add screen and do another search with brings up the edit page and allows me to add the book to my library. There may be other javascripts that are not displaying either so I wonder if anyone has any ideas?


Sounds strange. So if you get numerous hits at book add, you cannot "expand" the items using the arrow on the left? Oh, another imporant question: are you using the stable Emilda 1.2 or Emilda from CVS? If you could try and look if you find any javascript errors this would also help greatly.

Greetings,







_______________________________________________
Emilda mailing list
Emilda@xxxxxxxxxxxxxxxxxx
http://lists.realnode.com/mailman/listinfo/emilda



--
Christoffer Landtman
CEO
Oy Realnode Ab

landtman@xxxxxxxxxxxx
www.realnode.com
_______________________________________________
Emilda mailing list
Emilda@xxxxxxxxxxxxxxxxxx
http://lists.realnode.com/mailman/listinfo/emilda



_______________________________________________
Emilda mailing list
Emilda@xxxxxxxxxxxxxxxxxx
http://lists.realnode.com/mailman/listinfo/emilda


--
Christoffer Landtman
CEO
Oy Realnode Ab

Tekniikantie 21
FIN-02150 Espoo, Finland
www.realnode.fi
Office: +358 (0)9 2517 5577
Mobile: +358 (0)41 510 1073
Fax: +358 (0)9 455 3117
Email: landtman@xxxxxxxxxxx
_______________________________________________
Emilda mailing list
Emilda@xxxxxxxxxxxxxxxxxx
http://lists.realnode.com/mailman/listinfo/emilda



<Prev in Thread] Current Thread [Next in Thread>