错误异常

  1. SQLSTATE[42000] Syntax error or access violation Specified key was too long error 解决

    Illuminate\Database\QueryException : SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes 解决办法,这通常是因为数据库版本导致的

    2019-04-27 错误异常 100 views

  2. PHP ImagickException: not authorized 解决

    ubuntu下用imagick读PDF报错 PHP ImagickException: not authorized 原因是配置文件问题,我们需要去etc下找imagemagick的配置文件,修改policy.xml

    2019-04-18 错误异常 85 views

  3. Command "python setup.py egg_info" failed with error code 1 in...

    Python3.6.2,用pip安装Google翻译的module时候,出现错误 Command "python setup.py egg_info" failed with error code 1 in... 这是因为setuptools过期了,我们需要升级一下,方法如下...

    2019-04-01 错误异常 131 views

  4. requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.

    在执行composer update的时候提示错误 laravel/framework v5.8.3 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. 缺少ext-mbstring,安装之后又缺少ext-dom

    2019-03-19 错误异常 136 views

  5. laravel 邮件通知 redis 队列不执行

    laravel邮件通知,使用队列,redis驱动后失效,laravel mail notification redis driver 不执行问题,解决laravel使用redis队列不执行问题

    2019-03-14 错误异常 220 views

  6. Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4096 bytes)...

    PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4096 bytes)... 我们用composer update/require/install的时候应该大多数人都遇到过这个问题,如果没有,可能是你的composer用少了

    2019-03-11 错误异常 399 views

  7. PDOException “could not find driver”

    PDOException “could not find driver” php 缺少依赖 需要安装php-mysql

    2019-02-28 错误异常 136 views

  8. SQLSTATE[HY000] [2002] No such file or directory

    MySQL SQLSTATE[HY000] [2002] No such file or directory

    2019-02-27 错误异常 127 views

  9. 1290 - The MySQL server is running with the --secure-file-priv option so it cannot execute this stat...

    The MySQL server is running with the --secure-file-priv option so it cannot execute...解决方法

    2019-02-27 错误异常 135 views

  10. Call to undefined function ... curl_init()

    Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined function App\Console\Commands\curl_init()

    2019-02-27 错误异常 156 views

  11. unknown error: call function result missing 'value'

    unknown error: call function result missing 'value' for Selenium Send Keys even after chromedriver upgrade

    2019-02-27 错误异常 110 views

  12. error: command 'clang' failed with exit status 1 on pip install TA-Lib

    error: command 'clang' failed with exit status 1 on pip install TA-Lib 解决方法 安装ta-lib: brew install ta-lib

    2019-02-16 错误异常 2323 views

  13. 1390 Prepared statement contains too many placeholders 解决

    1390 Prepared statement contains too many placeholders 应该是数据太大了,使用array_chunk 来进行分批数据库操作。代码如下:

    2019-02-16 错误异常 2496 views

  14. 解决: Python-aiohttp.ClientPayloadError:Response payload is not completed

    使用aiohttp时,遇到异常aiohttp.ClientPayloadError:Response payload is not completed 问题原因 关于异常'response payload is not completed'的官方文档: class aiohttp.ClientPayloadError

    2019-02-16 错误异常 53866 views

  15. zipimport.ZipImportError: can't decompress data; zlib not available 解决

    在用pyenv安装Python3.6的时候遇到这个错误zipimport.ZipImportError: can't decompress data; zlib not available ,是缺少zlib所致,但是,不是直接apt install zlib 对于Ubuntu16,Python3.6 sudo apt-get install zlib1g-dev

    2019-02-16 错误异常 23356 views