Symbolic link problems

I Elgg structure is like this:

  • I have a link from /var/www/elgg to ~/elgg. Where ~ means /home/user.
  • My personal plugins are at ~/elgg_modules but I link them from ~/elgg/mod. For example, I have a link from ~/elgg/mod/event_calendar pointing to  ~/elgg_modules/event_calendar.

I have some plugins at ~/elgg_modules and all them work fine, except by event_calendar plugin.

I wonder if this is related with differences between use of $CONFIG->pluginspath and dirname(__FILE__) in the source code.

There is a known issue regarding unix symbolic links with event_calendar plugin? There is a workaround or a patch?

  • I played a little with $CONFIG->pluginspath and dirname(__FILE__) and them works the same for the start.php file. So I don't know yet what causes the problem.

    Anyway I noticed that the first kind of link I'm using is not the root of the problem (from /var/www/elgg to ~/elgg). The problem was solved by putting the event_calendar inside the elgg/mod directory without symbolic links.