旧バージョンからv1.1.3へアップデート後のnc2移行でエラー
2022年11月17日 16時10分 [千寿福祉会]お世話になります。
今回はバージョン番号がつく前のconnect-cmsをバージョン番号1.1.3へ上げて移行しています。
バージョンアップ前はインポート、エクスポート共に正常に終わっていました。
% php artisan up
Application is now live.
% php -d allow_url_fopen=1 composer.phar install --no-dev
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package sebastian/resource-operations is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Discovered Package: fideloper/proxy
Discovered Package: intervention/image
Discovered Package: kalnoy/nestedset
Discovered Package: laravel/tinker
Discovered Package: laravelcollective/html
Discovered Package: nesbot/carbon
Package manifest generated successfully.
48 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
% php artisan config:clear
Configuration cache cleared!
% php artisan migrate
Nothing to migrate.
% php artisan db:seed
Seeding: DefaultPagesTableSeeder
Seeded: DefaultPagesTableSeeder (0.03 seconds)
Seeding: DefaultUsersTableSeeder
Seeded: DefaultUsersTableSeeder (0.01 seconds)
Seeding: DefaultUsersRolesTableSeeder
Seeded: DefaultUsersRolesTableSeeder (0 seconds)
Seeding: DefaultConfigsTableSeeder
Seeded: DefaultConfigsTableSeeder (0.05 seconds)
Seeding: DefaultPluginsTableSeeder
Seeded: DefaultPluginsTableSeeder (0.01 seconds)
Database seeding completed successfully.
% php -d memory_limit=512M artisan command:ExportNc2 all redo
page_id,block_id,category,message
,,Start exportNc2.,
,,Start this->nc2ExportBasic.,
,,Start this->nc2ExportUploads.,
,,Start nc2ExportUsers.,
,,Start nc2ExportRooms.,
,,Start nc2ExportJournal.,
,,Start nc2ExportBbs.,
,,Start nc2ExportMultidatabase.,
,,Start nc2ExportRegistration.,
,,Start nc2ExportLinklist.,
,,Start nc2ExportWhatsnew.,
page_id,block_id,category,message
,,新着:未対応プラグイン,action_names = cabinet
,,Start nc2ExportCabinet.,
,,Start nc2ExportCounter.,
,,Start nc2ExportCalendar.,
,,Start nc2ExportAbbreviateUrl.,
,,Page,page_id = 13
,,Page,page_id = 15
,,Page,page_id = 21
21,33,no migrate module,モジュール = photoalbum
,,Page,page_id = 16
,,Page,page_id = 17
,,Page,page_id = 18
,,Page,page_id = 19
,,Page,page_id = 20
% php artisan command:ImportSite all redo
page_id,block_id,category,message
,,importSite() Start.,
,,Basic import Start.,
,,uploads import Start.,
,,Users import Start.,
,,Blogs import Start.,
,,Databases import Start.,
,,Forms import Start.,
In MigrationTrait.php line 2561:
syntax error, unexpected '(' in /home/fukuaikai/www/ccms/storage/app/migrat
ion/import/forms/form_0001.txt on line 355
%
form_0001.txtの355行目は10の電話番号の部分でした。
[42]
1 = "名前です"
3 = "メルアド"
10 = "000-000-0000"
11 = "000-000-0000"
12 = "問い合わせ内容"