See the Mailing Lists Page for how to subscribe and unsubscribe.
eprints_tech messages
Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.
[EP-tech] Re: Phrase editor: zz_webcfg.xml not updated? [BUG]
From: "Arnoud Jippes" <arnoud.jippes AT gmail.com>
Date: Mon, 10 Nov 2008 17:23:39 +0100
| Threading: | • This Message → [EP-tech] Re: Phrase editor: zz_webcfg.xml not updated? [BUG] from yurj AT alfa.it → [EP-tech] Re: Phrase editor: zz_webcfg.xml not updated? [BUG] from tdb01r AT ecs.soton.ac.uk |
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** EPrints community wiki - http://wiki.eprints.org/ >> Eprints 3.1.1 >> >> I'm tryng to use the phrase editor in admin, and it seems not to work. I had the same problem after updating to 3.1.1. This must be a bug. > Error: eprints_http_cgiroot is not defined > Source File: http://pippo.eprints.it/javascript/auto.js The code for adding this var is in the update_static_file methode of /perl_lib/EPrints/Update/Static.pm my $js = ""; $js .= "var eprints_http_root = ".EPrints::Utils::js_string( $session->get_repository->get_conf('base_url') ).";\n"; $js .= "var eprints_http_cgiroot = ".EPrints::Utils::js_string( $session->get_repository->get_conf('perl_url') ).";\n"; $js .= "var eprints_oai_archive_id = ".EPrints::Utils::js_string( $session->get_repository->get_conf('oai','v2','archive_id') ↵ ).";\n"; $js .= "\n"; But this methode does not seem te be called by /bin/generate_static, which has got it's own (dupicate) code to produce the auto.js I added the above code to /bin/generate_static (at my $js = "";) and now generate_static works. Arnoud. (I tried to add the bug to the EPrints trac, but I do not have ticket-add privileges after registring)
[index] [prev] [next] [options] [help]




