[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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:



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 at rwcmd.ac.uk <mailto:Gareth.Tottle at 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... 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rwcmd.ac.uk%2Fpromise&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfd0f3cf1e6b342a55ec508da4fc81416%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637910017981906147%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=T2vn4Ilbz%2FQTR%2FRBFFYBLTTCmOm2j8E7MZUvGcj9CXc%3D&amp;reserved=0> 
> *Please donate to our Special Appeal for Student Hardship. Click here 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rwcmd.ac.uk%2Fsupport-us%2Fstudent-hardship-fund&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfd0f3cf1e6b342a55ec508da4fc81416%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637910017981906147%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=hNs7UE6onEhYFrARYH4wYGMQqtst%2B%2BfBhMzteUKWo64%3D&amp;reserved=0>
> Cyfrannwch i'n Hap?l Arbennig am Galedi Myfyrwyr. Cliciwch yma 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rwcmd.ac.uk%2Fcy%2Fcefnogwch-ni%2Fcronfa-caledi-myfyrwyr&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfd0f3cf1e6b342a55ec508da4fc81416%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637910017981906147%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=AIVr5duJnX93IdO3QsJTCY9Pre1%2BA6F7LiEgok4CKg8%3D&amp;reserved=0>*
> 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:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfd0f3cf1e6b342a55ec508da4fc81416%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637910017981906147%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=uVCl3N5w1wiWAzk50OuqLvElzMaQq3bAUFMqHwmGg5I%3D&amp;reserved=0
> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfd0f3cf1e6b342a55ec508da4fc81416%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637910017981906147%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=IxlxK2%2Bl6Fvp%2FLHFT1W9i8tFNjnQMVK1HYLgQNU3YqE%3D&amp;reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20220616/d68b87e1/attachment.html