DevTools failed to parse SourceMap in Chrome console

(Jamess) #1

I am using Yii2 basic. I have a offering CRUD. In the view page on my localhost the details are correctly displayed as I coded. But on the domain I have hosted the application as subdomain. Here when I view the page, the details are not displayed correctly. I am using Admin LTE. There were warnings for font awesome. " Failed to decode downloaded font:". When I inspect in the chrome browser, I have a warning as follows:

DevTools failed to parse SourceMap:

The code of view page is as below:


use yii\helpers\Html;
use yii\widgets\DetailView;
use app\models\Offering;
use app\models\Church;
use app\models\District;
use app\models\Taluka;
use app\models\Village;
use app\models\Location;
use app\models\Area;
use app\models\Offeringdetails;

/* @var $this yii\web\View */
/* @var $model app\models\Offering */

$this->title = $model->OfferingId;
$this->params['breadcrumbs'][] = ['label' => 'Offerings', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;


  width: 500px;
  border: 2px solid black;


<script type = "text/javascript" >
   function preventBack(){window.history.forward();}
    setTimeout("preventBack()", 0);
<div class="offering-view">
<?=Html::a('<span class="glyphicon glyphicon-list"></span> List', ['index'], ['class' => 'btn btn-primary']);?>

$church = Yii::$app->db->createCommand('SELECT church.ChurchName
from church, offering
WHERE church.ChurchId = offering.ChurchId
and offering.ChurchId='.$model->ChurchId)->queryAll();

foreach($church as $church1)
	$churchname = $church1['ChurchName'];

$district = Yii::$app->db->createCommand('SELECT district.District
from district, church
WHERE district.DistrictId = church.DistrictId
and church.ChurchId='.$model->ChurchId)->queryAll();

foreach($district as $district1)

$taluka = Yii::$app->db->createCommand('SELECT taluka.Taluka
from taluka, church
WHERE taluka.TalukaId = church.TalukaId
and church.ChurchId='.$model->ChurchId)->queryAll();

foreach($taluka as $taluka1)

$records = Yii::$app->db->createCommand('SELECT church.VillageId, church.LocationId, church.AreaId
from  church
where church.ChurchId='.$model->ChurchId)->queryAll();

foreach($records as $record)
   $vid = $record['VillageId'];
   $lid= $record['LocationId'];
   $aid= $record['AreaId'];

	$village = Yii::$app->db->createCommand('SELECT village.Village
from village, church
WHERE village.VillageId = church.VillageId
and church.ChurchId='.$model->ChurchId)->queryAll();

foreach($village as $village1)
$date = Offering::findOne($model->OfferingId);

echo "<b><h3><center>Offering Details - ".$date->Date."</center></h3></b>";

echo "<b><h4><center>".$churchname."</center></h4></b>";

echo "<b><h4><center> District - ".$dis.", Taluka - ".$tal.", Village - ".$vil."</center></h4></b>";


	$location = Yii::$app->db->createCommand('SELECT location.Location, area.Area
from location, church, area
WHERE location.LocationId = church.LocationId and
area.AreaId = church.AreaId
and church.ChurchId='.$model->ChurchId)->queryAll();

foreach($location as $location1)

$date = Offering::findOne($model->OfferingId);
echo "<b><h3><center>Offering Details -".$date->Date."</center></h3></b>";

echo "<b><h4><center>".$churchname."</center></h4></b>";

echo "<b><h4><center> District - ".$dis.", Taluka - ".$tal.", Location - ".$loc." , Area - ".$area."</center></h4></b>";


    <hr style="color: blue;
background-color: blue;
height: 5px;">


<div class="table-responsive">
<div class="container">

<table class="table table-bordered">
      <tr bgcolor='#B8B8B8'>
        <th style='border: 1px solid black;'>Sr.No</th>
        <th style='border: 1px solid black;'>Offering Type</th>
        <th style='border: 1px solid black;'>Amount</th>



$offering = Offering::findOne($model->OfferingId);

$offering1= $offering->offeringdetails;

foreach($offering1 as $offering2)
   echo "<tr>";
    echo "<td style='border: 1px solid black;'><b>".$countno."</b></td>";
	echo "<td style='border: 1px solid black;'><b>".$offering2['OfferingType']."</b></td>";
	echo "<td style='border: 1px solid black;'><b>".$offering2['Amount']."</b></td>";
	echo "</tr>";




How should I resolve this?