質問編集履歴
2
composerコマンド実行時のカレントディレクトリ追記。誤字修正。初心者アイコン追加。
test
CHANGED
File without changes
|
test
CHANGED
@@ -146,7 +146,7 @@
|
|
146
146
|
|
147
147
|
[:db_insert_placeholder_4] => 97
|
148
148
|
|
149
|
-
[:db_insert_placeholder_5] => a:140:{s:8:"activity";a:13:{s:33:"activity_visibility_access_filter";a:2:{s:5:"title";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:26:"Activity visibility access";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:6:"filter";a:4:{s:5:"title";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:26:"Activity visibility access";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:4:"help";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:31:"Enable activity access control.";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:5:"field";s:16:"field_visibility";s:2:"id";s:26:"activity_visibility_access";}}s:38:"activity_post_visibility_access_filter";a:2:{s:5:"title";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:31:"Activity post visibility access";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:6:"filter";a:4:{s:5:"title";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:31:"Activity post visibility access";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:4:"help";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:57:"Enable activity access control for related post entities.";s:12:"*arguments";a:0:{}s:10:"*options";a:0:
|
149
|
+
[:db_insert_placeholder_5] => a:140:{s:8:"activity";a:13:{s:33:"activity_visibility_access_filter";a:2:{s:5:"title";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:26:"Activity visibility access";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:6:"filter";a:4:{s:5:"title";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:26:"Activity visibility access";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:4:"help";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:31:"Enable activity access control.";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:5:"field";s:16:"field_visibility";s:2:"id";s:26:"activity_visibility_access";}}s:38:"activity_post_visibility_access_filter";a:2:{s:5:"title";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:31:"Activity post visibility access";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:6:"filter";a:4:{s:5:"title";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:31:"Activity post visibility access";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:4:"help";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:57:"Enable activity access control for related post entities.";s:12:"*arguments";a:0:{}s:10:"*options";a:0:
|
150
150
|
|
151
151
|
:
|
152
152
|
|
@@ -154,7 +154,7 @@
|
|
154
154
|
|
155
155
|
:
|
156
156
|
|
157
|
-
{s:10:"left_table";s:2
|
157
|
+
{s:10:"left_table";s:28:"taxonomy_term_field_revision";}s:21:"taxonomy_term__parent";a:1:{s:10:"left_table";s:21:"taxonomy_term__parent";}s:30:"taxonomy_term_revision__parent";a:1:{s:10:"left_table";s:30:"taxonomy_term_revision__parent";}}s:11:"entity type";s:13:"taxonomy_term";s:5:"group";r:2723;}}s:17:"views_entity_user";a:1:{s:5:"table";a:3:{s:4:"join";a:3:{s:5:"users";a:1:{s:10:"left_table";s:5:"users";}s:16:"users_field_data";a:1:{s:10:"left_table";s:16:"users_field_data";}s:11:"user__roles";a:1:{s:10:"left_table";s:11:"user__roles";}}s:11:"entity type";s:4:"user";s:5:"group";r:1204;}}}
|
158
158
|
|
159
159
|
[:db_insert_placeholder_6] => 1
|
160
160
|
|
@@ -216,12 +216,6 @@
|
|
216
216
|
|
217
217
|
```
|
218
218
|
|
219
|
-
|
220
|
-
|
221
|
-
ここでつまずくので、ディストリビューションは一つも__イタリックテキスト__インストール出来ていません。
|
222
|
-
|
223
|
-
|
224
|
-
|
225
219
|
### 該当のソースコード
|
226
220
|
|
227
221
|
ディストリビューションによって変わりますが、
|
@@ -230,7 +224,7 @@
|
|
230
224
|
|
231
225
|
```ここに言語名を入力
|
232
226
|
|
233
|
-
composer create-project opigno/opigno-composer opigno
|
227
|
+
C:\xampp\htdocs>composer create-project opigno/opigno-composer opigno
|
234
228
|
|
235
229
|
```
|
236
230
|
|
@@ -238,12 +232,30 @@
|
|
238
232
|
|
239
233
|
```
|
240
234
|
|
241
|
-
composer create-project goalgorilla/social_template:dev-master opensocial --no-interaction
|
235
|
+
C:\xampp\htdocs>composer create-project goalgorilla/social_template:dev-master opensocial --no-interaction
|
242
236
|
|
243
237
|
```
|
244
238
|
|
245
239
|
などです。
|
246
240
|
|
241
|
+
|
242
|
+
|
243
|
+
**追記2**
|
244
|
+
|
245
|
+
xamppはCドライブにインストールしています(C:\xampp\)
|
246
|
+
|
247
|
+
composerコマンドを実行したときのカレントディレクトリは、Drupal単体時、ディストリビューション時どちらも同じ(C:\xampp\htdocs)です。
|
248
|
+
|
249
|
+
Drupalインストール時のコマンドを追記します。
|
250
|
+
|
251
|
+
```
|
252
|
+
|
253
|
+
C:\xampp\htdocs>composer create-project drupal-composer/drupal-project:8.x-dev drupal8-com --stability dev --no-interaction
|
254
|
+
|
255
|
+
```
|
256
|
+
|
257
|
+
|
258
|
+
|
247
259
|
### 試したこと
|
248
260
|
|
249
261
|
調べてみて、自分なりに有効そうだと思ったことをいくつかやってみました。
|
1
②「サイトのインストール」の段階で発生したエラーについて、一例としてOpen Socialインストール時のエラーを具体的に載せました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -70,6 +70,154 @@
|
|
70
70
|
|
71
71
|
|
72
72
|
|
73
|
+
**追記**
|
74
|
+
|
75
|
+
Open Socialをインストールした場合、「サイトのインストール」の段階で下記のエラーメッセージが表示されます。
|
76
|
+
|
77
|
+
```
|
78
|
+
|
79
|
+
Notice: Undefined index: gvbo in install_profile_modules() (line 1587 of core\includes\install.core.inc).
|
80
|
+
|
81
|
+
install_profile_modules(Array) (Line: 631)
|
82
|
+
|
83
|
+
install_run_task(Array, Array) (Line: 577)
|
84
|
+
|
85
|
+
install_run_tasks(Array, NULL) (Line: 117)
|
86
|
+
|
87
|
+
install_drupal(Object) (Line: 44)
|
88
|
+
|
89
|
+
Notice: Trying to get property 'sort' of non-object in install_profile_modules() (line 1587 of core\includes\install.core.inc).
|
90
|
+
|
91
|
+
install_profile_modules(Array) (Line: 631)
|
92
|
+
|
93
|
+
install_run_task(Array, Array) (Line: 577)
|
94
|
+
|
95
|
+
install_run_tasks(Array, NULL) (Line: 117)
|
96
|
+
|
97
|
+
install_drupal(Object) (Line: 44)
|
98
|
+
|
99
|
+
Notice: Undefined index: gvbo in install_profile_modules() (line 1595 of core\includes\install.core.inc).
|
100
|
+
|
101
|
+
install_profile_modules(Array) (Line: 631)
|
102
|
+
|
103
|
+
install_run_task(Array, Array) (Line: 577)
|
104
|
+
|
105
|
+
install_run_tasks(Array, NULL) (Line: 117)
|
106
|
+
|
107
|
+
install_drupal(Object) (Line: 44)
|
108
|
+
|
109
|
+
Notice: Trying to get property 'info' of non-object in install_profile_modules() (line 1595 of core\includes\install.core.inc).
|
110
|
+
|
111
|
+
install_profile_modules(Array) (Line: 631)
|
112
|
+
|
113
|
+
install_run_task(Array, Array) (Line: 577)
|
114
|
+
|
115
|
+
install_run_tasks(Array, NULL) (Line: 117)
|
116
|
+
|
117
|
+
install_drupal(Object) (Line: 44)
|
118
|
+
|
119
|
+
```
|
120
|
+
|
121
|
+
また、このエラーが表示されている間にもインストールは進み、途中で別のエラー(下記)が追加で表示され、そこから先に進めなくなります。
|
122
|
+
|
123
|
+
```
|
124
|
+
|
125
|
+
An AJAX HTTP error occurred.
|
126
|
+
|
127
|
+
HTTP Result Code: 200
|
128
|
+
|
129
|
+
Debugging information follows.
|
130
|
+
|
131
|
+
Path: /opensocial/html/core/install.php?rewrite=ok&profile=social&langcode=ja&continue=1&id=1&op=do_nojs&op=do
|
132
|
+
|
133
|
+
StatusText: OK
|
134
|
+
|
135
|
+
ResponseText: Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: INSERT INTO {cache_default} (cid, expire, created, tags, checksum, data, serialized) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6) ON DUPLICATE KEY UPDATE cid = VALUES(cid), expire = VALUES(expire), created = VALUES(created), tags = VALUES(tags), checksum = VALUES(checksum), data = VALUES(data), serialized = VALUES(serialized); Array
|
136
|
+
|
137
|
+
(
|
138
|
+
|
139
|
+
[:db_insert_placeholder_0] => views_data:ja
|
140
|
+
|
141
|
+
[:db_insert_placeholder_1] => -1
|
142
|
+
|
143
|
+
[:db_insert_placeholder_2] => 1589785569.534
|
144
|
+
|
145
|
+
[:db_insert_placeholder_3] => config:core.extension views_data
|
146
|
+
|
147
|
+
[:db_insert_placeholder_4] => 97
|
148
|
+
|
149
|
+
[:db_insert_placeholder_5] => a:140:{s:8:"activity";a:13:{s:33:"activity_visibility_access_filter";a:2:{s:5:"title";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:26:"Activity visibility access";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:6:"filter";a:4:{s:5:"title";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:26:"Activity visibility access";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:4:"help";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:31:"Enable activity access control.";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:5:"field";s:16:"field_visibility";s:2:"id";s:26:"activity_visibility_access";}}s:38:"activity_post_visibility_access_filter";a:2:{s:5:"title";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:31:"Activity post visibility access";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:6:"filter";a:4:{s:5:"title";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:31:"Activity post visibility access";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:4:"help";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:57:"Enable activity access control for related post entities.";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:5:"field";s:16:"field_visibility";s:2:"id";s:31:"activity_post_visibility_access";}}s:25:"activity_profile_argument";a:2:{s:5:"title";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:25:"Activity profile argument";s:12:"*arguments";a:0:{}s:10:"*options";a:0:{}}s:8:"argument";a:3:{s:5:"title";O:48:"Drupal\Core\StringTranslation\TranslatableMarkup":3:{s:9:"*string";s:25:"Activity profile argument";s:12:"*arguments";a:0:{}s:10:"*options";a:0:
|
150
|
+
|
151
|
+
:
|
152
|
+
|
153
|
+
~似たようなコードが続き~
|
154
|
+
|
155
|
+
:
|
156
|
+
|
157
|
+
{s:10:"left_table";s:22:"taxonomy_term_revision";}s:28:"taxonomy_term_field_revision";a:1:{s:10:"left_table";s:28:"taxonomy_term_field_revision";}s:21:"taxonomy_term__parent";a:1:{s:10:"left_table";s:21:"taxonomy_term__parent";}s:30:"taxonomy_term_revision__parent";a:1:{s:10:"left_table";s:30:"taxonomy_term_revision__parent";}}s:11:"entity type";s:13:"taxonomy_term";s:5:"group";r:2723;}}s:17:"views_entity_user";a:1:{s:5:"table";a:3:{s:4:"join";a:3:{s:5:"users";a:1:{s:10:"left_table";s:5:"users";}s:16:"users_field_data";a:1:{s:10:"left_table";s:16:"users_field_data";}s:11:"user__roles";a:1:{s:10:"left_table";s:11:"user__roles";}}s:11:"entity type";s:4:"user";s:5:"group";r:1204;}}}
|
158
|
+
|
159
|
+
[:db_insert_placeholder_6] => 1
|
160
|
+
|
161
|
+
)
|
162
|
+
|
163
|
+
in Drupal\views\ViewsData->cacheSet() (line 211 of C:\xampp\htdocs\opensocial\html\core\modules\views\src\ViewsData.php).Uncaught exception thrown in session handler.Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT 1 AS expression
|
164
|
+
|
165
|
+
FROM
|
166
|
+
|
167
|
+
{sessions} sessions
|
168
|
+
|
169
|
+
WHERE sid = :db_condition_placeholder_0; Array
|
170
|
+
|
171
|
+
(
|
172
|
+
|
173
|
+
[:db_condition_placeholder_0] => EyKS2b0A8h5CTy2oG5iEtKZhXhkgdzICJdq-eLD5gwg
|
174
|
+
|
175
|
+
)
|
176
|
+
|
177
|
+
in Drupal\Core\Session\SessionHandler->write() (line 84 of C:\xampp\htdocs\opensocial\html\core\lib\Drupal\Core\Session\SessionHandler.php). Drupal\Core\Session\SessionHandler->write('pERmak_n1irdQS3Sht-TRXPnBVGc4I7e2urF2YCqlNM', '_symfony_flashes|a:1:{s:5:"error";a:4:{i:0;O:25:"Drupal\Core\Render\Markup":1:{s:9:"*string";s:414:"<em class="placeholder">Notice</em>: Undefined index: gvbo in <em class="placeholder">install_profile_modules()</em> (line <em class="placeholder">1587</em> of <em class="placeholder">core\includes\install.core.inc</em>). install_profile_modules(Array) (Line: 631)
|
178
|
+
|
179
|
+
install_run_task(Array, Array) (Line: 577)
|
180
|
+
|
181
|
+
install_run_tasks(Array, NULL) (Line: 117)
|
182
|
+
|
183
|
+
install_drupal(Object) (Line: 44)
|
184
|
+
|
185
|
+
";}i:1;O:25:"Drupal\Core\Render\Markup":1:{s:9:"*string";s:436:"<em class="placeholder">Notice</em>: Trying to get property 'sort' of non-object in <em class="placeholder">install_profile_modules()</em> (line <em class="placeholder">1587</em> of <em class="placeholder">core\includes\install.core.inc</em>). install_profile_modules(Array) (Line: 631)
|
186
|
+
|
187
|
+
install_run_task(Array, Array) (Line: 577)
|
188
|
+
|
189
|
+
install_run_tasks(Array, NULL) (Line: 117)
|
190
|
+
|
191
|
+
install_drupal(Object) (Line: 44)
|
192
|
+
|
193
|
+
:
|
194
|
+
|
195
|
+
~似たようなコードが続き~
|
196
|
+
|
197
|
+
:
|
198
|
+
|
199
|
+
";}i:3;O:25:"Drupal\Core\Render\Markup":1:{s:9:"*string";s:436:"<em class="placeholder">Notice</em>: Trying to get property 'info' of non-object in <em class="placeholder">install_profile_modules()</em> (line <em class="placeholder">1595</em> of <em class="placeholder">core\includes\install.core.inc</em>). install_profile_modules(Array) (Line: 631)
|
200
|
+
|
201
|
+
install_run_task(Array, Array) (Line: 577)
|
202
|
+
|
203
|
+
install_run_tasks(Array, NULL) (Line: 117)
|
204
|
+
|
205
|
+
install_drupal(Object) (Line: 44)
|
206
|
+
|
207
|
+
";}}}_sf2_meta|a:4:{s:1:"u";i:1589785434;s:1:"c";i:1589785250;s:1:"l";s:7:"2000000";s:1:"s";s:43:"MA9yozX__PZp32SZIV1G_5de1aC3P5ipmnIXLGn4mBM";}batches|a:1:{i:1;b:1;}_sf2_attributes|a:0:{}')
|
208
|
+
|
209
|
+
session_write_close()
|
210
|
+
|
211
|
+
Notice: Undefined offset: 0 in C:\xampp\htdocs\opensocial\html\core\lib\Drupal\Core\Utility\Error.php on line 122
|
212
|
+
|
213
|
+
Notice: Undefined index: file in C:\xampp\htdocs\opensocial\html\core\includes\errors.inc on line 80
|
214
|
+
|
215
|
+
Notice: Undefined index: line in C:\xampp\htdocs\opensocial\html\core\includes\errors.inc on line 81
|
216
|
+
|
217
|
+
```
|
218
|
+
|
219
|
+
|
220
|
+
|
73
221
|
ここでつまずくので、ディストリビューションは一つも__イタリックテキスト__インストール出来ていません。
|
74
222
|
|
75
223
|
|