搜索中心
全部 模块文档 模块 讨论 文档 问答
搜索 PHP探针 , 共找到 504 条记录 ,仅显示前 20 页
搜索结果
[讨论] 日志报这个错误,是什么问题 ,有好多日志都是这样的
ErrorException: Undefined index: created_atin /www/wwwroot/jimutu.cn/module/WenkuTopic/Api/Controller/WenkuTopicController.php:7Stack trace:#0 /www/wwwroot/jimutu.cn/module/WenkuTopic/Api/Controller/WenkuTopicController.php(7): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined index...', '/www/wwwroot/ji...', 7, Array)#1 /www/wwwroot/jimutu.cn/modul...
更新时间:2024-02-06 11:51:48
[文档] 模块入门开发教程 - 模块视图文件
模块视图文件均位于 module/Xxx/View 中 在Web模块中引用视图 use ModStart\Module\ModuleBaseController; class XxxController extends ModuleBaseController{ // ... public function index(){ // 使用 module/View/Xxx/pc/aaa/bbb.blade.php 视图 return $this->view('aaa.bbb',[ // ... ]); } // ... } 在Admin模块中引用视图 use Illuminate\Routing\Controller;...
更新时间:2024-09-27 17:43:49
[文档] 应用入门开发教程 - 应用Api接口开发
使用 ModStart 可以很方便的进行接口开发 定义接口路由 文件 app/Api/routes.php // 新增以下路由接口 Route::match(['post'], 'xxxx/paginate', 'XxxController@paginate'); Route::match(['post'], 'xxxx/get', 'XxxController@get'); 开发接口逻辑 文件 app/Api/Controller/XxxController.php getPage(); $pageSize = $input->getPageSize(); $option = []; $paginateData = ModelUtil::paginate('...
更新时间:2022-09-23 09:21:26
[文档] 模块入门开发教程 - 模块Api接口开发
使用 ModStart 可以很方便的进行接口开发 定义接口路由 文件 module/Xxx/Api/routes.php // 新增以下路由接口 Route::match(['post'], 'xxxx/paginate', 'XxxController@paginate'); Route::match(['post'], 'xxxx/get', 'XxxController@get'); 开发接口逻辑 文件 module/Xxx/Api/Controller/XxxController.php getPage(); $pageSize = $input->getPageSize(); $option = []; $paginateData = ModelUt...
更新时间:2024-09-27 17:43:49
[问答] 上传图片的时候报错500.
 上传图片的时候报错500. 系统ubuntu面板1panel [2023-06-16 14:22:06] beta.ERROR: Intervention\Image\Exception\NotSupportedException: GD Library extension not available with this PHP installation. in /www/sites/sakura.data07.cn/index/vendor/intervention/image/src/Intervention/Image/Gd/Driver.php:19Stack trace:#0 /www/sites/sakura.data07.cn/index/vendor/intervention/image/src/Int...
更新时间:2023-06-16 14:27:05
[讨论] 解决:怎样让导航链接不区分大小写
问题描述: 正常链接为 http://cms.com/Message 怎样访问 http://cms.com/message 时也可以正常访问页面。 环境信息: PHP版本8.1、系统版本  cms laravel9 解决: 1、在app\Http\ 中添加文件 CaseInsensitiveUriValidator.php app\Http\CaseInsensitiveUriValidator.php 文件代码内容: <?php namespace App\Http\Middleware; use Illuminate\Http\Request;use Illuminate\...
更新时间:2024-08-26 10:20:19
[文档] 安装使用常见问题 - Q:宝塔Windows版本下系统运行非常慢问题优化
提示:经测试,即使经过如上的优化过程,网站页面的执行时间也只达到 1000ms 左右。PHP 是为 Linux 而生,Windows 下 PHP 性能不如 Linux,强烈推荐使用 Linux 系统 检查数据库连接地址 Windows下数据库连接有域名解析问题,检查配置文件 /.env,如果是 localhost ,修改为 127.0.0.1 # 如果配置是 DB_HOST=localhost # 修改为 DB_HOST=127.0.0.1 安装opcache Windows下PHP默认没有安装opcache,可通过宝塔软件商店安装 系统优...
更新时间:2025-06-25 16:27:17
[文档] 系统升级说明 - 常见问题
系统升级未完全如何手动补救 部分系统升级时调用升级命令失败,可通过手动执行以下命令继续完成 Linux参考命令 ## 进入网站根目录 cd /wwwroot/example.com ## 执行系统迁移命令 php artisan migrate ## 执行模块迁移命令 php artisan modstart:module-install-all Windows参考操作 打开CMD命令窗口 运行命令 cd X:\wwwroot\example.com 运行命令 php.exe X:\wwwroot\example.com\artisan migrate 运行命令 php.exe X:\wwwroot\ex...
更新时间:2024-09-27 17:43:49
[讨论] 文件恶意上传漏洞公告 修改后不能上传文档
https://modstart.com/security/news/1 上传页面出现500错误 编辑文档也出现500错误 Symfony\Component\Debug\Exception\FatalThrowableError: Access to undeclared static property: ModStart\Data\FileManager::$slowDebugin /www/wwwroot/hz102.cn/vendor/modstart/modstart/src/Core/Util/EnvUtil.php:14 Stack trace:#0 /www/wwwro...
更新时间:2023-10-31 09:27:06
[文档] ModStart安装说明 - 配置参考
Nginx参考配置 server { listen 80; server_name yourdomain.com; charset utf-8; index index.php index.html; root /path/to/yourdomain.com/public; autoindex off; location ^~ /.git { deny all; } location / { try_files $uri $uri/ /index.php?$query_string; } location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_inde...
更新时间:2024-10-13 19:52:00
QQ
微信
客服

.