EPrints Technical Mailing List Archive

Message: #08982


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Error when changing languages


Hi Gareth,

I think your problem is a known issue with 3.4.3.  Please see the following link for an explanation and patch:

https://wiki.eprints.org/w/EPrints_3.4.3#Requesting_.2Fcgi.2Fset_lang_causes_an_internal_server_error

Regards

David Newman

On 16/06/2022 6:40 pm, Gareth Tottle via Eprints-tech wrote:
CAUTION: This e-mail originated outside the University of Southampton.
Hi,

 

I’m currently commissioning an ePrints server (v3.4.3) and everything is appearing to be going well apart from one weird glitch.  I’m currently trying to implement a multilanguage site but when I have set it up within the languages.pl the link for the new language is shown but when you click on it you get an internal server error.

 

The error logs show the below:

[Thu Jun 16 17:00:01.727566 2022] [:error] [pid 9708] Can't locate object method "scheme" via package "Apache2::RequestRec" at /usr/share/eprints/perl_lib/EPrints/Plugin/Screen/SetLang.pm line 26.\n

 

Line 26 of SetLang.pm is:

if ( $session->{request}->scheme() eq "https" )

 

My technical knowledge of perl is very limited and I’m struggling to find the possible cause of it!  The server is running on Centos7 and installed using the epel-release.

 

Any points as to what might be causing the error would be very much welcome!

 

Many thanks,

Gareth

 

Gareth Tottle  (He/Him | E/Ef)
Information Systems Manager | Rheolwr Systemau Gwybodaeth

Royal Welsh College of Music & Drama | Coleg Brenhinol Cerdd a Drama Cymru

T | +44 (0)29 2039 1381
E |
Gareth.Tottle@rwcmd.ac.uk

The College has adopted agile working - so whilst it occasionally suits me to email outside of my normal working hours, I do not expect a response or action outside of yours.
Mae’r Coleg wedi mabwysiadu gweithio ystwyth – felly er ei fod yn addas i mi weithiau e-bostio y tu allan i’m horiau gwaith arferol, nid wyf yn disgwyl ymateb na gweithred y tu allan i’ch un chi.

 

Together we will open up opportunity.... Gyda'n
              Gilydd Byddwn Yn Ehangu Cyfleoedd...

 

Please donate to our Special Appeal for Student Hardship. Click here
Cyfrannwch i'n Hapêl Arbennig am Galedi Myfyrwyr. Cliciwch yma

 

We welcome correspondence in Welsh and English. Correspondence received in Welsh will be answered in Welsh and will not lead to delay.

 

Rydym yn croesawu gohebiaeth yn y Gymraeg a'r Saesneg. Byddwn yn ateb gohebiaeth a dderbynnir yn Gymraeg yn Gymraeg ac ni fydd yn arwain at oedi.

 

Royal Welsh College of Music & Drama, Castle Grounds, Cathays Park, Cardiff CF10 3ER
Part of the University of South Wales Group
Company registration 6013744, registered in England and Wales
Registered charity 1139282

 

Coleg Brenhinol Cerdd a Drama Cymru, Maes y Castell, Parc Cathays, Caerdydd CF10 3ER
Rhan o Grwp Prifysgol De Cymru
Cofrestriad cwmni 6013744, a gofrestrwyd yn Lloegr a Chymru
Elusen gofrestredig 1139282


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