teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

タイトル追記

2018/01/08 09:27

投稿

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

2

htmlファイル修正

2018/01/08 09:27

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -29,13 +29,79 @@
29
29
  <meta charset="UTF-8">
30
30
  <style type="text/css">
31
31
  body {
32
+ font-family: ipagothic;
32
33
  -webkit-print-color-adjust: exact;
34
+ width:950px;
35
+ height:600px;
36
+ margin: 0 auto;
33
37
  }
38
+
39
+ th {
40
+ font-size: 15px;
41
+ }
42
+ .table1 {
43
+ width:100%;
44
+ height:25%;
45
+ border-collapse: collapse;
46
+ }
47
+ .bld-1so {
48
+ border:1px solid;
49
+ }
50
+ .txt-center {
51
+ text-align: -webkit-center;
52
+ text-align: center;
53
+ }
54
+ .fnt-bold {
55
+ font-weight:bold;
56
+ }
57
+ .fnt-10 {
58
+ font-size:10px;
59
+ }
60
+ .fnt-15 {
61
+ font-size:15px;
62
+ }
63
+ .fnt-30 {
64
+ font-size:30px;
65
+ }
66
+ .wdt7p {
67
+ width:7%;
68
+ }
34
69
  </style>
70
+ </head>
71
+ <body>
35
- <body style="width:950px;height:600px;margin: 0 auto;">
72
+ <div class="fnt-bold fnt-30 txt-center">
36
- <div style="text-align: -webkit-center;font-weight:bold;font-size:30px;">
37
- 平成 29 年票
73
+ 平成 29 年分 給与所得の源泉徴収
38
74
  </div>
75
+ <div class="bld-1so">
76
+ <div>
77
+
78
+
79
+ <table cellspacing="0" style="border:1px double;width:100%;height:15%;">
80
+ <tbody>
81
+ <tr>
82
+ <th style="border:1px solid;font-size:10px;width:4%;font-size:20px;" rowspan="3"><span>支払者</span></th>
83
+ <th style="border:1px solid;height:25%;">個人番号又は法人番号</th>
84
+
85
+ </tr>
86
+
87
+ <tr>
88
+ <th style="border:1px solid;font-size:15px;width:20%;">住所(居所)又は所在地
89
+ </th>
90
+ <th style="border:1px solid;font-size:18px;" colspan="13">東京都新宿区大久保1丁目14-15 三辰ビル7F
91
+ </th>
92
+ </tr>
93
+
94
+ <tr>
95
+ <th style="border:1px solid;font-size:15px;">氏名又は名称
96
+ </th>
97
+ <th style="border:1px solid;font-size:18px;" colspan="13">株式会社シニアジョブ
98
+ </th>
99
+ </tr>
100
+ </tbody>
101
+ </table>
102
+
103
+ </div>
104
+ </div>
39
105
  </body>
40
106
  </html>
41
107
  ```

1

追記

2018/01/08 09:23

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -39,4 +39,42 @@
39
39
  </body>
40
40
  </html>
41
41
  ```
42
+
43
+ ##追記
44
+ 下記のようにエラーが表示されていました。
45
+ ```
46
+ <div id="sf-resetcontent" class="sf-reset">
47
+ <h1>Whoops, looks like something went wrong.</h1>
48
+ <h2 class="block_exception clear_fix">
49
+ <span class="exception_counter">1/1</span>
50
+ <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>
51
+ <span class="exception_message">Frame not found in cellmap</span>
52
+ </h2>
53
+ <div class="block">
54
+ <ol class="traces list_exception">
55
+ <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>
56
+ <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>
57
+ <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>
58
+ <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>
59
+ <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>
60
+ <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>
61
+ <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>
62
+ <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>
63
+ <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>
64
+ <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>
65
+ <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>
66
+ <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>
67
+ <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>
68
+ <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>
69
+ <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>
70
+ <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>
71
+ <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>
72
+ <li>at <abbr title="App\Http\Controllers\SaleController">SaleController</abbr>->getWithholdingTaxSlip()</li>
73
+ <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>
74
+ <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>
75
+ <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>
76
+ <li>at <abbr title="Illuminate\Routing\ControllerDispatcher">ControllerDispatcher</abbr>->Illuminate\Routing\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>))</li>
77
+ </ol>
78
+ </div>
79
+ ```
42
80
  何卒よろしくお願いいたします。