EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #07217
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] secure https site and SetLang
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] secure https site and SetLang
- From: "Beaudoin, Mario" <Mario.Beaudoin@uqtr.ca>
- Date: Thu, 8 Mar 2018 16:29:52 +0000
Thank you
I fix the error just change the call to set_lang like this:
<a href="{$config{https_root}}/cgi/set_lang?lang=fr">FRANÇAIS</a>
All the site is https all the time
fr template and en template changed
Do you thing this way is correct?
-----Message d'origine-----
De : eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> De la part de Yuri
Envoyé : 8 mars 2018 04:05
À : eprints-tech@ecs.soton.ac.uk
Objet : Re: [EP-tech] secure https site and SetLang
http://wiki.eprints.org/w/Https3#Missing_Images
this can be a way to replace perl_url with securehost when EPrints_secure is yes.
beware that the name get_baseurl is used in Document.pm for baseurl for the document!
Il 07/03/2018 21:41, Beaudoin, Mario ha scritto:
>
> Hi,
>
> On regular http site when we change the language with this code on
> template
>
> <a href="{$config{perl_url}}/set_lang?lang=fr">FRANÇAIS</a>
>
> Everything work fine
>
> But if we use a https site we got the error
>
> Error. $screen->render should be sub-classed for
> EPrints::Plugin::Screen::SetLang=HASH(0x55f7dcc88da8).
>
> But next clique on any menu change the language of the site without
> any error
>
> Any idea how to get rid of this error
>
> Thank
>
>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
- Follow-Ups:
- Re: [EP-tech] secure https site and SetLang
- From: "Beaudoin, Mario" <Mario.Beaudoin@uqtr.ca>
- Re: [EP-tech] secure https site and SetLang
- References:
- [EP-tech] secure https site and SetLang
- From: "Beaudoin, Mario" <Mario.Beaudoin@uqtr.ca>
- Re: [EP-tech] secure https site and SetLang
- From: Yuri <yurj@alfa.it>
- Re: [EP-tech] secure https site and SetLang
- From: "Beaudoin, Mario" <Mario.Beaudoin@uqtr.ca>
- [EP-tech] secure https site and SetLang
- Prev by Date: Re: [EP-tech] ORCID Support plugin
- Next by Date: Re: [EP-tech] ORCID Support plugin
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):
