#389 Call to a member function quote() in editor.php on line 45

4.0.3
closed-out-of-date
nobody
5
2014-08-08
2014-03-05
TheCry
No

If i use the editor-403.php (download from your site) i got an error after login with root to mysql

Fatal error: Call to a member function quote() on a non-object in /var/www/editor.php on line 45

I'd checked this issue on different servers.
OS: Debian 7.4
PHP: 5.4.4

Related

Bugs and Features: #389

Discussion

  • Post awaiting moderation.
  • Jakub Vrána
    Jakub Vrána
    2014-03-06

    • status: open --> closed-out-of-date
     
  • Jakub Vrána
    Jakub Vrána
    2014-03-06

    This has been already fixed in Git.

     
    • leo
      leo
      2014-03-12

      What is Git?

       
  • leo
    leo
    2014-03-12

    I have just downloaded Adminer editor compiled file today and after dropping it in the Apache server navigated to it, tried to log in, but got error:

    Fatal error: Call to a member function quote() on a non-object in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\adminer331-kahi\editor.php on line 45.

    So, after some Google search I have changed editor on line 45

    from
    q($S){global$k;return$k->quote($S);}function

    to
    q($S){global$h;return$h->quote($S);}function

    and it then allowed me to log in, but the tables on the left have missing names, just some boxes you can cick. Morevover, I couldn't see a way to select database or don't know how to get to particular database or where I specify which database to use. I hope someone can help me to fix this.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks