Php simplexml\u加载\u文件():http://www.google.com/ig/api?weather= 无效的元素名称
我在Yii框架中构建的网站上遇到此错误。我使用Yii扩展weatherwidget在我的页面上显示天气信息。有人知道是什么导致了这个问题吗。这是我页面上的扩展代码Php simplexml\u加载\u文件():http://www.google.com/ig/api?weather= 无效的元素名称,php,yii-extensions,Php,Yii Extensions,我在Yii框架中构建的网站上遇到此错误。我使用Yii扩展weatherwidget在我的页面上显示天气信息。有人知道是什么导致了这个问题吗。这是我页面上的扩展代码 <?php $location = 63376; $this->widget('application.components.weather.GoogleWeatherAPI', array('location'=>$location)); ?>
<?php
$location = 63376;
$this->widget('application.components.weather.GoogleWeatherAPI', array('location'=>$location)); ?>