Tech List

[index] [prev] [next] [options] [help]
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: Tim Brody <tdb01r AT ecs.soton.ac.uk>
Date: Mon, 10 Nov 2008 17:56:47 +0000


Threading: [EP-tech] Re: Phrase editor: zz_webcfg.xml not updated? [BUG] from arnoud.jippes AT gmail.com
      • This Message

http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** EPrints community wiki - http://wiki.eprints.org/
Ticketed:
http://trac.eprints.org/trac/ticket/3460

Thanks,
Tim.

On Mon, 2008-11-10 at 18:18 +0100, Yuri wrote:
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** EPrints community wiki - http://wiki.eprints.org/
> Arnoud Jippes ha scritto:
> > 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.
> >   
> 
> cool :)
> 
> >   Arnoud.
> >
> > (I tried to add the bug to the EPrints trac, but I do not have
> > ticket-add privileges after registring)
> >   
> me too, tickets for developers :P
> 
> Maybe they could add another trac for bug requests, at another address?


[index] [prev] [next] [options] [help]