vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Step 9) Albums System Alterations (https://vborg.vbsupport.ru/showthread.php?t=240183)

raicars 04-10-2010 05:26 PM

Step 9) Albums System Alterations
 
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

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/showt...=1#post1926850

raicars 04-10-2010 06:34 PM

Quote:

Originally Posted by borbole (Post 2019079)
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

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

borbole 04-10-2010 06:38 PM

Quote:

Originally Posted by raicars (Post 2019095)
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

Code:

SHOW VARIABLES LIKE 'coll%';
=>
Code:

collation_connection    latin1_swedish_ci

      collation_database    utf8_general_ci

      collation_server    utf8_general_ci

but when run query

Code:

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


But upgrade 3.8.5 => 4.0.2
it's very good


All times are GMT. The time now is 10:30 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01109 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete