Database error in vBulletin 4.0.3:
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 vb_package AS package
LEFT JOIN vb_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 vb_contenttype AS contenttype
INNER JOIN vb_package AS package ON package.packageid = contenttype.packageid
LEFT JOIN vb_product AS product ON product.productid = package.productid
WHERE product.active = 1
OR package.productid = 'vbulletin' );
MySQL Error : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (latin1_german1_ci,IMPLICIT) for operation '='
Error Number : 1267
Request Date : Sunday, May 23rd 2010 @ 11:23:38 PM
Error Date : Sunday, May 23rd 2010 @ 11:23:38 PM
Script :
http://localhost/vbulletin4/blog.php
Referrer :
http://localhost/vbulletin4/forum.php
IP Address : ::1
Username : est3ban129
Classname : vB_Database
MySQL Version : 5.1.41