-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDO: If empty database there is a stacktrace #349
Comments
one issue per one problem, please. does your problem go away if you record one profiling? previously all SQL errors were ignored, so as a result the error is now thrown that was previously ignored. |
Thanks for the fix. |
this isn't solved yet. the issue was closed automatically due to the merge and you reporting two problems in one issue. so only 50% is fixed. |
perhaps opening SQLite db creates the file. I'm thinking of lazy init the table if an error of unknown table occurs. |
Seems a good idea so it is less heavy for performance. |
also, you did not reply to my question:
|
Sorry I am testing everything now and I get this error inside XHGUI:
Also if I profile a page. |
The submit some profiling message dialog is already there
|
Initialize schema on PdoRepository construction: if someone wishes to make it on demand, I would not say no to a PR that does it portably :) |
Seems everything fixed now :-) |
I am getting
General error: 1 no such table: results
with an empty sqlite file.If I run xhgui in a page with tideways the error changes and the file now has some content.
I get another error
Undefined variable: direction
:Looking at
xhgui/src/Xhgui/Searcher/PdoSearcher.php
Line 116 in 9d02c13
So I guess that they are 2 different issues, an empty db that is not filled with tables and a bad refactoring (maybe?).
Ref: Varying-Vagrant-Vagrants/VVV#2261
The text was updated successfully, but these errors were encountered: