GithubHelp home page GithubHelp logo

adminer-custom's People

Contributors

gitsquared avatar justinhartman avatar peterpp avatar zzjin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adminer-custom's Issues

Theme looks different than the screenshot

I've just cloned the repo and setup adminer. And this is how it looks:

adminer-odd-theme

As you can see a lot of the things look different from the screenshot on the main readme:

  • All the a links are underlined.
  • The Select, Search, Sort & Modify, Selected, Import, Export take full length rather than a small width.
  • The SQL statement is not syntax highlighted.
  • The Sort and Search fields on each column look very odd.

For compariosn, here is the screenshot from the readme:

Screenshot from readme

Can adminer-custom be used with sqlite?

I was looking for a responsive theme for adminer, so thank you!

I used to have adminer working with sqlite, via...

<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
  function adminer_object() 
  {
    class AdminerSoftware extends Adminer
      {
        function login($login, $password)
          {
            return ($login == 'admin' && $password == '******');
          }

        function loginForm() {
          echo '
            <table cellspacing="0">
            <tbody>
            <tr><th>Username</th>
            <td><input id="username" name="auth[username]" type="text" /></td>
            </tr/gt;
            <tr><th>Password</th>
            <td><input name="auth[password]" type="password" /></td>
            </tr/gt;
            </tbody/gt;
            </table>
          ';

          echo '<input type="submit" value="Login" />';
          echo '<input name="auth[driver]" type="hidden" value="sqlite" />';
          echo '<input name="auth[db]" type="hidden" value="macanta_install.db" />';
        }

        function database() {
          // database name, will be escaped by Adminer
          return 'macanta_install.db';
        }
      }
    return new AdminerSoftware;
  }
include "./adminer.php";

It's not obvious to me (I'm not a coder), how to get adminer-custom working with sqlite.

Can you point me in the right direction?

Thanks.

Warning: Declaration of AdminerPlugin::messageQuery($query, $time) is not compatible

When installing the vanilla Adminer Custom database tool there is a warning on the login page:

Warning: Declaration of AdminerPlugin::messageQuery($query, $time) should be compatible 
with Adminer::messageQuery($G, $Vh, $Nc = false) in /path/to/webroot/plugins/plugin.php on line 0

My environment is using PHP 7.2.4 so I'm not sure if this warning exists on PHP 5.x but nonetheless the warning is real ๐Ÿ˜„

The plugin.php file supplied by Adminer Custom is outdated by comparison to the official Adminer plugin.php file and needs to be updated.

Here's the culprit in plugins/plugin.php contained within this repo:

function messageQuery($query, $time) {
    $args = func_get_args();
    return $this->_applyPlugin(__FUNCTION__, $args);
}

It should rather be as follows in accordance with the latest plugin.php file.

function messageQuery($query, $time, $failed = false) {
    $args = func_get_args();
    return $this->_applyPlugin(__FUNCTION__, $args);
}

I have submitted a Pull Request which fixes this warning message.

Network Unreachable for Servers Behind Cloudflare.

It's ideal not to select the default domain name as the server.
Leave it as a form field and let the users add their IP as the server, just like the default Adminer.

This will become an issue if the server is behind Cloudflare which will supply Cloudflare IP instead of the Origin IP.

Can't connect to MySQL server on 'admin.local.dev' (111)

Hello, I have a problem with adminer, I have a virtualhost responding to a local subdomain admin.local.dev, there have hosted repository and that's the mistake will not let me concetar that I can do, I have as user = root password = null

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.