SMF Support > IPB

Actually getting help with Invision...

<< < (2/3) > >>

Oldiesmann:
Once you're in phpMyAdmin, select the database that SMF is using, then click on the "SQL" tab and paste that in the box, replacing prefix_ with your database prefix.

marcamillion:
I tried that and this is the error that I get


--- Code: ---ERROR: Unknown Punctuation String @ 55
STR: ==
SQL: UPDATE smf_members SET avatar='blank.gif' WHERE avatar==NULL || avatar == ''
SQL-query : 

UPDATE smf_members SET avatar='blank.gif' WHERE avatar==NULL || avatar == ''

MySQL said:


#1064 - You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '==NULL || avatar == ''' at line 1
--- End code ---

what should I do ??  :(

[Unknown]:
Actually, that's wrong.  Try this:

UPDATE smf_members SET avatar='' WHERE avatar = NULL

Can you give a link?

-[Unknown]

marcamillion:
the link is....http://www.fiwishop.com/SMF-MBoard/index.php [nofollow]

I am also trying to do buttons for the rest of the site also.

[Unknown]:
Try...

UPDATE smf_members SET avatar='' WHERE avatar = 'noavatar'

-[Unknown]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version