opless / phpliteadmin

Automatically exported from code.google.com/p/phpliteadmin
0 stars 0 forks source link

Writabale issues. #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
-------------------------------------------------------------------
The database, '', does not exist and cannot be created because the containing 
directory, '', is not writable. The application is unusable until you make it 
writable.
--------------------------------------------------------------------
I`m getting this error when trying to create a table etc.
in the same folder i have another sqlite 2 db which is operated by sqladmin.php 
( another sql admin ) and this one works fine, but this one doesn’t have the 
option to alter table , and phpLiteAdmin has , which is very useful.

The database1.sqlite is created by the phpLiteAdmin.php before triggering the 
error.
I`m using it on a local pc.

Original issue reported on code.google.com by solfune...@gmail.com on 14 Apr 2011 at 12:57

GoogleCodeExporter commented 9 years ago
Can you please copy and paste your configuration options here? (Just the 
database paths, no password, of course).

Original comment by ian.aldr...@gmail.com on 14 Apr 2011 at 2:02

GoogleCodeExporter commented 9 years ago
This is the default conf.
$databases = array
(
    array
    (
        "path"=> "database1.sqlite", //path to database file on server relative to phpliteadmin.php (this file you are editing)
        "name"=> "Database 1" //name of database to appear in application
    ),
    array
    (
        "path"=> "database2.sqlite",
        "name"=> "Database 2"
    )
);

And the db is in the same folder as phpliteadmin.
And another error that i`m geting is .

Fatal PHP Error: Floating point division by zero

Original comment by solfune...@gmail.com on 14 Apr 2011 at 2:49

GoogleCodeExporter commented 9 years ago
Sorry , must be from my php conf or somthing , testit it with WAMPSERVER and 
work perfectly.
Grate Job 

Original comment by solfune...@gmail.com on 14 Apr 2011 at 3:02

GoogleCodeExporter commented 9 years ago
Alrighty then... If the issue occurs again and seems to be caused by something 
else, feel free to make a new issue.

Either way, thanks for taking time to report an issue.

Original comment by ian.aldr...@gmail.com on 14 Apr 2011 at 4:16