The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Please help me
I upgrade from vbb 3.8.5 to 4.0.3. => Step 9 database erro Code:
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
![]()
|
|
#2
|
||||
|
||||
|
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/showt...=1#post1926850 |
|
#3
|
|||
|
|||
|
Quote:
![]()
|
|
#4
|
||||
|
||||
|
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.
|
|
#5
|
|||
|
|||
|
VBB 3.8.5 upgrade 4.0.3
when run query Code:
SHOW VARIABLES LIKE 'coll%'; Code:
collation_connection latin1_swedish_ci
collation_database utf8_general_ci
collation_server utf8_general_ci
Code:
SET collation_connection='utf8_general_ci'; ![]() But upgrade 3.8.5 => 4.0.2 it's very good |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|