質問編集履歴

11

更新

2018/10/05 07:22

投稿

nelo
nelo

スコア15

test CHANGED
File without changes
test CHANGED
@@ -252,6 +252,90 @@
252
252
 
253
253
 
254
254
 
255
+ [スタックトレース]
256
+
257
+ ```ここに言語を入力
258
+
259
+ Twig_Error_Runtime:
260
+
261
+ Variable "image" does not exist.
262
+
263
+
264
+
265
+ at /var/www/html/ec-cube/app/template/default/sample.twig:57
266
+
267
+ at __TwigTemplate_ad36445279859ce375110b80239150907458d5d1cbf6b17a0909e7c4c114797c->{closure}()
268
+
269
+ (/var/www/html/ec-cube/var/cache/dev/twig/de/dea9f2defaabe5bdeea9f0f42cbcc2419590e7e192caa9f9f85a46c25a53d9c3.php:110)
270
+
271
+ at __TwigTemplate_ad36445279859ce375110b80239150907458d5d1cbf6b17a0909e7c4c114797c->block_main(array('app' => object(AppVariable), 'BaseInfo' => object(BaseInfo), 'eccube_config' => object(EccubeConfig), 'Layout' => object(Layout), 'Page' => object(Page), 'title' => 'サンプル', 'layoutRoleMain' => 'ec-layoutRole__mainWithColumn', '_parent' => array('app' => object(AppVariable), 'BaseInfo' => object(BaseInfo), 'eccube_config' => object(EccubeConfig), 'Layout' => object(Layout), 'Page' => object(Page), 'title' => 'サンプル', 'layoutRoleMain' => 'ec-layoutRole__mainWithColumn')), array('stylesheet' => array(object(__TwigTemplate_7c4ba192c1521dd7412ec57bb202dfc0b6e32de0d4a8d051a98ae7739e09d734), 'block_stylesheet'), 'main' => array(object(__TwigTemplate_ad36445279859ce375110b80239150907458d5d1cbf6b17a0909e7c4c114797c), 'block_main'), 'javascript' => array(object(__TwigTemplate_7c4ba192c1521dd7412ec57bb202dfc0b6e32de0d4a8d051a98ae7739e09d734), 'block_javascript')))
272
+
273
+ (/var/www/html/ec-cube/vendor/twig/twig/lib/Twig/Template.php:189)
274
+
275
+ at Twig_Template->displayBlock('main', array('app' => object(AppVariable), 'BaseInfo' => object(BaseInfo), 'eccube_config' => object(EccubeConfig), 'Layout' => object(Layout), 'Page' => object(Page), 'title' => 'サンプル', 'layoutRoleMain' => 'ec-layoutRole__mainWithColumn'), array('stylesheet' => array(object(__TwigTemplate_7c4ba192c1521dd7412ec57bb202dfc0b6e32de0d4a8d051a98ae7739e09d734), 'block_stylesheet'), 'main' => array(object(__TwigTemplate_ad36445279859ce375110b80239150907458d5d1cbf6b17a0909e7c4c114797c), 'block_main'), 'javascript' => array(object(__TwigTemplate_7c4ba192c1521dd7412ec57bb202dfc0b6e32de0d4a8d051a98ae7739e09d734), 'block_javascript')))
276
+
277
+ (/var/www/html/ec-cube/var/cache/dev/twig/8a/8a236ec8c9fb9ede1f2e710f3c0877ec3724c9de9cdbede7fc6f0d451c21f9e1.php:255)
278
+
279
+ at __TwigTemplate_7c4ba192c1521dd7412ec57bb202dfc0b6e32de0d4a8d051a98ae7739e09d734->doDisplay(array('app' => object(AppVariable), 'BaseInfo' => object(BaseInfo), 'eccube_config' => object(EccubeConfig), 'Layout' => object(Layout), 'Page' => object(Page), 'title' => 'サンプル', 'layoutRoleMain' => 'ec-layoutRole__mainWithColumn'), array('stylesheet' => array(object(__TwigTemplate_7c4ba192c1521dd7412ec57bb202dfc0b6e32de0d4a8d051a98ae7739e09d734), 'block_stylesheet'), 'main' => array(object(__TwigTemplate_ad36445279859ce375110b80239150907458d5d1cbf6b17a0909e7c4c114797c), 'block_main'), 'javascript' => array(object(__TwigTemplate_7c4ba192c1521dd7412ec57bb202dfc0b6e32de0d4a8d051a98ae7739e09d734), 'block_javascript')))
280
+
281
+ (/var/www/html/ec-cube/vendor/twig/twig/lib/Twig/Template.php:390)
282
+
283
+ at Twig_Template->displayWithErrorHandling(array('app' => object(AppVariable), 'BaseInfo' => object(BaseInfo), 'eccube_config' => object(EccubeConfig), 'Layout' => object(Layout), 'Page' => object(Page), 'title' => 'サンプル'), array('stylesheet' => array(object(__TwigTemplate_7c4ba192c1521dd7412ec57bb202dfc0b6e32de0d4a8d051a98ae7739e09d734), 'block_stylesheet'), 'main' => array(object(__TwigTemplate_ad36445279859ce375110b80239150907458d5d1cbf6b17a0909e7c4c114797c), 'block_main'), 'javascript' => array(object(__TwigTemplate_7c4ba192c1521dd7412ec57bb202dfc0b6e32de0d4a8d051a98ae7739e09d734), 'block_javascript')))
284
+
285
+ (/var/www/html/ec-cube/vendor/twig/twig/lib/Twig/Template.php:367)
286
+
287
+ at Twig_Template->display(array('app' => object(AppVariable), 'BaseInfo' => object(BaseInfo), 'eccube_config' => object(EccubeConfig), 'Layout' => object(Layout), 'Page' => object(Page), 'title' => 'サンプル'), array('main' => array(object(__TwigTemplate_ad36445279859ce375110b80239150907458d5d1cbf6b17a0909e7c4c114797c), 'block_main')))
288
+
289
+ (/var/www/html/ec-cube/var/cache/dev/twig/de/dea9f2defaabe5bdeea9f0f42cbcc2419590e7e192caa9f9f85a46c25a53d9c3.php:34)
290
+
291
+ at __TwigTemplate_ad36445279859ce375110b80239150907458d5d1cbf6b17a0909e7c4c114797c->doDisplay(array('app' => object(AppVariable), 'BaseInfo' => object(BaseInfo), 'eccube_config' => object(EccubeConfig), 'Layout' => object(Layout), 'Page' => object(Page), 'title' => 'サンプル'), array('main' => array(object(__TwigTemplate_ad36445279859ce375110b80239150907458d5d1cbf6b17a0909e7c4c114797c), 'block_main')))
292
+
293
+ (/var/www/html/ec-cube/vendor/twig/twig/lib/Twig/Template.php:390)
294
+
295
+ at Twig_Template->displayWithErrorHandling(array('app' => object(AppVariable), 'BaseInfo' => object(BaseInfo), 'eccube_config' => object(EccubeConfig), 'Layout' => object(Layout), 'Page' => object(Page), 'title' => 'サンプル'), array('main' => array(object(__TwigTemplate_ad36445279859ce375110b80239150907458d5d1cbf6b17a0909e7c4c114797c), 'block_main')))
296
+
297
+ (/var/www/html/ec-cube/vendor/twig/twig/lib/Twig/Template.php:367)
298
+
299
+ at Twig_Template->display(array())
300
+
301
+ (/var/www/html/ec-cube/vendor/twig/twig/lib/Twig/Template.php:375)
302
+
303
+ at Twig_Template->render(array())
304
+
305
+ (/var/www/html/ec-cube/vendor/symfony/twig-bridge/TwigEngine.php:49)
306
+
307
+ at Symfony\Bridge\Twig\TwigEngine->render('@user_data/sample.twig', array())
308
+
309
+ (/var/www/html/ec-cube/vendor/symfony/twig-bundle/TwigEngine.php:45)
310
+
311
+ at Symfony\Bundle\TwigBundle\TwigEngine->render('@user_data/sample.twig', array())
312
+
313
+ (/var/www/html/ec-cube/vendor/symfony/framework-bundle/Controller/ControllerTrait.php:284)
314
+
315
+ at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('@user_data/sample.twig')
316
+
317
+ (Eccube/Controller/UserDataController.php:79)
318
+
319
+ at Eccube\Controller\UserDataController->index(object(Request), 'sample')
320
+
321
+ (/var/www/html/ec-cube/vendor/symfony/http-kernel/HttpKernel.php:151)
322
+
323
+ at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
324
+
325
+ (/var/www/html/ec-cube/vendor/symfony/http-kernel/HttpKernel.php:68)
326
+
327
+ at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
328
+
329
+ (/var/www/html/ec-cube/vendor/symfony/http-kernel/Kernel.php:200)
330
+
331
+ at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
332
+
333
+ (/var/www/html/ec-cube/index.php:54)
334
+
335
+ ```
336
+
337
+
338
+
255
339
  新規で作成した(http://●●●/user_data/sample)にパラメータを付与させ、ブラウザ上で表示させたいのですが
256
340
 
257
341
  どなたかわかる方いませんか?

10

更新

2018/10/05 07:21

投稿

nelo
nelo

スコア15

test CHANGED
File without changes
test CHANGED
@@ -248,7 +248,7 @@
248
248
 
249
249
  [新規ページ]
250
250
 
251
- ![イメージ説明](0b00326141ad211f8a9eb9871efd87e9.png)
251
+ ![イメージ説明](2cd5ac2e221667e551111df859356861.png)
252
252
 
253
253
 
254
254
 

9

更新

2018/10/05 06:26

投稿

nelo
nelo

スコア15

test CHANGED
File without changes
test CHANGED
@@ -248,7 +248,7 @@
248
248
 
249
249
  [新規ページ]
250
250
 
251
- ![イメージ説明](a1cd594b5980a613cccd6ffe4277a564.png)
251
+ ![イメージ説明](0b00326141ad211f8a9eb9871efd87e9.png)
252
252
 
253
253
 
254
254
 

8

更新

2018/10/05 06:24

投稿

nelo
nelo

スコア15

test CHANGED
File without changes
test CHANGED
File without changes

7

更新

2018/10/05 06:13

投稿

nelo
nelo

スコア15

test CHANGED
File without changes
test CHANGED
@@ -252,7 +252,7 @@
252
252
 
253
253
 
254
254
 
255
- 新規で作成した(http://●●●/user_data/sample)にパラメータを付与たいのですが
255
+ 新規で作成した(http://●●●/user_data/sample)にパラメータを付与させ、ブラウザ上で表示させたいのですが
256
256
 
257
257
  どなたかわかる方いませんか?
258
258
 

6

更新

2018/10/05 06:08

投稿

nelo
nelo

スコア15

test CHANGED
File without changes
test CHANGED
@@ -100,7 +100,9 @@
100
100
 
101
101
  ```
102
102
 
103
- ```[sample.twig]
103
+ [sample.twig]
104
+
105
+ ```
104
106
 
105
107
  {% extends 'default_frame.twig' %}
106
108
 

5

更新

2018/10/05 06:04

投稿

nelo
nelo

スコア15

test CHANGED
@@ -1 +1 @@
1
- kou[EC-CUBE4] パラメータの付与
1
+ [EC-CUBE4] パラメータの付与
test CHANGED
File without changes

4

更新

2018/10/05 06:03

投稿

nelo
nelo

スコア15

test CHANGED
@@ -1 +1 @@
1
- [EC-CUBE4] パラメータの付与
1
+ kou[EC-CUBE4] パラメータの付与
test CHANGED
@@ -98,7 +98,9 @@
98
98
 
99
99
 
100
100
 
101
+ ```
102
+
101
- ```[Sample.twig]
103
+ ```[sample.twig]
102
104
 
103
105
  {% extends 'default_frame.twig' %}
104
106
 
@@ -240,6 +242,8 @@
240
242
 
241
243
 
242
244
 
245
+
246
+
243
247
  [新規ページ]
244
248
 
245
249
  ![イメージ説明](a1cd594b5980a613cccd6ffe4277a564.png)

3

更新

2018/10/05 06:03

投稿

nelo
nelo

スコア15

test CHANGED
File without changes
test CHANGED
@@ -98,148 +98,144 @@
98
98
 
99
99
 
100
100
 
101
+ ```[Sample.twig]
102
+
103
+ {% extends 'default_frame.twig' %}
104
+
105
+ {% block main %}
106
+
107
+
108
+
109
+ <div id="container">
110
+
111
+
112
+
113
+ <div id="boxA">
114
+
115
+ <h3>サンプル開発</h3>
116
+
117
+
118
+
119
+ </div>
120
+
121
+
122
+
123
+ <div id="wrapper">
124
+
125
+
126
+
127
+ <div id="boxB">
128
+
129
+
130
+
131
+ <div class="item_visual">
132
+
133
+ {% for ProductImage in image %}
134
+
135
+ <div class="slide-item"><img src="{{ asset(ProductImage, 'save_image') }}"></div>
136
+
137
+ {% else %}
138
+
139
+ <div class="slide-item"><img src="{{ asset(''|no_image_product, 'save_image') }}"/></div>
140
+
141
+ {% endfor %}
142
+
143
+ </div>
144
+
145
+ </div>
146
+
147
+
148
+
149
+ <div id="boxC">
150
+
151
+ C(サイドバー1)
152
+
153
+ </div>
154
+
155
+ </div>
156
+
157
+
158
+
159
+ <div id="boxD">
160
+
161
+
162
+
163
+ {% macro tree(Category) %}
164
+
165
+
166
+
167
+ {% from _self import tree %}
168
+
169
+ <a href="{{ url('category', { Category_id : Category.id }) }}">
170
+
171
+
172
+
173
+ {{ Category.name }}
174
+
175
+ {# {% set size = Category.children | length %} ({{(size)}})#}
176
+
177
+ </a>
178
+
179
+
180
+
181
+ {% endmacro %}
182
+
183
+
184
+
185
+ {% from _self import tree %}
186
+
187
+
188
+
189
+ <div class="ec-cateoryNaviRole">
190
+
191
+ <div class="ec-itemNav">
192
+
193
+ <ul class="ec-itemNav__nav">
194
+
195
+ {% for Category in Category %}
196
+
197
+ <li>
198
+
199
+ {{ tree(Category) }}
200
+
201
+ </li>
202
+
203
+ {% endfor %}
204
+
205
+ </ul>
206
+
207
+ </div>
208
+
209
+ </div>
210
+
211
+
212
+
213
+ </div>
214
+
215
+
216
+
217
+ <div id="boxE">
218
+
219
+ E(フッタ)
220
+
221
+ </div>
222
+
223
+
224
+
225
+ </div>
226
+
227
+
228
+
229
+ </body>
230
+
231
+ </html>
232
+
233
+
234
+
235
+ {% endblock %}
236
+
101
237
  ```
102
238
 
103
- ```[Sample.twig]
104
-
105
-
106
-
107
- {% extends 'default_frame.twig' %}
108
-
109
- {% block main %}
110
-
111
-
112
-
113
- <div id="container">
114
-
115
-
116
-
117
- <div id="boxA">
118
-
119
- <h3>サンプル開発</h3>
120
-
121
-
122
-
123
- </div>
124
-
125
-
126
-
127
- <div id="wrapper">
128
-
129
-
130
-
131
- <div id="boxB">
132
-
133
-
134
-
135
- <div class="item_visual">
136
-
137
- {% for ProductImage in image %}
138
-
139
- <div class="slide-item"><img src="{{ asset(ProductImage, 'save_image') }}"></div>
140
-
141
- {% else %}
142
-
143
- <div class="slide-item"><img src="{{ asset(''|no_image_product, 'save_image') }}"/></div>
144
-
145
- {% endfor %}
146
-
147
- </div>
148
-
149
- </div>
150
-
151
-
152
-
153
- <div id="boxC">
154
-
155
- C(サイドバー1)
156
-
157
- </div>
158
-
159
- </div>
160
-
161
-
162
-
163
- <div id="boxD">
164
-
165
-
166
-
167
- {% macro tree(Category) %}
168
-
169
-
170
-
171
- {% from _self import tree %}
172
-
173
- <a href="{{ url('category', { Category_id : Category.id }) }}">
174
-
175
-
176
-
177
- {{ Category.name }}
178
-
179
- {# {% set size = Category.children | length %} ({{(size)}})#}
180
-
181
- </a>
182
-
183
-
184
-
185
- {% endmacro %}
186
-
187
-
188
-
189
- {% from _self import tree %}
190
-
191
-
192
-
193
- <div class="ec-cateoryNaviRole">
194
-
195
- <div class="ec-itemNav">
196
-
197
- <ul class="ec-itemNav__nav">
198
-
199
- {% for Category in Category %}
200
-
201
- <li>
202
-
203
- {{ tree(Category) }}
204
-
205
- </li>
206
-
207
- {% endfor %}
208
-
209
- </ul>
210
-
211
- </div>
212
-
213
- </div>
214
-
215
-
216
-
217
- </div>
218
-
219
-
220
-
221
- <div id="boxE">
222
-
223
- E(フッタ)
224
-
225
- </div>
226
-
227
-
228
-
229
- </div>
230
-
231
-
232
-
233
- </body>
234
-
235
- </html>
236
-
237
-
238
-
239
- {% endblock %}
240
-
241
- ```
242
-
243
239
 
244
240
 
245
241
 

2

更新

2018/10/05 06:00

投稿

nelo
nelo

スコア15

test CHANGED
File without changes
test CHANGED
@@ -100,6 +100,148 @@
100
100
 
101
101
  ```
102
102
 
103
+ ```[Sample.twig]
104
+
105
+
106
+
107
+ {% extends 'default_frame.twig' %}
108
+
109
+ {% block main %}
110
+
111
+
112
+
113
+ <div id="container">
114
+
115
+
116
+
117
+ <div id="boxA">
118
+
119
+ <h3>サンプル開発</h3>
120
+
121
+
122
+
123
+ </div>
124
+
125
+
126
+
127
+ <div id="wrapper">
128
+
129
+
130
+
131
+ <div id="boxB">
132
+
133
+
134
+
135
+ <div class="item_visual">
136
+
137
+ {% for ProductImage in image %}
138
+
139
+ <div class="slide-item"><img src="{{ asset(ProductImage, 'save_image') }}"></div>
140
+
141
+ {% else %}
142
+
143
+ <div class="slide-item"><img src="{{ asset(''|no_image_product, 'save_image') }}"/></div>
144
+
145
+ {% endfor %}
146
+
147
+ </div>
148
+
149
+ </div>
150
+
151
+
152
+
153
+ <div id="boxC">
154
+
155
+ C(サイドバー1)
156
+
157
+ </div>
158
+
159
+ </div>
160
+
161
+
162
+
163
+ <div id="boxD">
164
+
165
+
166
+
167
+ {% macro tree(Category) %}
168
+
169
+
170
+
171
+ {% from _self import tree %}
172
+
173
+ <a href="{{ url('category', { Category_id : Category.id }) }}">
174
+
175
+
176
+
177
+ {{ Category.name }}
178
+
179
+ {# {% set size = Category.children | length %} ({{(size)}})#}
180
+
181
+ </a>
182
+
183
+
184
+
185
+ {% endmacro %}
186
+
187
+
188
+
189
+ {% from _self import tree %}
190
+
191
+
192
+
193
+ <div class="ec-cateoryNaviRole">
194
+
195
+ <div class="ec-itemNav">
196
+
197
+ <ul class="ec-itemNav__nav">
198
+
199
+ {% for Category in Category %}
200
+
201
+ <li>
202
+
203
+ {{ tree(Category) }}
204
+
205
+ </li>
206
+
207
+ {% endfor %}
208
+
209
+ </ul>
210
+
211
+ </div>
212
+
213
+ </div>
214
+
215
+
216
+
217
+ </div>
218
+
219
+
220
+
221
+ <div id="boxE">
222
+
223
+ E(フッタ)
224
+
225
+ </div>
226
+
227
+
228
+
229
+ </div>
230
+
231
+
232
+
233
+ </body>
234
+
235
+ </html>
236
+
237
+
238
+
239
+ {% endblock %}
240
+
241
+ ```
242
+
243
+
244
+
103
245
 
104
246
 
105
247
  [新規ページ]

1

書式の改善

2018/10/05 05:59

投稿

nelo
nelo

スコア15

test CHANGED
@@ -1 +1 @@
1
- [EC-CUBE4]
1
+ [EC-CUBE4] パラメータの付与
test CHANGED
File without changes