*

Luka93

  • ***
  • 56 posts
Error 500 after trying to upload new language
« on: December 27, 2020, 04:51:23 PM »
Hello all!

I have a weird problem with trying to add new language - I am running the last version of osclass. I have multiple languages uploaded in oc-content/languages, but only en_EN (English) is available on the backend to chose from.

After I tried to add (upload) new language via admin/oc-admin/index.php? The Page = language site gives me Error 500 every time (I tested it on two different sites).

I tried to create the same situation on useless demo backend, but uploading languages are now allowed on demo.

Does anybody else have the same problem?

Thanks in advance.

*

MB Themes

Re: Error 500 after trying to upload new language
« Reply #1 on: December 27, 2020, 05:39:08 PM »
Enable error reporting and send error you are getting
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Luka93

  • ***
  • 56 posts
Re: Error 500 after trying to upload new language
« Reply #2 on: December 27, 2020, 07:32:38 PM »
Hello, thanks for your answer.

I managed to find problem. When I created new language I forgot to change this in index.php

function locale_en_EN_info() {

to

function locale_sl_SI_info() {

which gave me error 500 when I tried to upload any language.