Closed (outdated)
Project:
Elysia Cron
Version:
6.x-2.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Oct 2012 at 15:17 UTC
Updated:
26 Apr 2016 at 16:41 UTC
Jump to comment: Most recent
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.