I'm getting an invalid SQL error on Step 8.
(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_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '='
Error Number : 1267
Request Date : Monday, December 21st 2009 @ 09:29:12 PM
Error Date : Monday, December 21st 2009 @ 09:29:12 PM
Script : http://www.<>.org/forums/install/upg...0a1.php?step=8
Referrer : http://www.<>.org/forums/install/upg...0a1.php?step=7
IP Address : <myip>
Username :
Classname : vB_Database
MySQL Version : 5.1.30
**********
any ideas on this?
(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_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '='
Error Number : 1267
Request Date : Monday, December 21st 2009 @ 09:29:12 PM
Error Date : Monday, December 21st 2009 @ 09:29:12 PM
Script : http://www.<>.org/forums/install/upg...0a1.php?step=8
Referrer : http://www.<>.org/forums/install/upg...0a1.php?step=7
IP Address : <myip>
Username :
Classname : vB_Database
MySQL Version : 5.1.30
**********
any ideas on this?
Comment