Group activity

  • Fazli replied on the discussion topic Laminas\Mail\Protocol\Exception\RuntimeException error
    Hi Nikolai, We are back to square one with the problem "Laminas\Mail\Protocol\Exception\RuntimeException" again.  After upgrading to 5.1.8, Creating a new user or liking a post produce the error... view reply
  • Is this a fresh installation of Elgg 5.1? The error comes from reading a database value in the annotations of metadata table which has a value_type which isn't supported. The error comes from... view reply
  • After installation of elgg-5.1.5 I get this error on Windows 11 - Wamp server  is not a supported \ElggExtender value type. how do I solve this?
  • Jerome Bakker replied on the discussion topic Default Site Language
    Thank you. I cannot translate because I am not a member of the Esperanto team. That's what Transifex says DM me your Transifex username/email and I'll add you. And if you wish I can add you to Spanish as well, let me know in the DM. view reply
  • Rubenalf replied on the discussion topic Default Site Language
    approved the EO language Thank you. I cannot translate because I am not a member of the Esperanto team. That's what Transifex says Regarding the request to add Spanish (Argentina) to the project I never did it. (at least intentionally) view reply
  • Jerome Bakker replied on the discussion topic Default Site Language
    "an URL parameter 'hl=es' will set the language of the site to Spanish".   How to use the 'hl' parameter? What is the syntax? https://your-web-site.tdl/?hl=es "If you wish to help translating... view reply
  • Rubenalf replied on the discussion topic Default Site Language
    You were right. Simply set the browser language to Spanish and Elgg respects the browser language. But IMHO the language defined on the site should be a priority. Thanks again. view reply
  • Rubenalf replied on the discussion topic Default Site Language
    Thanks for your answer. "if you have your browser set to German..."   In fact this computer is set to English, I should try using another PC set to Spanish "an URL parameter 'hl=es' will set the language of the... view reply
  • Jerome Bakker replied on the discussion topic Default Site Language
    Hi Rubenalf, I'll try and explain what the order is in which we try to determine the interface language for logged out users an URL parameter 'hl=es' will set the language of the site to Spanish. 'hl' stands for Human... view reply
  • Nikolai Shcherbin replied on the discussion topic Default Site Language
    Welcome to Elgg Community! Thanks for this topic. Issue is opened. view reply
  • Rubenalf added a new discussion topic Default Site Language
    I am a new Elgg user and I am learning how to use this tool. I am using Elgg v5.1.5 I have created a site (I don't know if I should put the URL) and I set the main language of the site to Spanish. It works fine when I'm logged in, but when...
    • "an URL parameter 'hl=es' will set the language of the site to Spanish".   How to use the 'hl' parameter? What is the syntax?

      https://your-web-site.tdl/?hl=es

      "If you wish to help translating Elgg..."   I have already registered for transiflex but it seems that someone at Elgg must approve it. 

      I would also like to add a new language: Esperanto (eo). I have done a test by creating 'eo.php' in my site and the new language is recognized correctly.

      approved the EO language

      Elgg says that the Spanish language is 52% translated, but comparing 'es.php' with 'en.php' I find that many lines are missing in 'es.php'.

      As you would expect with only 52%

      It would be good to add this information to the Developer Guides:Internationalization (http://learn.elgg.org/en/stable/guides/i18n.html) where it only deals with the translation of the plugins and does not mention the main language files.

      That is because the main languages files are managed by Transifex. We pull the translation before every release of Elgg.

      It's not recommended to manually add language files to the Elgg core and Elgg core plugins as when you update those files might get lost or overridden.

    • approved the EO language

      Thank you. I cannot translate because I am not a member of the Esperanto team. That's what Transifex says

      Regarding the request to add Spanish (Argentina) to the project I never did it. (at least intentionally)

    • Thank you. I cannot translate because I am not a member of the Esperanto team. That's what Transifex says

      DM me your Transifex username/email and I'll add you. And if you wish I can add you to Spanish as well, let me know in the DM.

  • Ronald replied on the discussion topic Getting cronjobs to work
    Thanks, Jerome Bakker. The cron job now gets activated every minute. However, the output (send in mail, while testing) says 'Scheme missing'. It does not seem to handle the expected function(s). Do you have any clue where I should look... view reply
  • Jerome Bakker replied on the discussion topic Getting cronjobs to work
    However, when I put /bin/sh: /home/<USERNAME>/domains/elgg.<OURDOMAIN>.nl/public_html/elgg/cron/minute/ or /bin/sh: /home/<USERNAME>/domains/elgg.<OURDOMAIN>.nl/public_html/elgg/cron/minute in a cron job, I get 'No... view reply
  • Ronald replied on the discussion topic Getting cronjobs to work
    Thanks for your responses. I still don't get it to work... I found that I can get a PHP-file activated at /bin/sh: /home/<USERNAME>/domains/elgg.<OURDOMAIN>.nl/public_html/elgg/<MYPHPSCRIPT>.php I had to set permissions... view reply
  • Nikolai Shcherbin replied on the discussion topic Getting cronjobs to work
    I've never used the Direct Admin panel but for our apps running on Elgg 2, we use crontab with this configuration: * * * * * /usr/bin/lwp-request -m GET -d https://app.name/elgg/cron/minute/ &>/dev/null */5 * * * *... view reply
  • Jerome Bakker replied on the discussion topic Getting cronjobs to work
    Hi Ronald, you got the url almost right, it should be elgg.mydomain.nl/elgg/cron/minute etc.. Have a look at http://learn.elgg.org/en/2.3/admin/cron.html for some more information. view reply
  • Ronald added a new discussion topic Getting cronjobs to work
    Hello, I'm a webmaster of a website. It currently still runs ELGG 2.x. We are moving to a new environment, where we use Direct Admin. The database and code are copied to the new environment, but I don't get the cron jobs to work. The site...
    • Thanks for your responses.

      I still don't get it to work...
      I found that I can get a PHP-file activated at
      /bin/sh: /home/<USERNAME>/domains/elgg.<OURDOMAIN>.nl/public_html/elgg/<MYPHPSCRIPT>.php
      I had to set permissions for that file, to refrain from getting 'Permission denied'

      However, when I put
      /bin/sh: /home/<USERNAME>/domains/elgg.<OURDOMAIN>.nl/public_html/elgg/cron/minute/
      or
      /bin/sh: /home/<USERNAME>/domains/elgg.<OURDOMAIN>.nl/public_html/elgg/cron/minute
      in a cron job, I get 'No such file or directory'.

      Do I have to set specific rights to a certain file? Do I have to run anything? There is no file nor directory 'cron' in my elgg-directory.

      The server I currently use is not yet available on the internet without redirecting in my hosts-file, but that should not prevent it from working with its own cron jobs, should it?

      Thanks for (more) help...

      Ronald

    • However, when I put
      /bin/sh: /home/<USERNAME>/domains/elgg.<OURDOMAIN>.nl/public_html/elgg/cron/minute/
      or
      /bin/sh: /home/<USERNAME>/domains/elgg.<OURDOMAIN>.nl/public_html/elgg/cron/minute
      in a cron job, I get 'No such file or directory'.

      You need to do a wget https://elgg.mydomain.nl/elgg/cron/minute

      This is not the same as executing a .php file. Please read the documentation carefully. Or read Nikolai's comment again that does the same as the documentation.

    • Thanks, Jerome Bakker.

      The cron job now gets activated every minute.

      However, the output (send in mail, while testing) says 'Scheme missing'. It does not seem to handle the expected function(s). Do you have any clue where I should look to solve this?

      Ronald

  • nikos replied on the discussion topic CKEditor and mediaEmbed issue on Elgg5
    Thank you @rivervanrain. Somehow I missed this code, I had focused on vendors/ckeditor5 folder. view reply
  • Nikolai Shcherbin replied on the discussion topic CKEditor and mediaEmbed issue on Elgg5
    Never used CKEditor but maybe this is a reason of your issue: removePlugins: [       'MediaEmbedToolbar', // is not yet supported in CKEditor5 but throws console warning       'MediaEmbed', //... view reply
  • nikos added a new discussion topic CKEditor and mediaEmbed issue on Elgg5
    Hello. I have tried to insert the mediaEmbed button on CKEditor5/Elgg5 (5.1.4) using the plugin settings. Even the mediaEmbed plugin exists on CKEditor5 as I can see...
    • Never used CKEditor but maybe this is a reason of your issue:

      removePlugins: [
            'MediaEmbedToolbar', // is not yet supported in CKEditor5 but throws console warning
            'MediaEmbed', // this plugin only provides backend oembed support. Can be enabled by plugin that provides frontend support
            'TodoList' // disable this by default as we do not allow input form elements in htmlawed
      ]
      in \mod\ckeditor\views\default\ckeditor\config\base.js
       
    • Thank you @rivervanrain. Somehow I missed this code, I had focused on vendors/ckeditor5 folder.