Support » Plugin: PHP Everywhere » Warning: mysql_query()

  • Hello. I’ve tried to make a simple sql query, but I receive several of warnings.

    Warning: mysql_query(): Access denied for user ”@’localhost’ (using password: NO) in /home/platne/ultimate/public_html/po2019/wp-content/plugins/php-everywhere/shortcode.php(15) : eval()’d code on line 3

    Warning: mysql_query(): A link to the server could not be established in /home/platne/ultimate/public_html/po2019/wp-content/plugins/php-everywhere/shortcode.php(15) : eval()’d code on line 3

    Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/platne/ultimate/public_html/po2019/wp-content/plugins/php-everywhere/shortcode.php(15) : eval()’d code on line 4

    Warning: mysql_free_result() expects parameter 1 to be resource, boolean given in /home/platne/ultimate/public_html/po2019/wp-content/plugins/php-everywhere/shortcode.php(15) : eval()’d code on line 9

    2 years ago, similar codes were working fine with your plugin, no something has change and I desperately need your help.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Alexander Fuchs

    (@alexander_fuchs)

    Hi appndown, your code has multiple syntax errors. It seems like you forgot to set a password when opening the database connection.

    Hi Alexander, many thanks for your reply.
    I am using the same database as my wordpress does. Just added few tables. Should I open another connection to my database?

    Plugin Author Alexander Fuchs

    (@alexander_fuchs)

    The warning states that you need to use a password to access the database.

    ok I will try to make another connection to my db. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: mysql_query()’ is closed to new replies.