I'm trying to run some Custom and Core Simpletests on my Multilanguage Project. (en, de, fr, it)

I set the default language to English and followed all the Troubleshooting Instructions from here https://drupal.org/node/394976 because I still get the AJAX HTTP errors that the simpletest tables could not be found:

Example:

Additional uncaught exception thrown while handling exception.OriginalPDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xx.simpletest213348semaphore' doesn't exist: SELECT expire, value FROM {semaphore} WHERE name = :name; Array ( [:name] => locale_cache_en ) in lock_may_be_available() (line 167 of /var/www/xx/site/includes/lock.inc).

Base table or view not found: 1146 Table 'xx.simpletest213348semaphore' doesn't exist: SELECT expire, value FROM {semaphore} WHERE name = :name; Array ( [:name] => locale_cache_en ) 

I don't know if it matters but the "root" of Drupal is a subfolder of the Project, like that:

  • Project XX
  • config
  • scripts
  • site => Drupal Core Folder

As soon as I run the test, the error appears. So it seems, no tables are created at all. I also could not find any solution by debugging the files.

Has anyone experiences the same problem and has found a Solution for that?

thnx

Comments

mahalo13’s picture

Assigned: mahalo13 » Unassigned
Category: Task » Support request
David_Rothstein’s picture

Could be a similar issue as #1823504: Unit tests (descendants of DrupalUnitTestCase) do not work when default site language is not English? Although the error message is slightly different.

mahalo13’s picture

Status: Active » Closed (won't fix)

The Problem is caused by the Language Fallback Module. So i will close this Issue.