scj_1to2_db_converter

Axcel
Posts: 1403
Joined: Sun Dec 09, 2012 12:43 pm

Re: scj_1to2_db_converter

Post by Axcel »

сделал:
MariaDB [axcel_s3]> ALTER TABLE `rot_pages` DROP `template_content_limit`;
Query OK, 0 rows affected (0.03 sec)
Records: 0 Duplicates: 0 Warnings: 0

вот это получил при конвертации:
-sh-4.2$ php scj_1to2_db_converter.php
SCJ v1 Host:


SCJ v1 DB name: axcel_s3

Type 'md5' if you want gallery slugs to be gallery_md5 or just hit enter

Copy history table? (default no, type yes if you need it, most likely no):

Copy traders (27.308400154114, 27.308400154114)
Coping table admins (27.315019130707, 0.0066189765930176)
Coping table admin_access_log (27.327453136444, 0.012434005737305)
Coping table admin_sessions (27.32998919487, 0.0025360584259033)
Coping table blacklist (27.341840982437, 0.011851787567139)
Coping table browsers (27.343266010284, 0.00142502784729)
Coping table forces (27.344391107559, 0.0011250972747803)
Coping table functions_data (27.345589160919, 0.0011980533599854)
Coping table ga_categories (27.349493980408, 0.0039048194885254)
Coping table ga_sites (27.350901126862, 0.0014071464538574)
Coping table inrules (27.35223197937, 0.0013308525085449)
Coping table ips (27.353435993195, 0.0012040138244629)
Coping table language (27.354719161987, 0.0012831687927246)
Coping table links (27.355725049973, 0.0010058879852295)
Coping table outrules (27.356997013092, 0.0012719631195068)
Coping table out_ips (27.358872175217, 0.0018751621246338)
Coping table out_ips2trader (27.360285997391, 0.0014138221740723)
Coping table quality_settings (27.361466169357, 0.0011801719665527)
Coping table refs (27.363097190857, 0.0016310214996338)
Coping table reports (27.364541053772, 0.0014438629150391)
Coping table rot_cell_data (27.366280078888, 0.0017390251159668)
Coping table rot_cell_skimming (27.367572069168, 0.0012919902801514)
Coping table rot_groups (27.369189977646, 0.0016179084777832)
Coping table rot_groups_data (27.374402999878, 0.0052130222320557)
Coping table rot_models (27.378180027008, 0.003777027130127)
Coping table rot_models_data (27.379961013794, 0.0017809867858887)
Coping table rot_sponsors (27.381358146667, 0.0013971328735352)
Coping table rot_sponsors_data (27.393512010574, 0.01215386390686)
Coping table rot_crop_profiles (27.404012203217, 0.010500192642212)
Coping table rot_pages (27.406847000122, 0.0028347969055176)
Coping table rot_replacements (27.419391155243, 0.01254415512085)
Coping table rot_import_sets (27.420653104782, 0.0012619495391846)
Coping table rot_search_queries (27.422204017639, 0.0015509128570557)
Coping table rot_servers (27.423598051071, 0.0013940334320068)
Coping table rot_users (27.425198078156, 0.0016000270843506)
Coping table skim_rules (27.426745176315, 0.00154709815979)
Coping table tds_rules (27.42843914032, 0.0016939640045166)
Coping table tds_schemes (27.43009018898, 0.0016510486602783)
Coping table toplists (27.431196212769, 0.0011060237884521)
Coping table trader_groups (27.433570146561, 0.0023739337921143)
Copy settings (28.108033180237, 0.67446303367615)
Copy rotation settings (28.15783405304, 0.049800872802734)
Coping galleries DB. Total galleries: 2 (28.187564134598, 0.029730081558228)
No thumbs for Array
(
[gallery_md5] => 7815696ecbf1c96e6894b779456d330e
[url] => 7815696ecbf1c96e6894b779456d330e
[source_url] => 7815696ecbf1c96e6894b779456d330e
[rot_content_id] => 0
[embed_template] => content_page
[embed_code] => asd
[flv_url] =>
[flv_size_x] => 0
[flv_size_y] => 0
[flv_thumb_url] =>
[tags] =>
[casts] => 0
[clicks] => 0
[rating] => 0
[crop_profile_id] => 1
[thumbs] => a:1:{i:0;s:26:"http://smartcj.com/1/1.jpg";}
[grab_options] => a:4:{s:5:"cp_th";b:1;s:3:"cnt";i:15;s:2:"gt";s:1:"a";s:4:"cp_t";s:3:"ucp";}
[gallery_owner] =>
[last_checked] => 0
[comment] =>
)
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: scj_1to2_db_converter

Post by admin »

Coping galleries DB. Total galleries: 2

слейв?
можно пропустить тогда
Don't forget to run script update
Axcel
Posts: 1403
Joined: Sun Dec 09, 2012 12:43 pm

Re: scj_1to2_db_converter

Post by Axcel »

слейв.
в базе нет галерей после конвертации. категории есть. галерей нет.
что делать?
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: scj_1to2_db_converter

Post by admin »

в базе слейва их и не должно быть
галеры в базе мастера
Don't forget to run script update
Axcel
Posts: 1403
Joined: Sun Dec 09, 2012 12:43 pm

Re: scj_1to2_db_converter

Post by Axcel »

вот именно, их не видно. пусто.
галеры не отображаются на слейве. на слейве в базе пусто.
screenshot-2020.04.14-23_29_56.png
screenshot-2020.04.14-23_29_56.png (3.87 KiB) Viewed 2580 times
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: scj_1to2_db_converter

Post by admin »

надо расконектить от масетра и законектить снова
Don't forget to run script update
Axcel
Posts: 1403
Joined: Sun Dec 09, 2012 12:43 pm

Re: scj_1to2_db_converter

Post by Axcel »

извиняюсь. ошибся. переношу кучу сайтов, запутался уже.
Это не слейв!
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: scj_1to2_db_converter

Post by admin »

там пишет что 2 галеры, я не думаю что там какой-то рабочий мастер
Don't forget to run script update
Axcel
Posts: 1403
Joined: Sun Dec 09, 2012 12:43 pm

Re: scj_1to2_db_converter

Post by Axcel »

в мастере 2500 галер. конвертить не хочет.
что сделать в этой ситуации?
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: scj_1to2_db_converter

Post by admin »

в логе который вы скинули написано 2 галеры

100% вы что-то годе-то перепутали
Don't forget to run script update
Post Reply