• TATO_KF

    (@tato_kf)


    Hello, The plugin was working well in windows host, but when i moved to linux host, it gives me these errors,

    `Warning: mysql_query(): Access denied for user ”@’localhost’ (using password: NO) in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 148

    Warning: mysql_query(): A link to the server could not be established in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 148

    Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 150

    Warning: mysql_query(): Access denied for user ”@’localhost’ (using password: NO) in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 151

    Warning: mysql_query(): A link to the server could not be established in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 151

    Warning: mysql_query(): Access denied for user ”@’localhost’ (using password: NO) in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 160

    Warning: mysql_query(): A link to the server could not be established in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 160

    Warning: mysql_query(): Access denied for user ”@’localhost’ (using password: NO) in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 162

    Warning: mysql_query(): A link to the server could not be established in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 162

    Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 163

    Warning: mysql_query(): Access denied for user ”@’localhost’ (using password: NO) in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 164

    Warning: mysql_query(): A link to the server could not be established in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 164

    Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 165

    Warning: mysql_query(): Access denied for user ”@’localhost’ (using password: NO) in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 166

    Warning: mysql_query(): A link to the server could not be established in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 166

    Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 166

    Warning: mysql_query(): Access denied for user ”@’localhost’ (using password: NO) in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 167

    Warning: mysql_query(): A link to the server could not be established in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 167

    Warning: mysql_result() expects parameter 1 to be resource, boolean given in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 167

    Warning: mysql_query(): Access denied for user ”@’localhost’ (using password: NO) in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 168

    Warning: mysql_query(): A link to the server could not be established in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 168

    Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 168

    Warning: mysql_query(): Access denied for user ”@’localhost’ (using password: NO) in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 169

    Warning: mysql_query(): A link to the server could not be established in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 169

    Warning: mysql_result() expects parameter 1 to be resource, boolean given in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 169

    Warning: mysql_query(): Access denied for user ”@’localhost’ (using password: NO) in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 170

    Warning: mysql_query(): A link to the server could not be established in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 170

    Warning: mysql_result() expects parameter 1 to be resource, boolean given in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 170

    Warning: mysql_query(): Access denied for user ”@’localhost’ (using password: NO) in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 172

    Warning: mysql_query(): A link to the server could not be established in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 172

    Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 172

    Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/hakawyelasary/public_html/wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 173`

    I tried everything but nothing getting it work, Please help me with this.

    Thank You

    Tamer EL Kafrawy

    https://www.ads-software.com/plugins/mechanic-visitor-counter/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Tamer,

    I doubt it has anything to do with your change from a Windows to a Unix host.

    The mysql_query() used in the plugin was depreciated in PHP 5.5.0.

    Also it might be a better idea to use the WordPress built-in wpdb-class to connect to the database.

    However, I repaired the plugin by changing the functions causing the warnings and failure of the plugin ??

    Hello I got the same problem as above, please when you will update that functions to mach with PHP 5.5+ I have more than 20 clients use this bit now their blame

    @mrina: This plugin hasn’t been updated for 3 years … do you really think it will be updated now? ??

    @wp_hela OMG, maybe can you help how to solve the problem my friend wp_hela, if you dont care I’ll donate for your support please contact me via [email protected] !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: mysql_query(): Access denied for user ''@'localhost' (using password: N’ is closed to new replies.