Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37677

Re: Databases: Functional db test fails, anybody?

$
0
0
by Jason [Moodle Enthusiast].  

I have the same issue as stated above!  i do see other failures as well.. but this is the exception.

i am glad to know we are OK at least with this one error.

Is there any way anyone could look over the other errors i get reported and see if any should be corrected?  Here is the lsit of what fails.

 

Exceptionlib/dml/simpletest/testdml.php /  dml_test /  test_update_record_raw
Unexpected PHP error [Creating default object from empty value] severity [E_WARNING] in [/home/blockall/public_html/learn/lib/dml/simpletest/testdml.php line 2316]
Faillib/dml/simpletest/testdml.php /  dml_test /  test_unique_index_collation_trouble
Unique index is accent insensitive, this may cause problems for non-ascii languages. This is usually caused by accent insensitive default collation. at [/home/blockall/public_html/learn/lib/dml/simpletest/testdml.php line 3361]
Exceptionlib/dml/simpletest/testdml.php /  dml_test /  test_unique_index_collation_trouble
Unexpected exception of type [dml_write_exception] with message [Error writing to database] in [/home/blockall/public_html/learn/lib/dml/moodle_database.php line 397]
Debug info:
Duplicate entry 'aäa' for key 'mdl_unittabl_nam_uix'
INSERT INTO mdl_unit_table (name) VALUES(?)
[array (
  0 => 'aäa',
)]
  • line 973 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 1015 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
  • line 3355 of /lib/dml/simpletest/testdml.php: call to mysqli_native_moodle_database->insert_record()
  • line ... of ...
Faillib/dml/simpletest/testdml.php /  dml_test /  test_sql_binary_equal
SQL operator "=" is expected to be accent sensitive at [/home/blockall/public_html/learn/lib/dml/simpletest/testdml.php line 3389]
Faillib/dml/simpletest/testdml.php /  dml_test /  test_sql_binary_equal
SQL operator "=" is expected to be case sensitive at [/home/blockall/public_html/learn/lib/dml/simpletest/testdml.php line 3392]
2/2 test cases complete: 1181 passes, 3 fails and 2 exceptions.
Run at Friday, 12 April 2013, 10:34 AM. Time taken: 1 min 46 secs. Using SimpleTest version 1.0.1.

Viewing all articles
Browse latest Browse all 37677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>