PDA

View Full Version : some help please - some vb codes not working...


jjj0923
03-18-2002, 11:59 PM
this one is wierd.

since upgrading to 2.2.4 from 2.2.2 some of my vb codes are not working.
http:// works
IMG works

bold, italicize, underline, @, size, font and image DO NOT WORK.

I know the data is being stored in the database properly because I've checked and it's all there.

any ideas???

this one is driving me and a few of my forum members crazy!!!!!

what shows up in place of the data by postbit are numbers like 4, 7 and so on, but always single digit numbers...

wierd, very wierd...

- jeff

Admin
03-19-2002, 05:04 AM
Hmm, sounds like a problem with the regex (the numbers tell that). Did you change PHP or something?

jjj0923
03-19-2002, 09:35 AM
Firefly you are so right. Actually I did not change php code, but I did spent time digging into bbcode.php in the admin directory, then started poking around in the bbcode table in the database.

When I upgraded from 2.2.2 to 2.2.4 I also moved to another server. The server is hosted by an ISP which does not provide command prompt access, therefore I had to export and import the data tables one at a time using phpMyAdmin. As it turns out the bbcode tables uses a lot of backslashes in the bbcodereplacement field. The backslashes were dropped during the import process yielding the numeric field tokens as the output of bbcode.php. I compared the tables between 2.2.4 and my 2.2.2 backup and immediately saw the problem. Thanks for your help!

- jeff

Admin
03-19-2002, 02:01 PM
Ok, glad you got it fixed. :)