Support Forum
My error log is full of the errors similar to this:
I'm a bit confused as the directory path looks out of place (public_html{SMILIES_PATH}).
Shouldn't the path be public_htmlwp-contentsp-resourcesforum-smileys? Am I missing something? Maybe I missed the sp-api-filters.php file during an upgrage?
None that I can think of. There are quite a few plugins but all are for functional purposes, not adding smiley faces!
I did an html search of the site and the only mention of "smilies" is in /wp-includes/formatting.php. Searching for {smilies_path} in the database returns results in _sferrorlog and _sfposts... Hmmmm. I think I just figured it out!
The board was originally PHPBB and I used the SP importer, so I'm guessing this is the smiles path for PHPBB that was imported directly.
Yep, that's it! Looking at one of the results in the sfposts table I see [Image Can Not Be Found] in the actual post content. Editing 2500 posts is going to suck. I guess I'm lucking it's only 2500.
Anyway to update the importer so that code isn't parsed or imported? I would hate for someone else to have to go through the process.
Ah - is that how they do it. I didn't know that. perhaps we could consider introducing some exceptions for the import.
you could place the forum in maintenance mode (we have a plugin for this). Then export the 'sfposts' table to a SQL dump file. Edit it using a plain text editor - i.e., search and replace perhaps. And then import it back to your database. As long as you make a decent backup before you start and nobody makes any changes within the forum then that should work out.
YELLOW
SWORDFISH
|
1 Guest(s)