You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something in either header.inc or its chain of includes prevents the search indexing script from running. Looking at header.inc, it assumes that it is running in a web session and therefore is not appropriate to bootstrap the app environment. It is likely that one of those assumptions is preventing the CLI stuff from executing.
The text was updated successfully, but these errors were encountered:
Replacing this line with the following code can band-aid the problem. It doesn't fix header.inc not working for CLI stuff, but it at least keeps the indexer running.
/*********** * These are some shims for header.inc ***********/functiontmbo_query($sql, $timeout=2) {
global$link;
returnmysql_query($sql, $link);
}
functionis_intger($arg) {
return (is_numeric($arg) && floor($arg) == ceil($arg));
}
/*********** * End Shims ***********/
Something in either header.inc or its chain of includes prevents the search indexing script from running. Looking at header.inc, it assumes that it is running in a web session and therefore is not appropriate to bootstrap the app environment. It is likely that one of those assumptions is preventing the CLI stuff from executing.
The text was updated successfully, but these errors were encountered: