All Site Activity

  • mohamed mohsen added a new discussion topic add widget button in the group Beginning Developers
    i want to add (add widget )button that when you click it , it pop  up all default widgets to add in your own page , i know it is already implemented in profile and dashboard pages but i want to implement it inside my own designed page also 
  • Read this and especially this reply tl;dr It seems to be the SELinux that restricts the read/write permissions. I set SELinux to the permissive mode for testing and the 'Cache path is not writable' error is gone. view reply
  • Robert C added a new discussion topic Installation fails with "The site secret is not set." in the group Elgg Technical Support
    Following http://learn.elgg.org/en/stable/intro/install.html , installation abruptly stops with "The site secret is not set". Doesn't matter if I do it through the web installer (by visiting mypage.example/install.php ) or by using...
    • Only this...

      I can’t help you anymore because I don’t use CentOS (in fact, I don’t understand why people choose it).
      I believe this is a common bug for all CentOS users.

      If you don't find help here then refer to specialized sites with advanced CentOS users.

    • Robert,

      When I installed Elgg 3.3.16 on the same system as yours, I did not have the site secret issue. But I encountered it later when trying to migrate Elgg 2.x data to Elgg3.x database.

      I did not use 'vendor/elgg/elgg/elgg-cli' like you did when installing Elgg. I do not know if that is the cause of this issue or not. What I did was running 'vendor/bin/elgg-cli install' inside the project directory.

      With that being said, below is how I debug this site secret issue. 

      1. If you have an access to your MariaDB server, you can get the site secret from the config table - select value from {prefix}config where name like '%site_secret%';. 

      2. If the query above returns a value, then copy it (only string inside the double quotes) and paste it to the elgg-config/settings.php - $CONFIG->__site_secret__ = 'paste your site secret here';

    • @Nikolai:

      That thread is still revolving around permissions issues with the elgg directories. I've already checked all of that several times over.

      I use CentOS because I'm familiar with the Red Hat ecosystem and use it for all of my projects. I've not had any major issues configuring a CentOS server to run anything to this extent before.

      If this actually is a really common scenario, that apparently there's something about the CentOS environment that is consistently causing issues for people, would it be worth it at this point to file a bug on the Github issue tracker? I was originally thinking that my issues were rooted in dumb newbie mistakes that could be easily rectified, so I avoided posting my issue there. Now that I'm seeing that issues with CentOS are not particularly rare, I'm becoming more inclined to file an issue.

      @seri_ng:

      Thanks much for the hint about the config value in the settings file. I tried setting my own temporary dummy site secret in the hopes I could at least get Elgg to 'boot' properly and let me reset it automatically, but alas there is now a different error about an SQL query failure, which implies there's more deep-seated breakage in the database than I have much of a chance at fixing by hand being completely new to Elgg.

  • Nikolai Shcherbin replied on the discussion topic 3.3.16 bug
    Confirmed. PR is added. view reply
  • And replied on the discussion topic 3.3.16 bug
    Hm... 1. Fresh installation Elgg 3.3.16 and login as admin. 2. Deactivate plugins: Friends, Friend Collections, Invite Friends. 3. Create the group: group1 4. Go menu Goups, then click the link "group1", go to the right bottom and... view reply
  • daniyaree replied on the discussion topic Elgg 3.3.16 gives white page with php 8.0
    According to the tech guys at web-hosting company, the issue is due to is due to incompatible PDO signatures between the products core and PHP8. Any idea how to fix it and not happen it again? Thanks. PHP Fatal error: Declaration of... view reply
  • daniyaree replied on the discussion topic Elgg 4 beta
    So, the "master" there is actually equivalent to elgg 4 beta? Thanks. view reply
  • daniyaree added a new discussion topic Elgg 3.3.16 gives white page with php 8.0 in the group Elgg Technical Support
    Trying Elgg 3.3.16 FRESH default install with no extra plugins This code in htaccess gives normal landing page, normal admin login page and normal site AddHandler application/x-httpd-php74 .php .php5 .php4 .php3 This gives white...
    • According to the tech guys at web-hosting company, the issue is due to is due to incompatible PDO signatures between the products core and PHP8. Any idea how to fix it and not happen it again? Thanks.

      PHP Fatal error:  Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) in /home/xxxx/xxxxdotcom/elgg3/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 81
    • Elgg 3.x isn't compatible with PHP 8.

      You'll have to wait until Elgg 4 is released, that has support for PHP 8

    • @Jerome Bakker   is the master version at github equivalent to Elgg 4 OR unlike other Elgg releases is it possible to release an Elgg 4 beta as php 8 is new and there will be many wrinkles to smooth out in the Elgg-php8x combination?

      Does this also mean as php7.4 will be nearing EOL, all Elgg 2x and 3x versions will stop working or will be there be patches to make it work in php8x? Thanks.

  • Abdulaziz added a new discussion topic I am not receiving the activation message in the group Performance and Scalability
    When registering a new member, the activation message does not arrive in the mail Although I used to use Unvalidatedemailchange but after deactivating it the problem still remains
  • Reuven replied on the discussion topic Slow response ofdatabase Elgg 2.3.16
    Thank you Nikolai Very useful view reply
  • Nikolai Shcherbin replied on the discussion topic Using Elgg as university Landing page
    I don't understand how the landing page for university differs from another website but you can try this plugin. You can find more examples on Showcase page. Or look at our social apps. You can try a demo site even. If you want a... view reply
  • Nikolai Shcherbin replied on the discussion topic Elgg 4 beta
    You can't because Elgg is still under development. But you can try it as is. view reply
  • Nikolai Shcherbin replied on the discussion topic Slow response ofdatabase Elgg 2.3.16
    To much 'joins' The question is how to speed up the process.   Try to optimize and tune MySQL   Use multiple database connections.   Upgrade to Elgg 3.   Test and test again view reply
  • leroyh added a new discussion topic Using Elgg as university Landing page in the group General Discussion
    Dear all,  We are from a small private university and would like to use Elgg as a landing page/community page for university students and faculty - linking them to various services available to both face to face and online students. I have...
  • daniyaree added a new discussion topic Elgg 4 beta in the group Elgg Technical Support
    Where/how can I download Elgg 4 beta? Mainly I want to - try my hands at upgrading from 3 to 4 - max size of one db table in 4, with normal routine use for a niche, small site - test with current 3x plugins, how they work in 4 - php...
  • daniyaree replied on the discussion topic How to increase the size of the blog post ?
    Thanks for this helpful information. view reply
  • Hermand Pessek added a new discussion topic Elgg - Missing authorization headers on Apache in the group Beginning Developers
    Hello everyone, I am working on a custom plugin that requires "Apache authentication headers to be passed through by default".  So I am using Apache 2 with mod_php that allow s "Apache authentication headers to...
  • Reuven added a new discussion topic Slow response ofdatabase Elgg 2.3.16 in the group Plugin Development
    I'm working on a boosting feature which shows the boosted items (for fee) on the first page of 'All' or 'River'. Item's owner can characterize the users who will see the boosted item, e.g. gender, age-range, location,...
    • Simple experiment – Excellent results

      Disclaimer: May upset Relational DB experts :)

      In our case we have 13 filters, each is based on one metadata. For each filter we need 2 Joins (for the metadata and metastring tables) and Wheres with 2 sections (for the metadata name.id and the value). All together 26 Joins and 26 wheres., some of them are quite heavy like calculation the distance between two geographical point on the globe.

      However, the page is very slow with 7 filters, and dead with 10 or more.

      So, we did a simple experiment. We added a table to the Elgg database with foreign key e.guid and duplicated the relevant metadatas as columns in the new table. The query is composed of one Join (with elgg_entities) and 13 Wheres.

      Now the page loads in about a second.

      Of course, this is not the best practice but it may be a solution.

      We would appreciate any reflection on this experiment.

      Is it safe?

      Are there other alternatives?

      Do future versions of Elgg have solutions to such problem?

      Thank you.

    • In Elgg 3 the normalization of the metadata/metastring table was removed. This will help in speeding up those kind of queries.

      Time to update ;)

  • iionly replied on the discussion topic How to increase the size of the blog post ?
    Blog post size is limited by column type in the database that holds the content of the post. Before Elgg 3 a blog post was saved in the objects_entity table as type TEXT (maximum length 64kB). Larger posts would only be possible by changing the type... view reply
  • iionly replied on the discussion topic Elgg security issues - please advise
    Security issues should be reported to security@elgg.org! view reply