OK, on WP 2.3.1, vB 3.6.8, pretty much fresh installs, and I was getting the line 466 error, and the re-declaration error. I got rid of the line 466 error by replacing $vwd with the fully qualified path to my forum directory.
I also commented out line 400, as recommended earlier, the path to a now non-existent wp file.
Then I got the same thing as Blackhat.
Quote:
Originally Posted by Blackhat
...when I click SAVE or PUBLISH I get this
Quote:
Fatal error: Cannot redeclare sanitize_url() (previously declared in /home/xxxx/public_html/wp-includes/formatting.php:1118) in /home/xxxx/public_html/forum/includes/functions_wysiwyg.php on line 44
|
|
The function sanitize_url was recently added to Wordpress, and collides with a vB function of the same name.
The addition to WP is noted here:
http://trac.wordpress.org/changeset/6183
Open up the following 3 Wordpress files, and replace instances of 'sanitize_url' with 'wp_sanitize_url'
/wp-includes/default-filters.php
/wp-includes/formatting.php
/wp-includes/widgets.php
Party.
EDIT: Mebbe don't party yet - the auto-integrate seems to not be working properly vis-a-vis having a single sign-in for vB and WP right now, so I've turned it off for now, will report back once I've taken a closer look at it over the weekend. Everything else seems to function smoothly, it creates a post on the blog and starts a thread in the appropriate forum, so far.