EPrints Technical Mailing List Archive

Message: #07220


< 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


Yes, if you only have https.


Il 08/03/2018 17:29, Beaudoin, Mario ha scritto:
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&#199;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&#199;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/

*** 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/