PDA

View Full Version : Step 9) Albums System Alterations


raicars
04-10-2010, 05:26 PM
Please help me
I upgrade from vbb 3.8.5 to 4.0.3.
=> Step 9 database erro
Database error in vBulletin 3.8.5:

Invalid SQL:

(SELECT 'package' AS classtype, package.packageid AS typeid, package.packageid AS packageid,
package.productid AS productid, if(package.productid = 'vbulletin', 1, product.active) AS enabled,
package.class AS class, -1 as isaggregator
FROM package AS package
LEFT JOIN product AS product
ON product.productid = package.productid
WHERE product.active = 1
OR package.productid = 'vbulletin'
)

UNION

(SELECT 'contenttype' AS classtype, contenttypeid AS typeid, contenttype.packageid AS packageid,
1, 1, contenttype.class AS class , contenttype.isaggregator
FROM contenttype AS contenttype
INNER JOIN package AS package ON package.packageid = contenttype.packageid
LEFT JOIN product AS product ON product.productid = package.productid
WHERE product.active = 1
OR package.productid = 'vbulletin' );

MySQL Error : Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='
Error Number : 1267
Request Date : Sunday, April 11th 2010 @ 12:26:29 AM
Error Date : Sunday, April 11th 2010 @ 12:26:30 AM
Script : http://www.sinhvienyhanoi.net/forum/install/upgrade_400a1.php?step=9
Referrer :
IP Address : 58.187.73.139
Username :
Classname : vB_Database
MySQL Version : 5.0.77-log

Can you help me:confused::confused:

borbole
04-10-2010, 06:01 PM
Have a look at this solution I posted for another user that had the same problem as well. Hopefully it will work for you also.

http://www.vbulletin.com/forum/showthread.php?341507-Can-I-install-brand-new-installation-but-keep-existing-forums-threads-posts-users&p=1926850&viewfull=1#post1926850

raicars
04-10-2010, 06:34 PM
Have a look at this solution I posted for another user that had the same problem as well. Hopefully it will work for you also.

http://www.vbulletin.com/forum/showthread.php?341507-Can-I-install-brand-new-installation-but-keep-existing-forums-threads-posts-users&p=1926850&viewfull=1#post1926850

I has just test. But don't word :(:(

borbole
04-10-2010, 06:38 PM
I has just test. But don't word :(:(

What messages did you get when you ran those queries? It works 100%. I have applied that in different occasions and it worked every time.

raicars
04-11-2010, 03:27 PM
VBB 3.8.5 upgrade 4.0.3

when run query

SHOW VARIABLES LIKE 'coll%';=>
collation_connection latin1_swedish_ci

collation_database utf8_general_ci

collation_server utf8_general_cibut when run query

SET collation_connection='utf8_general_ci';it's not work:D


But upgrade 3.8.5 => 4.0.2
it's very good