From 232f2194f17370f514808e22fa3a90a2db93a38a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=99=BA=E6=9D=B0?= <747245429@qq.com> Date: Fri, 6 Dec 2019 12:31:23 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E7=B1=BB=E4=B8=BAmysqli=EF=BC=8C=E5=88=A0?= =?UTF-8?q?=E9=99=A4.htaccess=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 + .htaccess | 1 - Application/Config/config.php | 2 +- Application/log/error_log | 491 +++---------------------------- Framework/Core/Model.class.php | 2 +- Framework/Core/MySQLDB.class.php | 10 +- 6 files changed, 50 insertions(+), 460 deletions(-) create mode 100644 .gitignore delete mode 100644 .htaccess diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2004908 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/.idea +/vender +/composer.lock +/Application/log/error_log \ No newline at end of file diff --git a/.htaccess b/.htaccess deleted file mode 100644 index 3100169..0000000 --- a/.htaccess +++ /dev/null @@ -1 +0,0 @@ -php_flag session.auto_star 0 \ No newline at end of file diff --git a/Application/Config/config.php b/Application/Config/config.php index f1d2b22..d4cd4a4 100644 --- a/Application/Config/config.php +++ b/Application/Config/config.php @@ -11,7 +11,7 @@ 'database'=>array( 'host' => '127.0.0.1', 'user' => 'root', - 'pwd' => '', + 'pwd' => 'root', 'dbname'=> 'product' ), //应用程序的配置信息 diff --git a/Application/log/error_log b/Application/log/error_log index 12b9ae2..aa9568b 100644 --- a/Application/log/error_log +++ b/Application/log/error_log @@ -1,452 +1,39 @@ -[19-Sep-2018 16:32:27 PRC] PHP Notice: Undefined variable: list in F:\myphp_www\PHPTutorial\WWW\Application\View\Home\index.html on line 166 -[19-Sep-2018 16:32:27 PRC] PHP Warning: Invalid argument supplied for foreach() in F:\myphp_www\PHPTutorial\WWW\Application\View\Home\index.html on line 166 -[22-Sep-2018 10:58:00 PRC] PHP Fatal error: Call to undefined method AdminController::newAction() in F:\wamp\www\Framework\Core\Framework.class.php on line 82 -[22-Sep-2018 10:58:00 PRC] PHP Stack trace: -[22-Sep-2018 10:58:00 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[22-Sep-2018 10:58:00 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[22-Sep-2018 10:58:00 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[22-Sep-2018 10:58:15 PRC] PHP Fatal error: Call to undefined method AdminController::newAction() in F:\wamp\www\Framework\Core\Framework.class.php on line 82 -[22-Sep-2018 10:58:15 PRC] PHP Stack trace: -[22-Sep-2018 10:58:15 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[22-Sep-2018 10:58:15 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[22-Sep-2018 10:58:15 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[22-Sep-2018 11:03:12 PRC] PHP Fatal error: Call to undefined method AdminController::newAction() in F:\wamp\www\Framework\Core\Framework.class.php on line 82 -[22-Sep-2018 11:03:12 PRC] PHP Stack trace: -[22-Sep-2018 11:03:12 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[22-Sep-2018 11:03:12 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[22-Sep-2018 11:03:12 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[22-Sep-2018 11:03:35 PRC] PHP Fatal error: Call to undefined method AdminController::newAction() in F:\wamp\www\Framework\Core\Framework.class.php on line 82 -[22-Sep-2018 11:03:35 PRC] PHP Stack trace: -[22-Sep-2018 11:03:35 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[22-Sep-2018 11:03:35 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[22-Sep-2018 11:03:35 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[22-Sep-2018 11:04:19 PRC] PHP Fatal error: Call to undefined method AdminController::newAction() in F:\wamp\www\Framework\Core\Framework.class.php on line 82 -[22-Sep-2018 11:04:19 PRC] PHP Stack trace: -[22-Sep-2018 11:04:19 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[22-Sep-2018 11:04:19 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[22-Sep-2018 11:04:19 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[22-Sep-2018 11:05:59 PRC] PHP Fatal error: Call to undefined method AdminController::newAction() in F:\wamp\www\Framework\Core\Framework.class.php on line 82 -[22-Sep-2018 11:05:59 PRC] PHP Stack trace: -[22-Sep-2018 11:05:59 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[22-Sep-2018 11:05:59 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[22-Sep-2018 11:05:59 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[22-Sep-2018 11:53:52 PRC] PHP Fatal error: Call to undefined method AdminController::newAction() in C:\wamp64\www\Framework\Core\Framework.class.php on line 82 -[22-Sep-2018 11:53:52 PRC] PHP Stack trace: -[22-Sep-2018 11:53:52 PRC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[22-Sep-2018 11:53:52 PRC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[22-Sep-2018 11:53:52 PRC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[22-Sep-2018 11:55:05 PRC] PHP Fatal error: Call to undefined method AdminController::newAction() in C:\wamp64\www\Framework\Core\Framework.class.php on line 82 -[22-Sep-2018 11:55:05 PRC] PHP Stack trace: -[22-Sep-2018 11:55:05 PRC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[22-Sep-2018 11:55:05 PRC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[22-Sep-2018 11:55:05 PRC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[23-Sep-2018 04:59:29 UTC] PHP Warning: require(C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php): failed to open stream: No such file or directory in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[23-Sep-2018 04:59:29 UTC] PHP Stack trace: -[23-Sep-2018 04:59:29 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[23-Sep-2018 04:59:29 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[23-Sep-2018 04:59:29 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[23-Sep-2018 04:59:29 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[23-Sep-2018 04:59:29 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[23-Sep-2018 04:59:29 UTC] PHP Fatal error: require(): Failed opening required 'C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php' (include_path='.;C:\php\pear') in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[23-Sep-2018 04:59:29 UTC] PHP Stack trace: -[23-Sep-2018 04:59:29 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[23-Sep-2018 04:59:29 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[23-Sep-2018 04:59:29 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[23-Sep-2018 04:59:29 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[23-Sep-2018 04:59:29 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[23-Sep-2018 14:49:39 UTC] PHP Warning: require(C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php): failed to open stream: No such file or directory in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[23-Sep-2018 14:49:39 UTC] PHP Stack trace: -[23-Sep-2018 14:49:39 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[23-Sep-2018 14:49:39 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[23-Sep-2018 14:49:39 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[23-Sep-2018 14:49:39 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[23-Sep-2018 14:49:39 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[23-Sep-2018 14:49:39 UTC] PHP Fatal error: require(): Failed opening required 'C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php' (include_path='.;C:\php\pear') in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[23-Sep-2018 14:49:39 UTC] PHP Stack trace: -[23-Sep-2018 14:49:39 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[23-Sep-2018 14:49:39 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[23-Sep-2018 14:49:39 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[23-Sep-2018 14:49:39 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[23-Sep-2018 14:49:39 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[23-Sep-2018 14:51:55 UTC] PHP Warning: require(C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php): failed to open stream: No such file or directory in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[23-Sep-2018 14:51:55 UTC] PHP Stack trace: -[23-Sep-2018 14:51:55 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[23-Sep-2018 14:51:55 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[23-Sep-2018 14:51:55 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[23-Sep-2018 14:51:55 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[23-Sep-2018 14:51:55 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[23-Sep-2018 14:51:55 UTC] PHP Fatal error: require(): Failed opening required 'C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php' (include_path='.;C:\php\pear') in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[23-Sep-2018 14:51:55 UTC] PHP Stack trace: -[23-Sep-2018 14:51:55 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[23-Sep-2018 14:51:55 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[23-Sep-2018 14:51:55 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[23-Sep-2018 14:51:55 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[23-Sep-2018 14:51:55 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[25-Sep-2018 18:46:29 PRC] PHP Fatal error: Call to undefined method AdminController::newAction() in C:\wamp64\www\Framework\Core\Framework.class.php on line 82 -[25-Sep-2018 18:46:29 PRC] PHP Stack trace: -[25-Sep-2018 18:46:29 PRC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[25-Sep-2018 18:46:29 PRC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[25-Sep-2018 18:46:29 PRC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[25-Sep-2018 18:46:38 PRC] PHP Fatal error: Call to undefined method AdminController::newAction() in C:\wamp64\www\Framework\Core\Framework.class.php on line 82 -[25-Sep-2018 18:46:38 PRC] PHP Stack trace: -[25-Sep-2018 18:46:38 PRC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[25-Sep-2018 18:46:38 PRC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[25-Sep-2018 18:46:38 PRC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[25-Sep-2018 18:46:39 PRC] PHP Fatal error: Call to undefined method AdminController::newAction() in C:\wamp64\www\Framework\Core\Framework.class.php on line 82 -[25-Sep-2018 18:46:39 PRC] PHP Stack trace: -[25-Sep-2018 18:46:39 PRC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[25-Sep-2018 18:46:39 PRC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[25-Sep-2018 18:46:39 PRC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[25-Sep-2018 18:46:40 PRC] PHP Fatal error: Call to undefined method AdminController::newAction() in C:\wamp64\www\Framework\Core\Framework.class.php on line 82 -[25-Sep-2018 18:46:40 PRC] PHP Stack trace: -[25-Sep-2018 18:46:40 PRC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[25-Sep-2018 18:46:40 PRC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[25-Sep-2018 18:46:40 PRC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[25-Sep-2018 23:39:05 PRC] PHP Warning: mkdir(): No such file or directory in C:\wamp64\www\Framework\Lib\UploadLib.class.php on line 83 -[25-Sep-2018 23:39:05 PRC] PHP Stack trace: -[25-Sep-2018 23:39:05 PRC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[25-Sep-2018 23:39:05 PRC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[25-Sep-2018 23:39:05 PRC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[25-Sep-2018 23:39:05 PRC] PHP 4. ArtController->arteditAction() C:\wamp64\www\Framework\Core\Framework.class.php:82 -[25-Sep-2018 23:39:05 PRC] PHP 5. UploadLib->upload() C:\wamp64\www\Application\Controller\Admin\ArtController.class.php:100 -[25-Sep-2018 23:39:05 PRC] PHP 6. mkdir() C:\wamp64\www\Framework\Lib\UploadLib.class.php:83 -[25-Sep-2018 23:39:05 PRC] PHP Warning: move_uploaded_file(./Public/uploads/\2018-09-25\5baa56998cf2d0.60922532.jpg): failed to open stream: No such file or directory in C:\wamp64\www\Framework\Lib\UploadLib.class.php on line 88 -[25-Sep-2018 23:39:05 PRC] PHP Stack trace: -[25-Sep-2018 23:39:05 PRC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[25-Sep-2018 23:39:05 PRC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[25-Sep-2018 23:39:05 PRC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[25-Sep-2018 23:39:05 PRC] PHP 4. ArtController->arteditAction() C:\wamp64\www\Framework\Core\Framework.class.php:82 -[25-Sep-2018 23:39:05 PRC] PHP 5. UploadLib->upload() C:\wamp64\www\Application\Controller\Admin\ArtController.class.php:100 -[25-Sep-2018 23:39:05 PRC] PHP 6. move_uploaded_file() C:\wamp64\www\Framework\Lib\UploadLib.class.php:88 -[25-Sep-2018 23:39:05 PRC] PHP Warning: move_uploaded_file(): Unable to move 'C:\wamp64\tmp\php6E02.tmp' to './Public/uploads/\2018-09-25\5baa56998cf2d0.60922532.jpg' in C:\wamp64\www\Framework\Lib\UploadLib.class.php on line 88 -[25-Sep-2018 23:39:05 PRC] PHP Stack trace: -[25-Sep-2018 23:39:05 PRC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[25-Sep-2018 23:39:05 PRC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[25-Sep-2018 23:39:05 PRC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[25-Sep-2018 23:39:05 PRC] PHP 4. ArtController->arteditAction() C:\wamp64\www\Framework\Core\Framework.class.php:82 -[25-Sep-2018 23:39:05 PRC] PHP 5. UploadLib->upload() C:\wamp64\www\Application\Controller\Admin\ArtController.class.php:100 -[25-Sep-2018 23:39:05 PRC] PHP 6. move_uploaded_file() C:\wamp64\www\Framework\Lib\UploadLib.class.php:88 -[25-Sep-2018 23:39:45 PRC] PHP Warning: mkdir(): No such file or directory in C:\wamp64\www\Framework\Lib\UploadLib.class.php on line 83 -[25-Sep-2018 23:39:45 PRC] PHP Stack trace: -[25-Sep-2018 23:39:45 PRC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[25-Sep-2018 23:39:45 PRC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[25-Sep-2018 23:39:45 PRC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[25-Sep-2018 23:39:45 PRC] PHP 4. ArtController->arteditAction() C:\wamp64\www\Framework\Core\Framework.class.php:82 -[25-Sep-2018 23:39:45 PRC] PHP 5. UploadLib->upload() C:\wamp64\www\Application\Controller\Admin\ArtController.class.php:100 -[25-Sep-2018 23:39:45 PRC] PHP 6. mkdir() C:\wamp64\www\Framework\Lib\UploadLib.class.php:83 -[25-Sep-2018 23:39:45 PRC] PHP Warning: move_uploaded_file(./Public/uploads/\2018-09-25\5baa56c1d19cf6.74248615.jpg): failed to open stream: No such file or directory in C:\wamp64\www\Framework\Lib\UploadLib.class.php on line 88 -[25-Sep-2018 23:39:45 PRC] PHP Stack trace: -[25-Sep-2018 23:39:45 PRC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[25-Sep-2018 23:39:45 PRC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[25-Sep-2018 23:39:45 PRC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[25-Sep-2018 23:39:45 PRC] PHP 4. ArtController->arteditAction() C:\wamp64\www\Framework\Core\Framework.class.php:82 -[25-Sep-2018 23:39:45 PRC] PHP 5. UploadLib->upload() C:\wamp64\www\Application\Controller\Admin\ArtController.class.php:100 -[25-Sep-2018 23:39:45 PRC] PHP 6. move_uploaded_file() C:\wamp64\www\Framework\Lib\UploadLib.class.php:88 -[25-Sep-2018 23:39:45 PRC] PHP Warning: move_uploaded_file(): Unable to move 'C:\wamp64\tmp\phpB5D.tmp' to './Public/uploads/\2018-09-25\5baa56c1d19cf6.74248615.jpg' in C:\wamp64\www\Framework\Lib\UploadLib.class.php on line 88 -[25-Sep-2018 23:39:45 PRC] PHP Stack trace: -[25-Sep-2018 23:39:45 PRC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[25-Sep-2018 23:39:45 PRC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[25-Sep-2018 23:39:45 PRC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[25-Sep-2018 23:39:45 PRC] PHP 4. ArtController->arteditAction() C:\wamp64\www\Framework\Core\Framework.class.php:82 -[25-Sep-2018 23:39:45 PRC] PHP 5. UploadLib->upload() C:\wamp64\www\Application\Controller\Admin\ArtController.class.php:100 -[25-Sep-2018 23:39:45 PRC] PHP 6. move_uploaded_file() C:\wamp64\www\Framework\Lib\UploadLib.class.php:88 -[25-Sep-2018 23:40:26 PRC] PHP Warning: mkdir(): No such file or directory in C:\wamp64\www\Framework\Lib\UploadLib.class.php on line 83 -[25-Sep-2018 23:40:26 PRC] PHP Stack trace: -[25-Sep-2018 23:40:26 PRC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[25-Sep-2018 23:40:26 PRC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[25-Sep-2018 23:40:26 PRC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[25-Sep-2018 23:40:26 PRC] PHP 4. ArtController->artaddAction() C:\wamp64\www\Framework\Core\Framework.class.php:82 -[25-Sep-2018 23:40:26 PRC] PHP 5. UploadLib->upload() C:\wamp64\www\Application\Controller\Admin\ArtController.class.php:48 -[25-Sep-2018 23:40:26 PRC] PHP 6. mkdir() C:\wamp64\www\Framework\Lib\UploadLib.class.php:83 -[25-Sep-2018 23:40:26 PRC] PHP Warning: move_uploaded_file(./Public/uploads/\2018-09-25\5baa56ea316551.97607841.png): failed to open stream: No such file or directory in C:\wamp64\www\Framework\Lib\UploadLib.class.php on line 88 -[25-Sep-2018 23:40:26 PRC] PHP Stack trace: -[25-Sep-2018 23:40:26 PRC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[25-Sep-2018 23:40:26 PRC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[25-Sep-2018 23:40:26 PRC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[25-Sep-2018 23:40:26 PRC] PHP 4. ArtController->artaddAction() C:\wamp64\www\Framework\Core\Framework.class.php:82 -[25-Sep-2018 23:40:26 PRC] PHP 5. UploadLib->upload() C:\wamp64\www\Application\Controller\Admin\ArtController.class.php:48 -[25-Sep-2018 23:40:26 PRC] PHP 6. move_uploaded_file() C:\wamp64\www\Framework\Lib\UploadLib.class.php:88 -[25-Sep-2018 23:40:26 PRC] PHP Warning: move_uploaded_file(): Unable to move 'C:\wamp64\tmp\phpA8F5.tmp' to './Public/uploads/\2018-09-25\5baa56ea316551.97607841.png' in C:\wamp64\www\Framework\Lib\UploadLib.class.php on line 88 -[25-Sep-2018 23:40:26 PRC] PHP Stack trace: -[25-Sep-2018 23:40:26 PRC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[25-Sep-2018 23:40:26 PRC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[25-Sep-2018 23:40:26 PRC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[25-Sep-2018 23:40:26 PRC] PHP 4. ArtController->artaddAction() C:\wamp64\www\Framework\Core\Framework.class.php:82 -[25-Sep-2018 23:40:26 PRC] PHP 5. UploadLib->upload() C:\wamp64\www\Application\Controller\Admin\ArtController.class.php:48 -[25-Sep-2018 23:40:26 PRC] PHP 6. move_uploaded_file() C:\wamp64\www\Framework\Lib\UploadLib.class.php:88 -[26-Sep-2018 13:05:54 PRC] PHP Fatal error: Call to undefined function cut_str() in F:\wamp\www\Application\View\Home\list1.html on line 79 -[26-Sep-2018 13:05:54 PRC] PHP Stack trace: -[26-Sep-2018 13:05:54 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Sep-2018 13:05:54 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Sep-2018 13:05:54 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Sep-2018 13:05:54 PRC] PHP 4. HomeController->listAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Sep-2018 13:05:54 PRC] PHP 5. require() F:\wamp\www\Application\Controller\Home\HomeController.class.php:64 -[26-Sep-2018 13:05:59 PRC] PHP Fatal error: Call to undefined function cut_str() in F:\wamp\www\Application\View\Home\list1.html on line 79 -[26-Sep-2018 13:05:59 PRC] PHP Stack trace: -[26-Sep-2018 13:05:59 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Sep-2018 13:05:59 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Sep-2018 13:05:59 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Sep-2018 13:05:59 PRC] PHP 4. HomeController->listAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Sep-2018 13:05:59 PRC] PHP 5. require() F:\wamp\www\Application\Controller\Home\HomeController.class.php:64 -[26-Sep-2018 13:06:26 PRC] PHP Fatal error: Call to undefined function cut_str() in F:\wamp\www\Application\View\Home\list1.html on line 79 -[26-Sep-2018 13:06:26 PRC] PHP Stack trace: -[26-Sep-2018 13:06:26 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Sep-2018 13:06:26 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Sep-2018 13:06:26 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Sep-2018 13:06:26 PRC] PHP 4. HomeController->listAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Sep-2018 13:06:26 PRC] PHP 5. require() F:\wamp\www\Application\Controller\Home\HomeController.class.php:64 -[26-Sep-2018 13:06:27 PRC] PHP Fatal error: Call to undefined function cut_str() in F:\wamp\www\Application\View\Home\list1.html on line 79 -[26-Sep-2018 13:06:27 PRC] PHP Stack trace: -[26-Sep-2018 13:06:27 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Sep-2018 13:06:27 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Sep-2018 13:06:27 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Sep-2018 13:06:27 PRC] PHP 4. HomeController->listAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Sep-2018 13:06:27 PRC] PHP 5. require() F:\wamp\www\Application\Controller\Home\HomeController.class.php:64 -[26-Sep-2018 13:06:28 PRC] PHP Fatal error: Call to undefined function cut_str() in F:\wamp\www\Application\View\Home\list1.html on line 79 -[26-Sep-2018 13:06:28 PRC] PHP Stack trace: -[26-Sep-2018 13:06:28 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Sep-2018 13:06:28 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Sep-2018 13:06:28 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Sep-2018 13:06:28 PRC] PHP 4. HomeController->listAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Sep-2018 13:06:28 PRC] PHP 5. require() F:\wamp\www\Application\Controller\Home\HomeController.class.php:64 -[26-Sep-2018 13:06:34 PRC] PHP Fatal error: Call to undefined function cut_str() in F:\wamp\www\Application\View\Home\list1.html on line 79 -[26-Sep-2018 13:06:34 PRC] PHP Stack trace: -[26-Sep-2018 13:06:34 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Sep-2018 13:06:34 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Sep-2018 13:06:34 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Sep-2018 13:06:34 PRC] PHP 4. HomeController->listAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Sep-2018 13:06:34 PRC] PHP 5. require() F:\wamp\www\Application\Controller\Home\HomeController.class.php:64 -[26-Sep-2018 13:06:38 PRC] PHP Fatal error: Call to undefined function cut_str() in F:\wamp\www\Application\View\Home\list1.html on line 79 -[26-Sep-2018 13:06:38 PRC] PHP Stack trace: -[26-Sep-2018 13:06:38 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Sep-2018 13:06:38 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Sep-2018 13:06:38 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Sep-2018 13:06:38 PRC] PHP 4. HomeController->listAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Sep-2018 13:06:38 PRC] PHP 5. require() F:\wamp\www\Application\Controller\Home\HomeController.class.php:64 -[26-Sep-2018 13:06:44 PRC] PHP Fatal error: Call to undefined function cut_str() in F:\wamp\www\Application\View\Home\list1.html on line 79 -[26-Sep-2018 13:06:44 PRC] PHP Stack trace: -[26-Sep-2018 13:06:44 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Sep-2018 13:06:44 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Sep-2018 13:06:44 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Sep-2018 13:06:44 PRC] PHP 4. HomeController->listAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Sep-2018 13:06:44 PRC] PHP 5. require() F:\wamp\www\Application\Controller\Home\HomeController.class.php:64 -[26-Sep-2018 13:06:48 PRC] PHP Fatal error: Call to undefined function cut_str() in F:\wamp\www\Application\View\Home\list1.html on line 79 -[26-Sep-2018 13:06:48 PRC] PHP Stack trace: -[26-Sep-2018 13:06:48 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Sep-2018 13:06:48 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Sep-2018 13:06:48 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Sep-2018 13:06:48 PRC] PHP 4. HomeController->listAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Sep-2018 13:06:48 PRC] PHP 5. require() F:\wamp\www\Application\Controller\Home\HomeController.class.php:64 -[26-Sep-2018 13:14:19 PRC] PHP Parse error: syntax error, unexpected '<' in F:\wamp\www\Application\View\Home\list1.html on line 78 -[26-Sep-2018 13:14:19 PRC] PHP Stack trace: -[26-Sep-2018 13:14:19 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Sep-2018 13:14:19 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Sep-2018 13:14:19 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Sep-2018 13:14:19 PRC] PHP 4. HomeController->listAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Sep-2018 13:14:21 PRC] PHP Parse error: syntax error, unexpected '<' in F:\wamp\www\Application\View\Home\list1.html on line 78 -[26-Sep-2018 13:14:21 PRC] PHP Stack trace: -[26-Sep-2018 13:14:21 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Sep-2018 13:14:21 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Sep-2018 13:14:21 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Sep-2018 13:14:21 PRC] PHP 4. HomeController->listAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Sep-2018 13:14:21 PRC] PHP Parse error: syntax error, unexpected '<' in F:\wamp\www\Application\View\Home\list1.html on line 78 -[26-Sep-2018 13:14:21 PRC] PHP Stack trace: -[26-Sep-2018 13:14:21 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Sep-2018 13:14:21 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Sep-2018 13:14:21 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Sep-2018 13:14:21 PRC] PHP 4. HomeController->listAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Sep-2018 13:14:22 PRC] PHP Parse error: syntax error, unexpected '<' in F:\wamp\www\Application\View\Home\list1.html on line 78 -[26-Sep-2018 13:14:22 PRC] PHP Stack trace: -[26-Sep-2018 13:14:22 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Sep-2018 13:14:22 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Sep-2018 13:14:22 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Sep-2018 13:14:22 PRC] PHP 4. HomeController->listAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Sep-2018 13:14:28 PRC] PHP Parse error: syntax error, unexpected '<' in F:\wamp\www\Application\View\Home\list1.html on line 78 -[26-Sep-2018 13:14:28 PRC] PHP Stack trace: -[26-Sep-2018 13:14:28 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Sep-2018 13:14:28 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Sep-2018 13:14:28 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Sep-2018 13:14:28 PRC] PHP 4. HomeController->listAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Sep-2018 13:14:47 PRC] PHP Parse error: syntax error, unexpected '<' in F:\wamp\www\Application\View\Home\list1.html on line 78 -[26-Sep-2018 13:14:47 PRC] PHP Stack trace: -[26-Sep-2018 13:14:47 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Sep-2018 13:14:47 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Sep-2018 13:14:47 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Sep-2018 13:14:47 PRC] PHP 4. HomeController->listAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Sep-2018 13:14:48 PRC] PHP Parse error: syntax error, unexpected '<' in F:\wamp\www\Application\View\Home\list1.html on line 78 -[26-Sep-2018 13:14:48 PRC] PHP Stack trace: -[26-Sep-2018 13:14:48 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Sep-2018 13:14:48 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Sep-2018 13:14:48 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Sep-2018 13:14:48 PRC] PHP 4. HomeController->listAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[15-Oct-2018 17:26:56 PRC] PHP Fatal error: Call to undefined method HomeController::Action() in C:\wamp64\www\Framework\Core\Framework.class.php on line 82 -[15-Oct-2018 17:26:56 PRC] PHP Stack trace: -[15-Oct-2018 17:26:56 PRC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[15-Oct-2018 17:26:56 PRC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[15-Oct-2018 17:26:56 PRC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[16-Oct-2018 10:39:29 UTC] PHP Warning: require(C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php): failed to open stream: No such file or directory in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[16-Oct-2018 10:39:29 UTC] PHP Stack trace: -[16-Oct-2018 10:39:29 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[16-Oct-2018 10:39:29 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[16-Oct-2018 10:39:29 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[16-Oct-2018 10:39:29 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[16-Oct-2018 10:39:29 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[16-Oct-2018 10:39:29 UTC] PHP Fatal error: require(): Failed opening required 'C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php' (include_path='.;C:\php\pear') in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[16-Oct-2018 10:39:29 UTC] PHP Stack trace: -[16-Oct-2018 10:39:29 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[16-Oct-2018 10:39:29 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[16-Oct-2018 10:39:29 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[16-Oct-2018 10:39:29 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[16-Oct-2018 10:39:29 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[16-Oct-2018 12:21:03 UTC] PHP Warning: require(C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php): failed to open stream: No such file or directory in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[16-Oct-2018 12:21:03 UTC] PHP Stack trace: -[16-Oct-2018 12:21:03 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[16-Oct-2018 12:21:03 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[16-Oct-2018 12:21:03 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[16-Oct-2018 12:21:03 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[16-Oct-2018 12:21:03 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[16-Oct-2018 12:21:03 UTC] PHP Fatal error: require(): Failed opening required 'C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php' (include_path='.;C:\php\pear') in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[16-Oct-2018 12:21:03 UTC] PHP Stack trace: -[16-Oct-2018 12:21:03 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[16-Oct-2018 12:21:03 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[16-Oct-2018 12:21:03 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[16-Oct-2018 12:21:03 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[16-Oct-2018 12:21:03 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[16-Oct-2018 12:21:20 UTC] PHP Warning: require(C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php): failed to open stream: No such file or directory in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[16-Oct-2018 12:21:20 UTC] PHP Stack trace: -[16-Oct-2018 12:21:20 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[16-Oct-2018 12:21:20 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[16-Oct-2018 12:21:20 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[16-Oct-2018 12:21:20 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[16-Oct-2018 12:21:20 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[16-Oct-2018 12:21:20 UTC] PHP Fatal error: require(): Failed opening required 'C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php' (include_path='.;C:\php\pear') in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[16-Oct-2018 12:21:20 UTC] PHP Stack trace: -[16-Oct-2018 12:21:20 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[16-Oct-2018 12:21:20 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[16-Oct-2018 12:21:20 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[16-Oct-2018 12:21:20 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[16-Oct-2018 12:21:20 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[14-Nov-2018 13:40:58 UTC] PHP Warning: require(C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php): failed to open stream: No such file or directory in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[14-Nov-2018 13:40:58 UTC] PHP Stack trace: -[14-Nov-2018 13:40:58 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[14-Nov-2018 13:40:58 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[14-Nov-2018 13:40:58 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[14-Nov-2018 13:40:58 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[14-Nov-2018 13:40:58 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[14-Nov-2018 13:40:58 UTC] PHP Fatal error: require(): Failed opening required 'C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php' (include_path='.;C:\php\pear') in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[14-Nov-2018 13:40:58 UTC] PHP Stack trace: -[14-Nov-2018 13:40:58 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[14-Nov-2018 13:40:58 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[14-Nov-2018 13:40:58 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[14-Nov-2018 13:40:58 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[14-Nov-2018 13:40:58 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[14-Nov-2018 13:41:17 UTC] PHP Warning: require(C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php): failed to open stream: No such file or directory in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[14-Nov-2018 13:41:17 UTC] PHP Stack trace: -[14-Nov-2018 13:41:17 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[14-Nov-2018 13:41:17 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[14-Nov-2018 13:41:17 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[14-Nov-2018 13:41:17 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[14-Nov-2018 13:41:17 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[14-Nov-2018 13:41:17 UTC] PHP Fatal error: require(): Failed opening required 'C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php' (include_path='.;C:\php\pear') in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[14-Nov-2018 13:41:17 UTC] PHP Stack trace: -[14-Nov-2018 13:41:17 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[14-Nov-2018 13:41:17 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[14-Nov-2018 13:41:17 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[14-Nov-2018 13:41:17 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[14-Nov-2018 13:41:17 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[14-Nov-2018 20:18:26 UTC] PHP Warning: require(C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php): failed to open stream: No such file or directory in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[14-Nov-2018 20:18:26 UTC] PHP Stack trace: -[14-Nov-2018 20:18:26 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[14-Nov-2018 20:18:26 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[14-Nov-2018 20:18:26 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[14-Nov-2018 20:18:26 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[14-Nov-2018 20:18:26 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[14-Nov-2018 20:18:26 UTC] PHP Fatal error: require(): Failed opening required 'C:\wamp64\www\Application\Controller\Home\4e5e5d7364f443e28fbf0d3ae744a59aController.class.php' (include_path='.;C:\php\pear') in C:\wamp64\www\Framework\Core\Framework.class.php on line 66 -[14-Nov-2018 20:18:26 UTC] PHP Stack trace: -[14-Nov-2018 20:18:26 UTC] PHP 1. {main}() C:\wamp64\www\index.php:0 -[14-Nov-2018 20:18:26 UTC] PHP 2. Framework::run() C:\wamp64\www\index.php:4 -[14-Nov-2018 20:18:26 UTC] PHP 3. Framework::initDispatch() C:\wamp64\www\Framework\Core\Framework.class.php:17 -[14-Nov-2018 20:18:26 UTC] PHP 4. spl_autoload_call() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[14-Nov-2018 20:18:26 UTC] PHP 5. Framework::autoLoad() C:\wamp64\www\Framework\Core\Framework.class.php:81 -[26-Nov-2018 23:23:37 PRC] PHP Notice: Undefined variable: home in F:\wamp\www\Application\View\Home\article.html on line 46 -[26-Nov-2018 23:23:37 PRC] PHP Stack trace: -[26-Nov-2018 23:23:37 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Nov-2018 23:23:37 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Nov-2018 23:23:37 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Nov-2018 23:23:37 PRC] PHP 4. HomeController->artAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Nov-2018 23:23:37 PRC] PHP 5. require() F:\wamp\www\Application\Controller\Home\HomeController.class.php:88 -[26-Nov-2018 23:23:37 PRC] PHP Notice: Undefined variable: home in F:\wamp\www\Application\View\Home\article.html on line 47 -[26-Nov-2018 23:23:37 PRC] PHP Stack trace: -[26-Nov-2018 23:23:37 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Nov-2018 23:23:37 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Nov-2018 23:23:37 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Nov-2018 23:23:37 PRC] PHP 4. HomeController->artAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Nov-2018 23:23:37 PRC] PHP 5. require() F:\wamp\www\Application\Controller\Home\HomeController.class.php:88 -[26-Nov-2018 23:24:34 PRC] PHP Notice: Undefined variable: home in F:\wamp\www\Application\View\Home\article.html on line 48 -[26-Nov-2018 23:24:34 PRC] PHP Stack trace: -[26-Nov-2018 23:24:34 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Nov-2018 23:24:34 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Nov-2018 23:24:34 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Nov-2018 23:24:34 PRC] PHP 4. HomeController->artAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Nov-2018 23:24:34 PRC] PHP 5. require() F:\wamp\www\Application\Controller\Home\HomeController.class.php:88 -[26-Nov-2018 23:24:34 PRC] PHP Notice: Undefined variable: home in F:\wamp\www\Application\View\Home\article.html on line 49 -[26-Nov-2018 23:24:34 PRC] PHP Stack trace: -[26-Nov-2018 23:24:34 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Nov-2018 23:24:34 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Nov-2018 23:24:34 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Nov-2018 23:24:34 PRC] PHP 4. HomeController->artAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Nov-2018 23:24:34 PRC] PHP 5. require() F:\wamp\www\Application\Controller\Home\HomeController.class.php:88 -[26-Nov-2018 23:54:56 PRC] PHP Parse error: syntax error, unexpected '?' in F:\wamp\www\Application\View\Home\article.html on line 45 -[26-Nov-2018 23:54:56 PRC] PHP Stack trace: -[26-Nov-2018 23:54:56 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Nov-2018 23:54:56 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Nov-2018 23:54:56 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Nov-2018 23:54:56 PRC] PHP 4. HomeController->artAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Nov-2018 23:54:58 PRC] PHP Parse error: syntax error, unexpected '?' in F:\wamp\www\Application\View\Home\article.html on line 45 -[26-Nov-2018 23:54:58 PRC] PHP Stack trace: -[26-Nov-2018 23:54:58 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Nov-2018 23:54:58 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Nov-2018 23:54:58 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Nov-2018 23:54:58 PRC] PHP 4. HomeController->artAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Nov-2018 23:55:41 PRC] PHP Fatal error: Cannot use isset() on the result of an expression (you can use "null !== expression" instead) in F:\wamp\www\Application\View\Home\article.html on line 45 -[26-Nov-2018 23:55:41 PRC] PHP Stack trace: -[26-Nov-2018 23:55:41 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Nov-2018 23:55:41 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Nov-2018 23:55:41 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Nov-2018 23:55:41 PRC] PHP 4. HomeController->artAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Nov-2018 23:55:42 PRC] PHP Fatal error: Cannot use isset() on the result of an expression (you can use "null !== expression" instead) in F:\wamp\www\Application\View\Home\article.html on line 45 -[26-Nov-2018 23:55:42 PRC] PHP Stack trace: -[26-Nov-2018 23:55:42 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Nov-2018 23:55:42 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Nov-2018 23:55:42 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Nov-2018 23:55:42 PRC] PHP 4. HomeController->artAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Nov-2018 23:55:47 PRC] PHP Fatal error: Cannot use isset() on the result of an expression (you can use "null !== expression" instead) in F:\wamp\www\Application\View\Home\article.html on line 45 -[26-Nov-2018 23:55:47 PRC] PHP Stack trace: -[26-Nov-2018 23:55:47 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Nov-2018 23:55:47 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Nov-2018 23:55:47 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Nov-2018 23:55:47 PRC] PHP 4. HomeController->artAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Nov-2018 23:56:51 PRC] PHP Fatal error: Cannot use isset() on the result of an expression (you can use "null !== expression" instead) in F:\wamp\www\Application\View\Home\article.html on line 45 -[26-Nov-2018 23:56:51 PRC] PHP Stack trace: -[26-Nov-2018 23:56:51 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Nov-2018 23:56:51 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Nov-2018 23:56:51 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Nov-2018 23:56:51 PRC] PHP 4. HomeController->artAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Nov-2018 23:57:54 PRC] PHP Fatal error: Cannot use isset() on the result of an expression (you can use "null !== expression" instead) in F:\wamp\www\Application\View\Home\article.html on line 45 -[26-Nov-2018 23:57:54 PRC] PHP Stack trace: -[26-Nov-2018 23:57:54 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Nov-2018 23:57:54 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Nov-2018 23:57:54 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Nov-2018 23:57:54 PRC] PHP 4. HomeController->artAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Nov-2018 23:57:54 PRC] PHP Fatal error: Cannot use isset() on the result of an expression (you can use "null !== expression" instead) in F:\wamp\www\Application\View\Home\article.html on line 45 -[26-Nov-2018 23:57:54 PRC] PHP Stack trace: -[26-Nov-2018 23:57:54 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Nov-2018 23:57:54 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Nov-2018 23:57:54 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Nov-2018 23:57:54 PRC] PHP 4. HomeController->artAction() F:\wamp\www\Framework\Core\Framework.class.php:82 -[26-Nov-2018 23:58:00 PRC] PHP Fatal error: Cannot use isset() on the result of an expression (you can use "null !== expression" instead) in F:\wamp\www\Application\View\Home\article.html on line 45 -[26-Nov-2018 23:58:00 PRC] PHP Stack trace: -[26-Nov-2018 23:58:00 PRC] PHP 1. {main}() F:\wamp\www\index.php:0 -[26-Nov-2018 23:58:00 PRC] PHP 2. Framework::run() F:\wamp\www\index.php:4 -[26-Nov-2018 23:58:00 PRC] PHP 3. Framework::initDispatch() F:\wamp\www\Framework\Core\Framework.class.php:17 -[26-Nov-2018 23:58:00 PRC] PHP 4. HomeController->artAction() F:\wamp\www\Framework\Core\Framework.class.php:82 +[06-Dec-2019 03:54:10 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\MySQLDB.class.php:23 +Stack trace: +#0 D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\MySQLDB.class.php(71): MySQLDB->connect() +#1 D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\MySQLDB.class.php(86): MySQLDB->__construct(Array) +#2 D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Lib\SessionLib.class.php(24): MySQLDB::getInstance(Array) +#3 [internal function]: SessionLib->open('D:\\phpStudy\\PHP...', 'PHPSESSID') +#4 D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Controller.class.php(25): session_start() +#5 D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Controller.class.php(12): Controller->initSession() +#6 D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php(81): Controller->__construct() +#7 D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php(17): Framework::initDispatch() +#8 D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php(4): Framewor in D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\MySQLDB.class.php on line 23 +[06-Dec-2019 12:01:11 PRC] PHP Notice: Undefined index: home in D:\phpStudy\PHPTutorial\WWW\mtdg.club\Application\View\Home\index.html on line 7 +[06-Dec-2019 12:01:11 PRC] PHP Stack trace: +[06-Dec-2019 12:01:11 PRC] PHP 1. {main}() D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php:0 +[06-Dec-2019 12:01:11 PRC] PHP 2. Framework::run() D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php:4 +[06-Dec-2019 12:01:11 PRC] PHP 3. Framework::initDispatch() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php:17 +[06-Dec-2019 12:01:11 PRC] PHP 4. HomeController->homeAction() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php:82 +[06-Dec-2019 12:01:11 PRC] PHP 5. require() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Application\Controller\Home\HomeController.class.php:18 +[06-Dec-2019 12:01:11 PRC] PHP Notice: Undefined index: home in D:\phpStudy\PHPTutorial\WWW\mtdg.club\Application\View\Home\index.html on line 8 +[06-Dec-2019 12:01:11 PRC] PHP Stack trace: +[06-Dec-2019 12:01:11 PRC] PHP 1. {main}() D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php:0 +[06-Dec-2019 12:01:11 PRC] PHP 2. Framework::run() D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php:4 +[06-Dec-2019 12:01:11 PRC] PHP 3. Framework::initDispatch() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php:17 +[06-Dec-2019 12:01:11 PRC] PHP 4. HomeController->homeAction() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php:82 +[06-Dec-2019 12:01:11 PRC] PHP 5. require() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Application\Controller\Home\HomeController.class.php:18 +[06-Dec-2019 12:01:11 PRC] PHP Notice: Undefined index: home in D:\phpStudy\PHPTutorial\WWW\mtdg.club\Application\View\Home\index.html on line 160 +[06-Dec-2019 12:01:11 PRC] PHP Stack trace: +[06-Dec-2019 12:01:11 PRC] PHP 1. {main}() D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php:0 +[06-Dec-2019 12:01:11 PRC] PHP 2. Framework::run() D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php:4 +[06-Dec-2019 12:01:11 PRC] PHP 3. Framework::initDispatch() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php:17 +[06-Dec-2019 12:01:11 PRC] PHP 4. HomeController->homeAction() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php:82 +[06-Dec-2019 12:01:11 PRC] PHP 5. require() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Application\Controller\Home\HomeController.class.php:18 +[06-Dec-2019 12:01:11 PRC] PHP Notice: Undefined index: home in D:\phpStudy\PHPTutorial\WWW\mtdg.club\Application\View\Home\index.html on line 161 +[06-Dec-2019 12:01:11 PRC] PHP Stack trace: +[06-Dec-2019 12:01:11 PRC] PHP 1. {main}() D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php:0 +[06-Dec-2019 12:01:11 PRC] PHP 2. Framework::run() D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php:4 +[06-Dec-2019 12:01:11 PRC] PHP 3. Framework::initDispatch() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php:17 +[06-Dec-2019 12:01:11 PRC] PHP 4. HomeController->homeAction() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php:82 +[06-Dec-2019 12:01:11 PRC] PHP 5. require() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Application\Controller\Home\HomeController.class.php:18 diff --git a/Framework/Core/Model.class.php b/Framework/Core/Model.class.php index 5ffaaeb..3307272 100644 --- a/Framework/Core/Model.class.php +++ b/Framework/Core/Model.class.php @@ -21,7 +21,7 @@ private function getTable(){ //获得主键字段 private function getPrimaryKey($table){ $rs=$this->db->query("desc `{$table}`"); - while ($rows=mysql_fetch_assoc($rs)) { + while ($rows=mysqli_fetch_assoc($rs)) { # code... if ($rows['Key']=='PRI') { # code... diff --git a/Framework/Core/MySQLDB.class.php b/Framework/Core/MySQLDB.class.php index 485cf96..5a66d1f 100644 --- a/Framework/Core/MySQLDB.class.php +++ b/Framework/Core/MySQLDB.class.php @@ -20,7 +20,7 @@ private function initParam($config) { } //连接数据库 private function connect() { - $this->link=@mysql_connect("{$this->host}:{$this->port}",$this->user,$this->pwd) or die('数据库连接失败'); + $this->link=mysqli_connect("{$this->host}:{$this->port}",$this->user,$this->pwd,$this->dbname) or die('数据库连接失败'); } //设置字符编码 private function setCharset() { @@ -47,12 +47,12 @@ function mLog($log){ *如果是数据操作语句,成功返回true,失败返回false; */ public function query($sql) { - if(!$result=mysql_query($sql,$this->link)){ + if(!$result=mysqli_query($this->link,$sql)){ //mLog($sql."\n".mysql_error()); if($GLOBALS['config']['app']['app_debug']){//开发模式 echo 'SQL语句执行失败
'; - echo '错误编号:'.mysql_errno(),'
'; - echo '错误信息:'.mysql_error(),'
'; + echo '错误编号:'.mysqli_errno(),'
'; + echo '错误信息:'.mysqli_error(),'
'; echo '错误的SQL语句',$sql,'
'; exit; } @@ -97,7 +97,7 @@ public function fetchAll($sql,$fetch_type='assoc') { $fetch_types=array('assoc','row','array'); if(!in_array($fetch_type,$fetch_types)) $fetch_type='assoc'; - $fetch_fun='mysql_fetch_'.$fetch_type; + $fetch_fun='mysqli_fetch_'.$fetch_type; $array=array(); while($rows=$fetch_fun($rs)){ $array[]=$rows; From 6c9f60a99a061447dbe83956781edc0277063b31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=99=BA=E6=9D=B0?= <747245429@qq.com> Date: Fri, 6 Dec 2019 12:48:23 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E5=86=97=E4=BD=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 +- .../Controller/Home/HomeController.class.php | 3 -- Application/log/error_log | 39 ------------------- Application/log/error_log.txt | 0 4 files changed, 1 insertion(+), 43 deletions(-) delete mode 100644 Application/log/error_log create mode 100644 Application/log/error_log.txt diff --git a/.gitignore b/.gitignore index 2004908..13f378e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ /.idea /vender /composer.lock -/Application/log/error_log \ No newline at end of file +/Application/log/*.txt \ No newline at end of file diff --git a/Application/Controller/Home/HomeController.class.php b/Application/Controller/Home/HomeController.class.php index 5ea91f4..32fad0c 100644 --- a/Application/Controller/Home/HomeController.class.php +++ b/Application/Controller/Home/HomeController.class.php @@ -24,9 +24,6 @@ public function listAction(){ $list=$model_list->getCategoryTree(); //确定分类栏目 $n=isset($_GET['n'])?$_GET['n']:0;//确定栏目div和li的位置,默认是显示全部 - //获得一级分类的总数 - $model_category=new CategoryModel(); - $m=$model_category->getFirstNumber(); $pid=isset($_GET['pid'])?$_GET['pid']:'';//确定父亲栏目(一级栏目) $id=isset($_GET['id'])?$_GET['id']:'';//确定子栏目(二级栏目) //获取分页信息 diff --git a/Application/log/error_log b/Application/log/error_log deleted file mode 100644 index aa9568b..0000000 --- a/Application/log/error_log +++ /dev/null @@ -1,39 +0,0 @@ -[06-Dec-2019 03:54:10 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\MySQLDB.class.php:23 -Stack trace: -#0 D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\MySQLDB.class.php(71): MySQLDB->connect() -#1 D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\MySQLDB.class.php(86): MySQLDB->__construct(Array) -#2 D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Lib\SessionLib.class.php(24): MySQLDB::getInstance(Array) -#3 [internal function]: SessionLib->open('D:\\phpStudy\\PHP...', 'PHPSESSID') -#4 D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Controller.class.php(25): session_start() -#5 D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Controller.class.php(12): Controller->initSession() -#6 D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php(81): Controller->__construct() -#7 D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php(17): Framework::initDispatch() -#8 D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php(4): Framewor in D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\MySQLDB.class.php on line 23 -[06-Dec-2019 12:01:11 PRC] PHP Notice: Undefined index: home in D:\phpStudy\PHPTutorial\WWW\mtdg.club\Application\View\Home\index.html on line 7 -[06-Dec-2019 12:01:11 PRC] PHP Stack trace: -[06-Dec-2019 12:01:11 PRC] PHP 1. {main}() D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php:0 -[06-Dec-2019 12:01:11 PRC] PHP 2. Framework::run() D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php:4 -[06-Dec-2019 12:01:11 PRC] PHP 3. Framework::initDispatch() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php:17 -[06-Dec-2019 12:01:11 PRC] PHP 4. HomeController->homeAction() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php:82 -[06-Dec-2019 12:01:11 PRC] PHP 5. require() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Application\Controller\Home\HomeController.class.php:18 -[06-Dec-2019 12:01:11 PRC] PHP Notice: Undefined index: home in D:\phpStudy\PHPTutorial\WWW\mtdg.club\Application\View\Home\index.html on line 8 -[06-Dec-2019 12:01:11 PRC] PHP Stack trace: -[06-Dec-2019 12:01:11 PRC] PHP 1. {main}() D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php:0 -[06-Dec-2019 12:01:11 PRC] PHP 2. Framework::run() D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php:4 -[06-Dec-2019 12:01:11 PRC] PHP 3. Framework::initDispatch() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php:17 -[06-Dec-2019 12:01:11 PRC] PHP 4. HomeController->homeAction() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php:82 -[06-Dec-2019 12:01:11 PRC] PHP 5. require() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Application\Controller\Home\HomeController.class.php:18 -[06-Dec-2019 12:01:11 PRC] PHP Notice: Undefined index: home in D:\phpStudy\PHPTutorial\WWW\mtdg.club\Application\View\Home\index.html on line 160 -[06-Dec-2019 12:01:11 PRC] PHP Stack trace: -[06-Dec-2019 12:01:11 PRC] PHP 1. {main}() D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php:0 -[06-Dec-2019 12:01:11 PRC] PHP 2. Framework::run() D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php:4 -[06-Dec-2019 12:01:11 PRC] PHP 3. Framework::initDispatch() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php:17 -[06-Dec-2019 12:01:11 PRC] PHP 4. HomeController->homeAction() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php:82 -[06-Dec-2019 12:01:11 PRC] PHP 5. require() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Application\Controller\Home\HomeController.class.php:18 -[06-Dec-2019 12:01:11 PRC] PHP Notice: Undefined index: home in D:\phpStudy\PHPTutorial\WWW\mtdg.club\Application\View\Home\index.html on line 161 -[06-Dec-2019 12:01:11 PRC] PHP Stack trace: -[06-Dec-2019 12:01:11 PRC] PHP 1. {main}() D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php:0 -[06-Dec-2019 12:01:11 PRC] PHP 2. Framework::run() D:\phpStudy\PHPTutorial\WWW\mtdg.club\index.php:4 -[06-Dec-2019 12:01:11 PRC] PHP 3. Framework::initDispatch() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php:17 -[06-Dec-2019 12:01:11 PRC] PHP 4. HomeController->homeAction() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Framework\Core\Framework.class.php:82 -[06-Dec-2019 12:01:11 PRC] PHP 5. require() D:\phpStudy\PHPTutorial\WWW\mtdg.club\Application\Controller\Home\HomeController.class.php:18 diff --git a/Application/log/error_log.txt b/Application/log/error_log.txt new file mode 100644 index 0000000..e69de29 From 9b5d0dba3d6da51765e9586cad9b53aa64654760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=99=BA=E6=9D=B0?= <747245429@qq.com> Date: Fri, 6 Dec 2019 12:54:50 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=B1=8F=E8=94=BD=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 +- Application/log/error_log.txt | 0 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 Application/log/error_log.txt diff --git a/.gitignore b/.gitignore index 13f378e..8c7d748 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ /.idea /vender /composer.lock -/Application/log/*.txt \ No newline at end of file +/Application/log/* \ No newline at end of file diff --git a/Application/log/error_log.txt b/Application/log/error_log.txt deleted file mode 100644 index e69de29..0000000