Ticket Change Details
Error running fossil-stats-table.php
- Change icomment to:
I am trying out the SO theme which looks quite neat. I need to run the fossil-stats-table.php to populate the database. I am just trying out the script as stand-alone on the desktop and have added the full path to my repos by adjusting L28 to $repos = glob("/FULL/PATH/HERE/*.fossil") .
I am running into he following error. I am not familiar with PHP but can't see anything obvious wrong with this. Any advice?
This is the output I am getting:
< li >Kicad2PK PHP Warning: PDO::query(): SQLSTATE[HY000]: General error: 11 malformed database schema (artifact) - near "(": syntax error in /Users/johnpateman/Desktop/fossil-stats-table.php on line 105
PHP Fatal error: Call to a member function fetchAll() on boolean in /Users/johnpateman/Desktop/fossil-stats-table.php on line 105
Configuration: macOS 10.12.6 / Fossil 2.5 [Built with --with-tcl=1 --with-tcl-private-stubs=1 --with-th1-hooks=1]
PHP 5.6.30 (cli) (built: Oct 29 2017 20:30:32) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
- Change login to "anonymous"
- Change mimetype to "text/x-fossil-wiki"
- Change severity to "Critical"
- Change status to "Open"
- Change title to "Error running fossil-stats-table.php"
- Change type to "Code_Defect"