"Undefined index: writable" and "Undefined index: readable"

Issue #272 resolved
Kevin Wojniak created an issue

Apache is logging these warnings. Lines reported: 1625, 4410

I believe the array keys need to be checked with isset() before use.

Comments (5)

  1. Christopher Kramer
    • changed status to open

    Ah right, this happens when $databases is defined in the config and $directory is false

  2. Christopher Kramer
    • changed status to new

    Hmm, no. I cannot reproduce it. Even in this case, writable and readable should be defined. Can you give more details about your configuration?

  3. Christopher Kramer
    • changed status to open

    Ah, sorry. It happens if you manually define the databases and one of the files is missing.

  4. phpLiteAdmin repo owner

    If database files are defined manually and one of them is missing, no NOTICE error will appear anymore. The file will be created once clicked, if permissions allow to. Fixes issue #272.

    → <<cset 6d59d36f096e>>

  5. Log in to comment