草庐IT

invalid_client

全部标签

php - 谷歌云端硬盘 API v3 : Invalid field selection

我正在使用GoogleDriveAPIv3访问有关驱动器的空间配额。而且,无论我做什么,我都会遇到这个错误:Fatalerror:Uncaughtexception'Google_Service_Exception'withmessage'Errorcalling**GEThttps://www.googleapis.com/drive/v3/about?fields=name**:(400)Invalidfieldselectionname'in/var/webs/includes/google-api-php-client/src/Google/Http/REST.php:110S

PHP7 - nusoap - nusoap_client 有一个弃用的构造函数

我想在Laravel5.3和PHP7上使用nusoap。但是当我尝试使用那个包中的composer安装它时:https://github.com/codecasts/nusoap-php7(v.0.9.6)它仍然返回我:ErrorExceptioninclass.soapclient.phpline26:MethodswiththesamenameastheirclasswillnotbeconstructorsinafutureversionofPHP;nusoap_clienthasadeprecatedconstructor我会清除缓存,但都没有成功。有没有人用PHP7在Lara

php - 没有命名空间时如何在 laravel 5.6 上使用 google-api-php-client

很抱歉,如果这是重复的,但我发现的几个关闭问题对我没有用。我是Laravel新手。我正在尝试使用github库https://github.com/google/google-api-php-client使用laravel5.6框架。我通过运行安装了api:Composer需要google/apiclient:^2.0我的composer.json看起来是正确的,因为它包括:"require":{"php":"^7.1.3","fideloper/proxy":"^4.0","google/apiclient":"^2.2","laravel/framework":"5.6.*","l

php - Doctrine2 和 Postgres : Invalid input syntax for boolean : ""

SQLSTATE[22P02]:Invalidtextrepresentation:7ERROR:invalidinputsyntaxfortypeboolean:""500InternalServerError-PDOException这是由Doctrine2(2.2-DEV)引起的错误消息,恐怕是再次出现的错误:http://www.doctrine-project.org/jira/browse/DDC-1394导致该错误的查询如下:publicfunctiongetFindAllNonOthersQueryBuilder(){return$this->createQueryBu

php - 为 Google Analytics PHP 安装 Google Client Library

首先我是这个话题的新手,所以我希望我的问题不会太愚蠢。我希望我的网站能够通过PHP访问GoogleAnalytics指标。我遵循了这个descriptionfromgoogle的每一步.不幸的是,当我将所有内容上传到我的服务器并尝试运行测试站点时,我总是收到以下错误消息:Fatalerror:Uncaughtexception'Exception'withmessage'Thislibrarymustbeinstalledviacomposerorbydownloadingthefullpackage.Seetheinstructionsathttps://github.com/goo

php - Yii2 类 yii\authclient\clients\GoogleOAuth 不存在

我使用dektrium/yii2-user(在一个项目上)和yiisoft/yii2-authclient(在另一个项目上)通过Google帐户登录。前段时间一切正常,但我想在上次Composer更新后发生了一些变化,现在我收到错误消息:“类yii\authclient\clients\GoogleOAuth不存在”,当我尝试打开登录页面时。有没有人有同样的问题或知道出了什么问题?谢谢 最佳答案 yii2-authclient最新版本修改,不向下兼容。Readabouttheupgradeprocesshere.两种解决方案:修改c

php - WP 休息 API : new route return rest_invalid_handler

这是一个用于创建新路由的简单测试脚本:add_action('rest_api_init',function(){register_rest_route('ass','/ativar',array('methods'=>'GET','callback'=>'testing_route',));});functiontesting_route($data){returnarray('message'=>'testingroute');}但它返回错误信息:rest_invalid_handler 最佳答案 解决了!'callback'=

php - API cURL 调用错误 : {"errors": {"price_rule" :"Required parameter missing or invalid"}}

我在cURL调用基于所选产品的价格规则时遇到错误。以下是我的错误:{"errors":{"price_rule":"Requiredparametermissingorinvalid"}}以下是我在cURL调用中发送的主体参数:{"price_rule":{"title":"sss","target_type":"line_item","target_selection":"entitled","allocation_method":"across","value_type":"fixed_amount","value":"-434","customer_selection":"all

php - json_encode 运行时警告 "Invalid UTF-8 sequence"

我从数据库中检索一个mysqli-resultset,它来自一个utf-8编码的表,然后被插入到一个数组中:$json=array();$query="selectartikel_titelfromtblArtikel";if($result=mysqli_query($link,$query)){while($line=mysqli_fetch_array($result,MYSQLI_NUM)){array_push($json,$line);}echojson_encode($json);数组已正确构建,youcanseeithere在页面底部,您可以看到由json_encode

php - 为什么我从 SagePay 收到错误 "4020 : Information received from an Invalid IP address."?

这是一个PHP(ZendFramework1.11)站点,未使用现成的软件包。当请求到:https://live.sagepay.com/gateway/service/vspserver-register.vsp(使用PAYMENT的TxType),我得到以下响应:4020:InformationreceivedfromanInvalidIPaddress.我已登录到SagePay管理区域并将实时服务器的IP地址添加到有效IP部分,我已确保它使用正确的SagePayURL发布到和。需要注意的是,这个问题是今天早上开始的,当时我们通过更改Vendor属性更改了接收付款的SagePay帐