Does anyone have an idea of why I would get this error ?
PHP Fatal error: Uncaught Error: Call to undefined function db_table_exists()
I'm running a script from a working Drupal site, using bash to run an .sh script which has that in the script.
db_create_table also gives the same error.
Do I have to include a file to make these functions available when running from bash although I am running it from the docroot?