Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #262741

    Hi
    I get 2 errors when I use Google Maps. I get this:
    Warning: mysql_real_escape_string(): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2) in /home/u/u1201015/www/wp/wp-content/themes/enfold/framework/php/class-framework-widgets.php on line 1315

    Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u/u1201015/www/wp/wp-content/themes/enfold/framework/php/class-framework-widgets.php on line 1315

    Any ideas what this is?

    View the page/error at http://dev.enklating.se/enklating/

    #263097

    Hi Magnus!

    Try adding this line to the theme functions.php file:

    error_reporting(0);
    

    Best regards,
    Josue

    #310667

    Hi there!
    We keep receiving the same error when using maps as custom widget.
    I’ve removed custom widget from pages and substituted them with Map Media Element and the error is not occuring any more in the webpage, but we keep logging it in the error_log.
    Are there any reccomendation about debugging this error?

    error_reporting(0); is not showing much more informations in error_log.

    Thank you!

    #310768

    Hi!

    Thank you for the info.

    I think your host has a better chance of fixing the issue since it has to do with file permissions on mysql folder. Please contact your host for further information.

    Regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.