Warning: Table '(site)_site.domain_editor' doesn't exist query: SELECT domain_id FROM domain_editor WHERE uid = 1 in /home8/(site)/public_html/includes/database.mysql.inc on line 135

Warning: Cannot modify header information - headers already sent by (output started at /home8/(site)/public_html/includes/database.mysql.inc:135) in /home8/breadcom/public_html/includes/bootstrap.inc on line 725

Warning: Cannot modify header information - headers already sent by (output started at /home8/(site)/public_html/includes/database.mysql.inc:135) in /home8/breadcom/public_html/includes/bootstrap.inc on line 726

Warning: Cannot modify header information - headers already sent by (output started at /home8/(site)/public_html/includes/database.mysql.inc:135) in /home8/(site)/public_html/includes/bootstrap.inc on line 727

Warning: Cannot modify header information - headers already sent by (output started at /home8/(site)/public_html/includes/database.mysql.inc:135) in /home8/(site)/public_html/includes/bootstrap.inc on line 728

Fatal error: Call to undefined function filter_xss() in /home8/(site)/public_html/includes/common.inc on line 655
------------------------------------
This happened when I upload the module folder to the /sites/modules/ directory. I have the following tables in my database
domain
domain_access
domain_alias
domain_conf
domain_prefix
domain_source
domain_theme
domain_user

Should I delete these and reinstall? I don't want to delete anything I actually need.

Apache 2.2.19
PHP 5.2.17
MySQL 5.1.56

I also have the domain_ctools installed.

Comments

fuquam’s picture

Version: 6.x-2.5 » 6.x-2.11

I have the subdomain module installed as well. Could there be a conflict with that module?

agentrickard’s picture

Sounds like you upgraded from an older version of Domain Access (6.x.1 to 6.x.2) but did not update the database.

See the notes in UPGRADE.txt and make sure that domain_update_6200() through domain_update_6206() have run correctly.

agentrickard’s picture

It also sounds like you either:

a) Have the domain include in settings.php when you have the module disabled.

b) Have the module (or an older version of it) still enabled.

What does this return?

>mysql SELECT * FROM system WHERE name = 'domain';
agentrickard’s picture

And sites/modules is not a valid directory for loading modules. I bet you have an old copy lying around.

fuquam’s picture

Status: Active » Fixed

Thanks all. Deleted all relevant database tables and reinstalled. It did the trick.

agentrickard’s picture

Status: Fixed » Closed (works as designed)