Support Forum

Problem when posting on wordpress now

MA madmacman
madmacman
Member

hi there,

have just encountered a strange problem which suddenly appeared, when posting a post i get this errors:

Warning: mysql_ping() [function.mysql-ping]: Access denied for user ‘******‘@’localhost’ (using password: NO) in /problem-with-post-edit-buttonome/******/public_html/wp-content/plugins/simple-press/sp-api/sp-api-error.php on line 145

Warning: mysql_ping() [function.mysql-ping]: A link to the server could not be established in /problem-with-post-edit-buttonome/******/public_html/wp-content/plugins/simple-press/sp-api/sp-api-error.php on line 145

Warning: mysql_affected_rows() [function.mysql-affected-rows]: A link to the server could not be established in /problem-with-post-edit-buttonome/******/public_html/wp-content/plugins/simple-press/sp-api/sp-api-wpdb.php on line 227

Warning: Cannot modify header information – headers already sent by (output started at /problem-with-post-edit-buttonome/******/public_html/wp-content/plugins/simple-press/sp-api/sp-api-error.php:145) in /problem-with-post-edit-buttonome/******/public_html/wp-includes/pluggable.php on line 866

we use  wp super cache but both forum and blog pages excluded and haven’t changed anything and was working fine the other day.

5 Answers

New Answer

MP Mr Papa
Mr Papa
Member

looks like there was issues connecting to your mysql db…  I would verify that its actually running… are they still occurring?  if so, I would go into the db via phpmyadmin and do a repair on the database tables…

MA madmacman
madmacman
Member

thank you for the suggestion, did worked. Thanks for the great support.

Just a question: when i look at the link:

Join the forum discussion on this post

located on my blog here

it’s directing it to a https page and i had to force it to go to the http? is there a reason for going to https?

 

cheers

YS Yellow Swordfish
Yellow Swordfish
Member

Well I see it as being set to https and it also loads the correct page! This url is created by the WordPress function get_permalink($post_id) so it is the WP core that thinks it is running under https. Do you have any entries in your wp-config.php file that define the use of SSL? That would be the usual reason I believe and is the first thing to check.

On your database issue I would urge you to add something like the wp-dbmanager Wp plugin which you can schedule to perform optimisations of your db on a regular basis. It makes sense for ALL users of a MySQL database to do this and will greatly aid in both minimising problems with the DB and maximising query performance.

MA madmacman
madmacman
Member

great support and thank you fro the tip ,installed db-database manager and makes sense to install. Thanks very much for the tip and your support. great stuff smile