Skip to content

Access denied for user ''@'localhost' in /assets/modules/docfinder/functions.php on line 735 #6

Description

@q2apro
  • Modx Evolution 1.1.0
  • DocFinder 1.6 from official download page

After installation, opening the module page, using the "String search" it is shown:

Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /assets/modules/docfinder/functions.php on line 735

Warning: mysql_real_escape_string(): A link to the server could not be established in /assets/modules/docfinder/functions.php on line 735

On stackoverflow it was said we should use mysqli_real_escape_string() instead, but that requires to pass a $db object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions