質問編集履歴

3

タイトル追記

2018/01/08 09:27

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- [laravel]PDF出力時に500Serverエラーが発生する。(save時)
1
+ 「Frame not found in cellmap」[laravel]PDF出力時に500Serverエラーが発生する。(save時)
test CHANGED
File without changes

2

htmlファイル修正

2018/01/08 09:27

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -60,17 +60,149 @@
60
60
 
61
61
  body {
62
62
 
63
+ font-family: ipagothic;
64
+
63
65
  -webkit-print-color-adjust: exact;
64
66
 
67
+ width:950px;
68
+
69
+ height:600px;
70
+
71
+ margin: 0 auto;
72
+
73
+ }
74
+
75
+
76
+
77
+ th {
78
+
79
+ font-size: 15px;
80
+
81
+ }
82
+
83
+ .table1 {
84
+
85
+ width:100%;
86
+
87
+ height:25%;
88
+
89
+ border-collapse: collapse;
90
+
91
+ }
92
+
93
+ .bld-1so {
94
+
95
+ border:1px solid;
96
+
97
+ }
98
+
99
+ .txt-center {
100
+
101
+ text-align: -webkit-center;
102
+
103
+ text-align: center;
104
+
105
+ }
106
+
107
+ .fnt-bold {
108
+
109
+ font-weight:bold;
110
+
111
+ }
112
+
113
+ .fnt-10 {
114
+
115
+ font-size:10px;
116
+
117
+ }
118
+
119
+ .fnt-15 {
120
+
121
+ font-size:15px;
122
+
123
+ }
124
+
125
+ .fnt-30 {
126
+
127
+ font-size:30px;
128
+
129
+ }
130
+
131
+ .wdt7p {
132
+
133
+ width:7%;
134
+
65
135
  }
66
136
 
67
137
  </style>
68
138
 
139
+ </head>
140
+
141
+ <body>
142
+
143
+ <div class="fnt-bold fnt-30 txt-center">
144
+
145
+ 平成 29 年分 給与所得の源泉徴収票
146
+
147
+ </div>
148
+
149
+ <div class="bld-1so">
150
+
151
+ <div>
152
+
153
+
154
+
155
+
156
+
157
+ <table cellspacing="0" style="border:1px double;width:100%;height:15%;">
158
+
159
+ <tbody>
160
+
161
+ <tr>
162
+
163
+ <th style="border:1px solid;font-size:10px;width:4%;font-size:20px;" rowspan="3"><span>支払者</span></th>
164
+
69
- <body style="width:950px;height:600px;margin: 0 auto;">
165
+ <th style="border:1px solid;height:25%;">個人番号又は法人番号</th>
166
+
167
+
168
+
70
-
169
+ </tr>
170
+
171
+
172
+
173
+ <tr>
174
+
175
+ <th style="border:1px solid;font-size:15px;width:20%;">住所(居所)又は所在地
176
+
177
+ </th>
178
+
179
+ <th style="border:1px solid;font-size:18px;" colspan="13">東京都新宿区大久保1丁目14-15 三辰ビル7F
180
+
181
+ </th>
182
+
183
+ </tr>
184
+
185
+
186
+
187
+ <tr>
188
+
71
- <div style="text-align: -webkit-center;font-weight:bold;font-size:30px;">
189
+ <th style="border:1px solid;font-size:15px;">氏名又は名称
72
-
190
+
73
- 平成 29 年票
191
+ </th>
192
+
193
+ <th style="border:1px solid;font-size:18px;" colspan="13">株式会社シニアジョブ
194
+
195
+ </th>
196
+
197
+ </tr>
198
+
199
+ </tbody>
200
+
201
+ </table>
202
+
203
+
204
+
205
+ </div>
74
206
 
75
207
  </div>
76
208
 

1

追記

2018/01/08 09:23

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -80,4 +80,80 @@
80
80
 
81
81
  ```
82
82
 
83
+
84
+
85
+ ##追記
86
+
87
+ 下記のようにエラーが表示されていました。
88
+
89
+ ```
90
+
91
+ <div id="sf-resetcontent" class="sf-reset">
92
+
93
+ <h1>Whoops, looks like something went wrong.</h1>
94
+
95
+ <h2 class="block_exception clear_fix">
96
+
97
+ <span class="exception_counter">1/1</span>
98
+
99
+ <span class="exception_title"><abbr title="DOMPDF_Exception">DOMPDF_Exception</abbr> in <a title="X:\asp\home\laravel\vendor\dompdf\dompdf\include\cellmap.cls.php line 244" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">cellmap.cls.php line 244</a>:</span>
100
+
101
+ <span class="exception_message">Frame not found in cellmap</span>
102
+
103
+ </h2>
104
+
105
+ <div class="block">
106
+
107
+ <ol class="traces list_exception">
108
+
109
+ <li> in <a title="X:\asp\home\laravel\vendor\dompdf\dompdf\include\cellmap.cls.php line 244" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">cellmap.cls.php line 244</a></li>
110
+
111
+ <li>at <abbr title="Cellmap">Cellmap</abbr>->get_spanned_cells(<em>object</em>(<abbr title="Table_Cell_Frame_Decorator">Table_Cell_Frame_Decorator</abbr>)) in <a title="X:\asp\home\laravel\vendor\dompdf\dompdf\include\table_cell_renderer.cls.php line 50" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">table_cell_renderer.cls.php line 50</a></li>
112
+
113
+ <li>at <abbr title="Table_Cell_Renderer">Table_Cell_Renderer</abbr>->render(<em>object</em>(<abbr title="Table_Cell_Frame_Decorator">Table_Cell_Frame_Decorator</abbr>)) in <a title="X:\asp\home\laravel\vendor\dompdf\dompdf\include\renderer.cls.php line 287" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">renderer.cls.php line 287</a></li>
114
+
115
+ <li>at <abbr title="Renderer">Renderer</abbr>->_render_frame('table-cell', <em>object</em>(<abbr title="Table_Cell_Frame_Decorator">Table_Cell_Frame_Decorator</abbr>)) in <a title="X:\asp\home\laravel\vendor\dompdf\dompdf\include\renderer.cls.php line 107" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">renderer.cls.php line 107</a></li>
116
+
117
+ <li>at <abbr title="Renderer">Renderer</abbr>->render(<em>object</em>(<abbr title="Table_Cell_Frame_Decorator">Table_Cell_Frame_Decorator</abbr>)) in <a title="X:\asp\home\laravel\vendor\dompdf\dompdf\include\renderer.cls.php line 190" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">renderer.cls.php line 190</a></li>
118
+
119
+ <li>at <abbr title="Renderer">Renderer</abbr>->render(<em>object</em>(<abbr title="Table_Row_Frame_Decorator">Table_Row_Frame_Decorator</abbr>)) in <a title="X:\asp\home\laravel\vendor\dompdf\dompdf\include\renderer.cls.php line 190" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">renderer.cls.php line 190</a></li>
120
+
121
+ <li>at <abbr title="Renderer">Renderer</abbr>->render(<em>object</em>(<abbr title="Table_Row_Group_Frame_Decorator">Table_Row_Group_Frame_Decorator</abbr>)) in <a title="X:\asp\home\laravel\vendor\dompdf\dompdf\include\renderer.cls.php line 190" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">renderer.cls.php line 190</a></li>
122
+
123
+ <li>at <abbr title="Renderer">Renderer</abbr>->render(<em>object</em>(<abbr title="Table_Frame_Decorator">Table_Frame_Decorator</abbr>)) in <a title="X:\asp\home\laravel\vendor\dompdf\dompdf\include\renderer.cls.php line 190" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">renderer.cls.php line 190</a></li>
124
+
125
+ <li>at <abbr title="Renderer">Renderer</abbr>->render(<em>object</em>(<abbr title="Block_Frame_Decorator">Block_Frame_Decorator</abbr>)) in <a title="X:\asp\home\laravel\vendor\dompdf\dompdf\include\renderer.cls.php line 190" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">renderer.cls.php line 190</a></li>
126
+
127
+ <li>at <abbr title="Renderer">Renderer</abbr>->render(<em>object</em>(<abbr title="Block_Frame_Decorator">Block_Frame_Decorator</abbr>)) in <a title="X:\asp\home\laravel\vendor\dompdf\dompdf\include\renderer.cls.php line 190" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">renderer.cls.php line 190</a></li>
128
+
129
+ <li>at <abbr title="Renderer">Renderer</abbr>->render(<em>object</em>(<abbr title="Block_Frame_Decorator">Block_Frame_Decorator</abbr>)) in <a title="X:\asp\home\laravel\vendor\dompdf\dompdf\include\page_frame_reflower.cls.php line 130" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">page_frame_reflower.cls.php line 130</a></li>
130
+
131
+ <li>at <abbr title="Page_Frame_Reflower">Page_Frame_Reflower</abbr>->reflow(<em>null</em>) in <a title="X:\asp\home\laravel\vendor\dompdf\dompdf\include\frame_decorator.cls.php line 711" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">frame_decorator.cls.php line 711</a></li>
132
+
133
+ <li>at <abbr title="Frame_Decorator">Frame_Decorator</abbr>->reflow() in <a title="X:\asp\home\laravel\vendor\dompdf\dompdf\include\dompdf.cls.php line 973" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">dompdf.cls.php line 973</a></li>
134
+
135
+ <li>at <abbr title="DOMPDF">DOMPDF</abbr>->render() in <a title="X:\asp\home\laravel\vendor\barryvdh\laravel-dompdf\src\PDF.php line 208" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">PDF.php line 208</a></li>
136
+
137
+ <li>at <abbr title="Barryvdh\DomPDF\PDF">PDF</abbr>->render() in <a title="X:\asp\home\laravel\vendor\barryvdh\laravel-dompdf\src\PDF.php line 154" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">PDF.php line 154</a></li>
138
+
139
+ <li>at <abbr title="Barryvdh\DomPDF\PDF">PDF</abbr>->output() in <a title="X:\asp\home\laravel\vendor\barryvdh\laravel-dompdf\src\PDF.php line 166" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">PDF.php line 166</a></li>
140
+
141
+ <li>at <abbr title="Barryvdh\DomPDF\PDF">PDF</abbr>->save('php://output') in <a title="X:\asp\home\laravel\app\Http\Controllers\SaleController.php line 1498" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">SaleController.php line 1498</a></li>
142
+
143
+ <li>at <abbr title="App\Http\Controllers\SaleController">SaleController</abbr>->getWithholdingTaxSlip()</li>
144
+
145
+ <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="App\Http\Controllers\SaleController">SaleController</abbr>), 'getWithholdingTaxSlip'), <em>array</em>()) in <a title="X:\asp\home\laravel\vendor\laravel\framework\src\Illuminate\Routing\Controller.php line 256" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Controller.php line 256</a></li>
146
+
147
+ <li>at <abbr title="Illuminate\Routing\Controller">Controller</abbr>->callAction('getWithholdingTaxSlip', <em>array</em>()) in <a title="X:\asp\home\laravel\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php line 164" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">ControllerDispatcher.php line 164</a></li>
148
+
149
+ <li>at <abbr title="Illuminate\Routing\ControllerDispatcher">ControllerDispatcher</abbr>->call(<em>object</em>(<abbr title="App\Http\Controllers\SaleController">SaleController</abbr>), <em>object</em>(<abbr title="Illuminate\Routing\Route">Route</abbr>), 'getWithholdingTaxSlip') in <a title="X:\asp\home\laravel\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php line 112" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">ControllerDispatcher.php line 112</a></li>
150
+
151
+ <li>at <abbr title="Illuminate\Routing\ControllerDispatcher">ControllerDispatcher</abbr>->Illuminate\Routing\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>))</li>
152
+
153
+ </ol>
154
+
155
+ </div>
156
+
157
+ ```
158
+
83
159
  何卒よろしくお願いいたします。