Hi all, wondering if I can get a hand here as have been having the same problem repeatedly over the last two weeks.

I keep getting errors relating to DRUPAL_ROOT stating that the constant is not defined and reverts to the value of 'DRUPAL_ROOT' (string).

This in turn causes any include statements to fail and causes the entire site to fall over due to lack of includes.

I keep re-uploading the entire file structure and the error disappears when I do this, I have hosting with hostpapa and have contacted them, they say that they are not using cache systems if this is of any help...

Sorry, I'm just wondering if anyone has seen anything similar?

Comments

I'm also getting this error

I'm also getting this error as well...

Warning: array_flip() expects parameter 1 to be array, null given in DrupalDefaultEntityController->buildQuery() (line 275 of /home/untha561/public_html/includes/entity.inc).

Recoverable fatal error: Argument 2 passed to SelectQuery::fields() must be an array, null given, called in /home/untha561/public_html/includes/entity.inc on line 284 and defined in SelectQuery->fields() (line 1300 of /home/untha561/public_html/includes/database/select.inc).

nobody click here