Fatal error: Uncaught Error: Call to undefined function putenv() in /www/wwwroot/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php:37
这个错误,导致一直维护的woocommerce商店不能启用PHP8及以上。
解决方案:
宝塔面板,PHP配置中,删除这个函数限制 。
PHP
腹泻,拉肚子常备药:米雅 酪酸梭菌活菌片 ,蒙脱石散。
便秘 常备药:乳果糖, 开塞露。
鼻炎 常备药: 依巴斯汀片 开思亭。
Warning: curl_setopt_array(): cannot represent a stream of type Output as a STDIO FILE* in \aliyun\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 70
注释掉: ->debug(true) // Enable the debug will output detailed information 这行就解决了。
加横向滚动条,上下都加。
bootstrap.
JQUERY插件
https://github.com/avianey/jqDoubleScroll
phpstudy,选择 设置 ,配置文件 , 打开php.ini下对应版本文件,搜索display_errors
display_errors = Off 改为 display_errors = On
display_startup_errors = Off 改为 display_startup_errors = On
扩展下载网址:https://github.com/Microsoft/msphpsql/releases/tag/v5.9.0
Download the Microsoft Drivers for PHP for SQL Server 下载网址:
https://docs.microsoft.com/en-us/sql/connect/php/download-drivers-php-sql-server?view=sql-server-ver15
https://www.raspberrypi.org/software/operating-systems/#raspberry-pi-os-32-bit
国内下载真是太慢了。
下面是上海交大的镜像,速度快。
https://mirrors.sjtug.sjtu.edu.cn/raspberry-pi-os-images/raspios_full_armhf/images/
问题 出在 /htdocs/include/common.inc.php ,头部被加了函数,如果从搜索引擎等过来。就会转向
操作方法:1.删除函数。 2. 将此文件设为只读不可写。
datetime, 可视化,可以点选日历。
但更建议设置成BigInt, 长度设成13位,保险点,方便以后维护。