SEO Test

September 26, 2007

Problems with AutoLink

Filed under: code — Crevete @ 6:56 am

Last night I was so pissed off I wanted to throw the laptop out the window and see if the apache feathers can make it fly.

Simultaneous MySQL server connections in WordPress don’t seem to work. The autolink plugin hooks to the core functions, opens the external link database with $open_link_db = mysql_connect(), performs table operations and then closes the connection with mysql_close($open_link_db);. Everything is fine until some (maybe not all) other functions need access to the wordpress database again. Like the sidebar for example:
Warning: mysql_error(): 6 is not a valid MySQL-Link resource in /home/wordpress/public_html/autolink/blog/wp-includes/wp-db.php on line 189
Theoretically this is unacceptable, but in practice the sidebar can be disabled and you get error-free output. I’ll get back to finish this plugin after I receive response from the WordPress support forum. I tell you, the automatic interlinking plugin is MONEY.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress