当我运行我的应用程序时,我收到以下错误
在配置中找不到指定的命名连接,不打算与EntityClient提供程序一起使用,或者无效
这是我的web.config文件
$filenamePath = md5(time().uniqid()).".jpg";
$decoded=base64_decode($image);
file_put_contents("../images/".$filenamePath,$decoded);
$sth = $this->db->prepare("UPDATE orders set status =:status,
total_amount=:amount,created_at=:date1,receipt=:path WHERE id=:orderId");
$sth->bindParam("orderId",$orderid );
$sth->bindParam("status", $status);
$sth->bindParam("amount", $amount);
$sth->bindParam("date1", $date);
$sth->bindParam("path", $filenamePath);
$sth->execute();
在这一行中我收到错误
公共HQMEntities():base(" name = HQMEntities"," HQMEntities")