<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Koot,<br>
<br>
Could you please remind me your ngcp-panel version? <br>
All concatenations I see in the Invoice.pm are too far from line
169.<br>
<br>
Thanks in advance.<br>
<br>
Best regards,<br>
Irina Peshinskaya<br>
<br>
<div class="moz-cite-prefix">On 12.10.2017 11:36, Koot Pienaar
wrote:<br>
</div>
<blockquote
cite="mid:033101d34335$3cc0c3b0$b6424b10$@ntelecom.co.za"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Arial Narrow";
panose-1:2 11 6 6 2 2 2 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi Team<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I get the following error in panel.log when
generating invoices with large amounts of calls. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Oct 12 10:28:20 ntel-sipsw1 ngcp-panel:
ERROR: IP=2.1.1.86 CALLED=Controller::Invoice::__ANON__
TX=14ECC54ADC9EF410 USER=administrator DATA={ 'template.id'
=> '2', 'period' => '2017-09', 'submitid' => '',
'contract.id' => '15', 'save' => 'Save'} MSG="Failed to
save invoice meta data.
(DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception:
DBD::mysql::st execute failed: MySQL server has gone away [for
Statement "INSERT INTO `billing`.`invoices` ( `amount_net`,
`amount_total`, `amount_vat`, `contract_id`, `data`,
`period_end`, `period_start`, `serial`) VALUES ( ?, ?, ?, ?,
?, ?, ?, ? )" with ParamValues: 0=5923.9, 1=6753.25,
2=829.346, 3="15", 4=undef, 5='2017-09-30 23:59:59',
6='2017-09-01 00:00:00', 7='tmp150779690053912'] at
/usr/share/perl5/NGCP/Panel/Controller/Invoice.pm line
290#012)" LOG=""<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Oct 12 10:28:20 ntel-sipsw1 ngcp-panel:
ERROR: IP=2.1.1.86 CALLED=Controller::Invoice::create
TX=14ECC54AE303C380 USER=administrator DATA={ 'submitid' =>
'', 'contract.id' => '15', 'save' => 'Save',
'template.id' => '2', 'period' => '2017-09'} MSG="Failed
to create invoice. ({UNKNOWN}: Use of uninitialized value
$contract_id in concatenation (.) or string at
/usr/share/perl5/NGCP/Panel/Controller/Invoice.pm line 169. at
/usr/share/perl5/Catalyst/Model/DBIC/Schema.pm line 526#012)"
LOG=""<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I do not see any logs in Mysql.log or
mysql.err <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormalCxSpMiddle"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-add-space:auto"><span
style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-US">Koot Pienaar<o:p></o:p></span></p>
<p class="MsoNormalCxSpMiddle"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-add-space:auto"><span
style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-US">VoIP Coordinator<o:p></o:p></span></p>
<p class="MsoNormalCxSpMiddle"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-add-space:auto"><span
style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-US">Ntelecom Central<o:p></o:p></span></p>
<p class="MsoNormalCxSpMiddle"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-add-space:auto"><span
style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-US">Tel: 051 412 6300<o:p></o:p></span></p>
<p class="MsoNormalCxSpMiddle"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-add-space:auto"><span
style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormalCxSpMiddle"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-add-space:auto"><span
style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-US">Email: </span><span
style="mso-fareast-language:AF"><a moz-do-not-send="true"
href="mailto:koot@ntelecom.co.za"><span
style="font-family:"Arial
Narrow","sans-serif";color:blue"
lang="EN-ZA">koot@ntelecom.co.za</span></a></span><span
style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormalCxSpMiddle"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-add-space:auto"><span
style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-US">Website: </span><span
style="mso-fareast-language:AF"><a moz-do-not-send="true"
href="http://www.ntelecom.co.za/"><span
style="font-family:"Arial
Narrow","sans-serif";color:blue"
lang="EN-US">www.ntelecom.co.za</span></a><span
style="color:#1F497D"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"><img
id="Picture_x0020_1"
src="cid:part3.5775F90C.455D500E@sipwise.com"
alt="Description: Description: Description: Description:
Description: Description: Description: Description:
cid:image003.png@01CFA5C0.7BBDE4A0" height="185"
border="0" width="129"></span><span
style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-ZA"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-ZA"><o:p> </o:p></span></p>
<p class="MsoNormal"><a moz-do-not-send="true"
href="https://twitter.com/ntel_koot"><span
style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF;text-decoration:none"><img
id="Picture_x0020_2"
src="cid:part4.C9F6600D.B676ED1D@sipwise.com"
alt="Description: Description: images (1)" height="44"
border="0" width="153"></span></a><span
style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-ZA"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-ZA">Confidentiality Notice: <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-ZA">This e-mail may contain confidential
information and is intended only for the use of the
recipient named above. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-ZA">Should you receive this e-mail in error, please
forward it to </span><span style="mso-fareast-language:AF"><a
moz-do-not-send="true" href="mailto:koot@ntelecom.co.za"><span
style="font-family:"Arial
Narrow","sans-serif";color:blue"
lang="EN-ZA">koot@ntelecom.co.za</span></a></span><span
style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-ZA"> and delete from your in-box. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-ZA">Any disclosure, copying, distribution or action
on the contents of this e-mail is strictly prohibited. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial
Narrow","sans-serif";color:#404040;mso-fareast-language:AF"
lang="EN-ZA">Please consider the environment before printing
this email and/or any related attachments.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Spce-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a class="moz-txt-link-freetext" href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a>
</pre>
</blockquote>
<br>
</body>
</html>