I've installed Elysia in site/all/modules/contrib so bootstrap.inc cannot be found.
I suggest to change
if (!file_exists('includes/bootstrap.inc') && preg_match('@^(.*)[\\\\/]sites[\\\\/][^\\\\/]+[\\\\/]modules[\\\\/]elysia(_cron)?$@', getcwd(), $r))
chdir($r[1]);
by
if (!file_exists('includes/bootstrap.inc') && preg_match('@^(.*)[\\\\/]sites[\\\\/][^\\\\/]+[\\\\/]modules[\\\\/].*elysia(_cron)?$@', getcwd(), $r))
chdir($r[1]);
Comments
Comment #1
Anonymous (not verified) commentedThanks OP, I had the same exact problem and your solution fixed it.
Comment #2
gantenx commentedFor sites where elysia_cron module is inside an installation profile, this pattern will works.
Comment #3
kala4ekDrupal 6 is not supported anymore.