OpenCATS icon indicating copy to clipboard operation
OpenCATS copied to clipboard

Develop Branch Currently Broken - Fresh install DB isn't fully populated or created

Open amaisonneuve opened this issue 6 years ago • 0 comments

Expected behavior and actual behavior.

All tables and including users tables should be created and prepopulated.

Currently only 17 tables are created:

Steps to reproduce the problem.

  • Drop all tables in the DB.
  • Re-install from scratch with a fresh DB.

What version of opencats are you running?

Development

Release or downloaded from Git?

WAMP or LAMP?

WAMP

What version of PHP and MySQL are you running

5.6

attach appropriate error logs. Please attach [apache/mysql] error/access logs as needed.

[03-Oct-2019 14:30:48 UTC] PHP Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in D:\dev\OpenCATS\lib\DatabaseConnection.php on line 367

[03-Oct-2019 14:30:48 UTC] PHP Stack trace:

[03-Oct-2019 14:30:48 UTC] PHP 1. {main}() D:\dev\OpenCATS\ajax.php:0

[03-Oct-2019 14:30:48 UTC] PHP 2. include() D:\dev\OpenCATS\ajax.php:115

[03-Oct-2019 14:30:48 UTC] PHP 3. include_once() D:\dev\OpenCATS\modules\install\ajax\ui.php:962

[03-Oct-2019 14:30:48 UTC] PHP 4. DatabaseConnection->getAllAssoc() D:\dev\OpenCATS\modules\install\ajax\attachmentsReindex.php:59

[03-Oct-2019 14:30:48 UTC] PHP 5. mysqli_fetch_assoc() D:\dev\OpenCATS\lib\DatabaseConnection.php:367

amaisonneuve avatar Oct 03 '19 14:10 amaisonneuve