Maximum execution time of 30 seconds exceeded (which lead to: SQLSTATE[3D000]

2020-05-21 10:58:14

解决办法,调整php.ini 的max_execution_time = 300值

I tried to install matomo (first time) and get after click "Next"-Button in welcome screen for step 2 (system check) this error:

Matomo encoutered an error: Maximum execution time of 30 seconds exceeded (which lead to: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected)

What is here to do? Set a higher execution time lead only to this

Fatal error: Maximum execution time of 90 seconds exceeded in \matomo-3.5.1\core\FileIntegrity.php on line 324
https://github.com/matomo-org/matomo/blob/3.x-dev/core/FileIntegrity.php#L324

At all I read many times take a look in config.ini, but this file not exists in root or config-folder.

System Windows 10.

Solution: Make maximum execution time of 120 or more.


  • 2020-03-03 09:46:42

    JS实现HTML标签转义及反转义

    简单说一下业务场景,前台用户通过input输入内容,在离开焦点时,将内容在div中显示。 这时遇到一个问题,如果用户输入了html标签,则在div显示中,标签被解析。 由于是纯前端操作,不涉及后端,因此需要通过js对输入内容进行转义。

  • 2020-03-03 09:51:38

    写一个可插入自定义标签的 Textarea 组件

    为了实现这个功能,我最先想的是改造一个 <textarea> 然后我想到了 contenteditable (链接指向 mozilla.org) 这一属性 这是一个 html5 的属性,可以让元素内容可编辑

  • 2020-03-03 20:18:21

    Vuepress如何做到在 Markdown 中使用 Vue 语法

    在 vuepress 刚出时,我就觉得这是个很值得追更的开源项目。果不其然,里面众多的前端编程技巧让我受益良多。 于是在周末这种日子里,人家追剧我追码。 今天,我就和大家分享下 vuepress 是如何做到在 Markdown 中使用 Vue 语法的。

  • 2020-03-03 21:35:57

    PWA:安装 Web 应用

    要完整介绍 PWA 是什么,需要扯一堆名词,毫无意义。 以改造公羊阅读的过程为例,简要的说明什么是 PWA。