PHP常见报错
1、MySQL
Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'create_time' in order clause is ambiguous in D:\workspace\projectname\library\Service\Database.php:229
原因:两个关联的数据表有一样的字段,mysql不知道要以哪个表为准,所以这个时候,我们只需要查询的时候指明字段所属的表(别名)就可以了。
2、调用支付宝支付SDK
(1)、调用地址:https://docs.open.alipay.com/54/106370/
(2)、报错:openssl_sign(): supplied key param cannot be coerced into a private key in
(3)、相关解决路径:https://yq.aliyun.com/articles/66209