Clicking creating a database without a name fails with wrong error
Issue #152
resolved
Originally reported on Google Code with ID 152
What steps will reproduce the problem?
Click "Create" in the sidebar to create a db without entering a name.
What is the expected output? What do you see instead?
Expected: An error that I did not enter a name.
Instead:
Warning: file_get_contents(./): failed to open stream: No such file or directory in
.../phpliteadmin.php on line 780
There was a problem setting up your database, ./. An attempt will be made to find out
what's going on so you can fix the problem more easily.
Checking supported SQLite PHP extensions...
Reported by crazy4chrissi
on 2012-11-21 18:57:19
Comments (7)
-
reporter -
reporter Okay, I catched the error. No error messages appears now. I think "creating" error messages up there is currently done in an not-perfect way. Maybe we should improve this someday while adding an error message for this here.
Reported by
crazy4chrissi
on 2012-11-21 19:46:30 - Status changed:Started
-
reporter This is almost fixed, having an error message is only a low-priority enhancement.
Reported by
crazy4chrissi
on 2013-03-01 00:18:15 - Labels added: Type-Enhancement, Priority-Low - Labels removed: Type-Defect, Priority-Medium -
I'd prefer the "create new database" form to have its own page, leaving just a link in the left column (like in PMA). It would then be easier to have a proper descriptive text and show error messages.
Reported by
dreadnaut
on 2013-03-02 16:27:57 -
It could also be a testbed for a more structured action->result->output->page rendering pipeline :-p
Reported by
dreadnaut
on 2013-03-02 17:31:59 -
repo owner - edited description
- changed status to resolved
Solved with commit dabee7be2e91ac86b42ee24ebdb5acb4621515cc
-
repo owner - changed milestone to 1.9.8
-
assigned issue to
- edited description
- Log in to comment
Reported by
crazy4chrissi
on 2012-11-21 18:57:54