[Solar-talk] Bookmarks Application doesn't work
Dennis Gädeke
dennis at higher-level.de
Wed Mar 21 06:38:28 PDT 2007
I have a problem with the example application Bookmarks.
I created a Solar.config.php with a default DB connection
$config['Solar_Sql'] = array(
'adapter' => 'Solar_Sql_Adapter_Sqlite',
'config' => array(
'name' => "/tmp/solar.sqlite",
)
);
but when i open the page with
http://localhost/index.php/Bookmarks
i get this error message
Fatal error: Uncaught exception 'PDOException' with message
'SQLSTATE[HY000]: General error: 1 no such table: nodes'
in /usr/share/php/Solar/Sql/Adapter.php:414
Stack trace:
#0 /usr/share/php/Solar/Sql/Adapter.php(414): PDO->prepare('SELECT??nodes.i...')
#1 /usr/share/php/Solar/Sql/Adapter.php(992): Solar_Sql_Adapter->query('SELECT??nodes.i...', Array)
#2 /usr/share/php/Solar/Sql/Adapter.php(879): Solar_Sql_Adapter->fetchResult(Array, Array)
#3 /usr/share/php/Solar/Sql/Adapter.php(769): Solar_Sql_Adapter->fetchAssoc(Array, Array, NULL)
#4 /usr/share/php/Solar/Sql/Select.php(950): Solar_Sql_Adapter->select('assoc', Array, Array, NULL)
#5 /usr/share/php/Solar/Content/Abstract.php(412): Solar_Sql_Select->fetch('assoc')
#6 /usr/share/php/Solar/Content/Bookmarks.php(89): Solar_Content_Abstract->fetchAll(NULL, Array, 'nodes.created D...', 1)
#7 /usr/share/php/Solar/App/Bookmarks.php(627): Solar_Content_Bookmarks->fetchAll(NULL, NULL, 'nodes.created D...', 1)
#8 /usr/share/php/Solar/Controller/Page.php(774): Solar_App_Bookmarks- in <b>/usr/share/php/Solar/Sql/Adapter.php on line 414
I have installed php 5.2.1 und php5-sqlite from the dotdeb repro und solar 0.27.1.
I hope you can help me to get the example running.
Dennis Gädeke
More information about the solar-talk
mailing list