質問編集履歴
15
誤字脱字
test
CHANGED
File without changes
|
test
CHANGED
@@ -347,7 +347,3 @@
|
|
347
347
|
|
348
348
|
|
349
349
|
起きたこと:画面が真っ白
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
2017/09/29 今はじめからやり直そうとさくらVPSのcentOS7を再インストールしたらvarフォルダの中にwwwがありませんでした…もう本当になんなんでしょう…
|
14
VPS
test
CHANGED
File without changes
|
test
CHANGED
@@ -347,3 +347,7 @@
|
|
347
347
|
|
348
348
|
|
349
349
|
起きたこと:画面が真っ白
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
2017/09/29 今はじめからやり直そうとさくらVPSのcentOS7を再インストールしたらvarフォルダの中にwwwがありませんでした…もう本当になんなんでしょう…
|
13
なぜか文字が大きくなるので修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -62,7 +62,7 @@
|
|
62
62
|
|
63
63
|
----------------------
|
64
64
|
|
65
|
-
NetCommons3の動作環境は以下です。
|
65
|
+
NetCommons3の動作環境は以下です。(公式ページより転載)
|
66
66
|
|
67
67
|
● PHP5.4以上
|
68
68
|
|
12
行ったことなど全体的にみやすいように編集
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
全体的に質問文を整理しました。2017/09/29
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
|
6
|
+
|
1
7
|
目的:NetCommons3というcmsを利用してウェブサイトのデフォルトを見てみたい。
|
2
8
|
|
3
9
|
(NetCommons3の取得先:https://www.netcommons.org/)
|
@@ -8,10 +14,6 @@
|
|
8
14
|
|
9
15
|
|
10
16
|
|
11
|
-
環境:LAMP
|
12
|
-
|
13
|
-
|
14
|
-
|
15
17
|
【LINUX】
|
16
18
|
|
17
19
|
・VPSサービスにてバージョン
|
@@ -32,36 +34,12 @@
|
|
32
34
|
|
33
35
|
Server built: Aug 15 2017 19:44:58
|
34
36
|
|
35
|
-
・行ったこと
|
36
|
-
|
37
|
-
①Options -Indexes FollowSymLinks
|
38
|
-
|
39
|
-
②Document rootを var/www/NetCommons3/app/
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
【firewall】
|
44
|
-
|
45
|
-
port80解放するため
|
46
|
-
|
47
|
-
|
48
|
-
|
49
37
|
|
50
38
|
|
51
39
|
【PHP】
|
52
40
|
|
53
41
|
・バージョン
|
54
42
|
|
55
|
-
PHP 5.3.3 (cli) (built: Mar 22 2017 12:27:09)
|
56
|
-
|
57
|
-
Copyright (c) 1997-2010 The PHP Group
|
58
|
-
|
59
|
-
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
↓下記に入れなおしました
|
64
|
-
|
65
43
|
PHP 5.4.16 (cli) (built: Nov 6 2016 00:29:02)
|
66
44
|
|
67
45
|
Copyright (c) 1997-2013 The PHP Group
|
@@ -70,472 +48,302 @@
|
|
70
48
|
|
71
49
|
|
72
50
|
|
73
|
-
|
51
|
+
【MYSQL】
|
52
|
+
|
74
|
-
|
53
|
+
・バージョン
|
54
|
+
|
55
|
+
mysql Ver 14.14 Distrib 5.1.73, for redhat-linux-gnu (x86_64) using readline 5.1
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
75
|
-
|
61
|
+
【行ったこと】
|
62
|
+
|
63
|
+
----------------------
|
64
|
+
|
65
|
+
NetCommons3の動作環境は以下です。
|
66
|
+
|
67
|
+
● PHP5.4以上
|
68
|
+
|
69
|
+
● MySQL5以上(※sql_modeがSTRICT_TRANS_TABLESだと正常に動作しません)
|
70
|
+
|
71
|
+
● Apacheのmod_rewriteモジュール
|
72
|
+
|
73
|
+
● zipコマンド
|
74
|
+
|
75
|
+
----------------------
|
76
|
+
|
77
|
+
CentOS6系の標準リポジトリのPHPバージョンは5.3、
|
78
|
+
|
79
|
+
CentOS7系の標準リポジトリのPHPバージョンは5.4のため
|
80
|
+
|
81
|
+
さくらVPSにてcentOS7を契約
|
82
|
+
|
83
|
+
ーーーー前提ここまでーーーーーーー
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
インストール
|
88
|
+
|
89
|
+
Apache 2.2.15
|
90
|
+
|
91
|
+
MySQL 5.1.67
|
92
|
+
|
93
|
+
PHP 5.4.16
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
気になる点はsshdの設定は何もしていません。
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
①
|
102
|
+
|
103
|
+
# firewall-cmd --permanent --zone=public --add-service=http
|
104
|
+
|
105
|
+
success
|
106
|
+
|
107
|
+
# firewall-cmd --permanent --zone=public --add-service=https
|
108
|
+
|
109
|
+
success
|
110
|
+
|
111
|
+
# firewall-cmd --reload
|
112
|
+
|
113
|
+
success
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
②Apache ウェブサーバの設定
|
118
|
+
|
119
|
+
su -l
|
120
|
+
|
121
|
+
yum -y install httpd
|
122
|
+
|
123
|
+
systemctl start httpd.service
|
124
|
+
|
125
|
+
systemctl status サービス名.service 確認
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
③PHPの設定
|
130
|
+
|
131
|
+
yum install php php-devel php-mysql php-gd php-mbstring
|
132
|
+
|
133
|
+
日本語使えてsql使えてグラフィック使えてというphpインストール
|
134
|
+
|
135
|
+
php -v phpのversion5.4確認
|
136
|
+
|
137
|
+
cd /まで移動
|
138
|
+
|
139
|
+
cp /etc/php.ini /etc/php.ini.org バックアップ
|
140
|
+
|
141
|
+
vim /etc/php.iniにて
|
142
|
+
|
143
|
+
error_log = /var/php_errors.log エラーログ出すように
|
144
|
+
|
145
|
+
mbstring.language = Japanese コメントはずす
|
146
|
+
|
147
|
+
mbstring.internal_encoding = UTF-8 変える
|
148
|
+
|
149
|
+
/http_input auto
|
150
|
+
|
151
|
+
mbstring.detect_order = auto
|
152
|
+
|
153
|
+
expose_php = OFF
|
154
|
+
|
155
|
+
/timezone
|
76
156
|
|
77
157
|
date.timezone = Asia/Tokyo
|
78
158
|
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
s
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
159
|
+
apache再起動
|
160
|
+
|
161
|
+
# systemctl restart httpd.service
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
④MySQL
|
166
|
+
|
167
|
+
#yum install mysql
|
168
|
+
|
169
|
+
#mysql --version
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
#mysql Ver 15.1 Distrib 5.5.56-MariaDB, for Linux (x86_64) using readline 5.1
|
174
|
+
|
175
|
+
#sudo yum -y localinstall http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
#yum info mysql-community-server
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
#sudo yum -y install mysql-community-server
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
MySQLの起動
|
190
|
+
|
191
|
+
#systemctl start mysqld.service
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
自動でMySQLを立ち上げ
|
196
|
+
|
197
|
+
#systemctl enable mysqld.service
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
⑤remiに指定してintlをダウンロード
|
202
|
+
|
203
|
+
#yum install php-intl
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
NetCommons3をサイトからダウンロード
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
前回もしあるなら掃除 rm -rf NetCommons3
|
212
|
+
|
213
|
+
⑥winSCPでwww直下に配置(ドラッグアンドドロップ)
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
状態:/var/www/NetCommons-3.1.4.zip
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
⑦展開 unzip NetCommons-3.1.4.zip
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
状態:/var/www/NetCommons3
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
ディレクトリ名変更 NetCommons3→nc
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
状態:/var/www/nc
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
⑧cd nc
|
238
|
+
|
239
|
+
cakephpのダウンロード
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
#yum install php-dom
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
#yum install mcrypt
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
#sudo yum --enablerepo=epel -y update epel-release
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
#sudo yum install --enablerepo=epel php-mcrypt
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
npmインストール
|
260
|
+
|
261
|
+
#yum install npm
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
node -v
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
⑨
|
270
|
+
|
271
|
+
#yum update openssl openssl-devel
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
⑩bowerインストール
|
276
|
+
|
277
|
+
#npm install -g bower
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
⑪sudo bower install jquery.simplePagination --allow-root
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
bower.jsonのnameでは大文字より小文字、ハイフンをアンダーバーにする
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
⑰composerインストール
|
290
|
+
|
291
|
+
yum install composer
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
composer update
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
composer install
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
⑫ポート開放
|
304
|
+
|
305
|
+
firewall-cmd --add-port=80/tcp --zone=public --permanent
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
systemctl restart httpd.service
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
⑬.haccessをapacheにて有効にする
|
314
|
+
|
315
|
+
<Directory /var/www/nc>
|
316
|
+
|
317
|
+
AllowOverride All
|
318
|
+
|
319
|
+
Require all granted
|
320
|
+
|
321
|
+
</Directory>
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
⑭
|
326
|
+
|
327
|
+
chown -R apache:apache /var/www/nc
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
⑮ Apacheのmod_rewriteモジュールの有効
|
332
|
+
|
333
|
+
以下の1行を追加
|
334
|
+
|
335
|
+
LoadModule rewrite_module modules/mod_rewrite.so
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
⑯NetCommons公式サイトからダウンロード
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
そして1●●.1●●.●●.●/nc にブラウザに入力し接続
|
142
346
|
|
143
347
|
|
144
348
|
|
145
349
|
起きたこと:画面が真っ白
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
そのときのhttpd access_log:
|
150
|
-
|
151
|
-
1●●.1●●.1●●.●● - - [23/Sep/2017:17:28:00 +0900] "GET / HTTP/1.1" 500 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
◆◆◆◆◆◆◆◆◆◆◆◆index.phpの中身◆◆◆◆◆◆◆◆◆
|
158
|
-
|
159
|
-
<?php
|
160
|
-
|
161
|
-
/**
|
162
|
-
|
163
|
-
* Dummy index for app dir
|
164
|
-
|
165
|
-
*/
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
/**
|
170
|
-
|
171
|
-
* Dummy index for app dir
|
172
|
-
|
173
|
-
*
|
174
|
-
|
175
|
-
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
176
|
-
|
177
|
-
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
178
|
-
|
179
|
-
*
|
180
|
-
|
181
|
-
* Licensed under The MIT License
|
182
|
-
|
183
|
-
* For full copyright and license information, please see the LICENSE.txt
|
184
|
-
|
185
|
-
* Redistributions of files must retain the above copyright notice.
|
186
|
-
|
187
|
-
*
|
188
|
-
|
189
|
-
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
190
|
-
|
191
|
-
* @link http://cakephp.org CakePHP(tm) Project
|
192
|
-
|
193
|
-
* @since CakePHP(tm) v 0.10.0.1076
|
194
|
-
|
195
|
-
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
196
|
-
|
197
|
-
*/
|
198
|
-
|
199
|
-
require 'webroot' . DIRECTORY_SEPARATOR . 'index.php';
|
200
|
-
|
201
|
-
◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
自分できになった箇所:
|
208
|
-
|
209
|
-
httpd conf
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
<Directory />→何か設定必要か
|
214
|
-
|
215
|
-
Options FollowSymLinks
|
216
|
-
|
217
|
-
AllowOverride None
|
218
|
-
|
219
|
-
</Directory>
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
php.iniを特に設定していない→何か許可など必要なのか
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
.Netなんたらの設定→すいませんうろ覚えで何かほかに設定しなければいけないような気がしてます。
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
何かアドバイス頂けないでしょうか。
|
232
|
-
|
233
|
-
単純にNetCommons3をVPS上でindex.phpを見たい。それだけなんです。
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
追記:エラーログ追記です。すいません。
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
[Sun Sep 24 00:29:13 2017] [error] [client 1●●.1●●.1●●.1●●] PHP Warning: include(/var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/bootstrap.php): failed to open stream: No such file or directory in /var/www/NetCommons3/app/webroot/index.php on line 93
|
244
|
-
|
245
|
-
[Sun Sep 24 00:29:13 2017] [error] [client 1●●.1●●.1●●.1●●] PHP Warning: include(): Failed opening '/var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/bootstrap.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/NetCommons3/app/webroot/index.php on line 93
|
246
|
-
|
247
|
-
[Sun Sep 24 00:29:13 2017] [error] [client 1●●.1●●.1●●.1●●] PHP Fatal error: CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your /cake core directory and your /vendors root directory. in /var/www/NetCommons3/app/webroot/index.php on line 98
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
もしかしてこれはVendorフォルダのあるディレクトリのindex.phpではなく、app/webrootフォルダの中のindex.phpをみにいってるのでしょうかね…
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
var/www/NetCommons3/app/webroot/index.phpの中身は以下です。
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
<?php
|
260
|
-
|
261
|
-
/**
|
262
|
-
|
263
|
-
* Index
|
264
|
-
|
265
|
-
*
|
266
|
-
|
267
|
-
* The Front Controller for handling every request
|
268
|
-
|
269
|
-
*
|
270
|
-
|
271
|
-
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
272
|
-
|
273
|
-
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
274
|
-
|
275
|
-
*
|
276
|
-
|
277
|
-
* Licensed under The MIT License
|
278
|
-
|
279
|
-
* For full copyright and license information, please see the LICENSE.txt
|
280
|
-
|
281
|
-
* Redistributions of files must retain the above copyright notice.
|
282
|
-
|
283
|
-
*
|
284
|
-
|
285
|
-
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
286
|
-
|
287
|
-
* @link http://cakephp.org CakePHP(tm) Project
|
288
|
-
|
289
|
-
* @since CakePHP(tm) v 0.2.9
|
290
|
-
|
291
|
-
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
292
|
-
|
293
|
-
*/
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
/**
|
298
|
-
|
299
|
-
* Use the DS to separate the directories in other defines
|
300
|
-
|
301
|
-
*/
|
302
|
-
|
303
|
-
if (!defined('DS')) {
|
304
|
-
|
305
|
-
define('DS', DIRECTORY_SEPARATOR);
|
306
|
-
|
307
|
-
}
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
/**
|
312
|
-
|
313
|
-
* These defines should only be edited if you have cake installed in
|
314
|
-
|
315
|
-
* a directory layout other than the way it is distributed.
|
316
|
-
|
317
|
-
* When using custom settings be sure to use the DS and do not add a trailing DS.
|
318
|
-
|
319
|
-
*/
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
/**
|
324
|
-
|
325
|
-
* The full path to the directory which holds "app", WITHOUT a trailing DS.
|
326
|
-
|
327
|
-
*
|
328
|
-
|
329
|
-
*/
|
330
|
-
|
331
|
-
if (!defined('ROOT')) {
|
332
|
-
|
333
|
-
define('ROOT', dirname(dirname(dirname(__FILE__))));
|
334
|
-
|
335
|
-
}
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
/**
|
340
|
-
|
341
|
-
* The actual directory name for the "app".
|
342
|
-
|
343
|
-
*
|
344
|
-
|
345
|
-
*/
|
346
|
-
|
347
|
-
if (!defined('APP_DIR')) {
|
348
|
-
|
349
|
-
define('APP_DIR', basename(dirname(dirname(__FILE__))));
|
350
|
-
|
351
|
-
}
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
/**
|
356
|
-
|
357
|
-
* The absolute path to the "cake" directory, WITHOUT a trailing DS.
|
358
|
-
|
359
|
-
*
|
360
|
-
|
361
|
-
* Un-comment this line to specify a fixed path to CakePHP.
|
362
|
-
|
363
|
-
* This should point at the directory containing `Cake`.
|
364
|
-
|
365
|
-
*
|
366
|
-
|
367
|
-
* For ease of development CakePHP uses PHP's include_path. If you
|
368
|
-
|
369
|
-
* cannot modify your include_path set this value.
|
370
|
-
|
371
|
-
*
|
372
|
-
|
373
|
-
* Leaving this constant undefined will result in it being defined in Cake/bootstrap.php
|
374
|
-
|
375
|
-
*
|
376
|
-
|
377
|
-
* The following line differs from its sibling
|
378
|
-
|
379
|
-
* /lib/Cake/Console/Templates/skel/webroot/index.php
|
380
|
-
|
381
|
-
*/
|
382
|
-
|
383
|
-
define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'vendors' . DS . 'cakephp' . DS . 'cakephp' . DS . 'lib');
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
/**
|
388
|
-
|
389
|
-
* Editing below this line should NOT be necessary.
|
390
|
-
|
391
|
-
* Change at your own risk.
|
392
|
-
|
393
|
-
*
|
394
|
-
|
395
|
-
*/
|
396
|
-
|
397
|
-
if (!defined('WEBROOT_DIR')) {
|
398
|
-
|
399
|
-
define('WEBROOT_DIR', basename(dirname(__FILE__)));
|
400
|
-
|
401
|
-
}
|
402
|
-
|
403
|
-
if (!defined('WWW_ROOT')) {
|
404
|
-
|
405
|
-
define('WWW_ROOT', dirname(__FILE__) . DS);
|
406
|
-
|
407
|
-
}
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
// for built-in server
|
412
|
-
|
413
|
-
if (php_sapi_name() === 'cli-server') {
|
414
|
-
|
415
|
-
if ($_SERVER['REQUEST_URI'] !== '/' && file_exists(WWW_ROOT . $_SERVER['PHP_SELF'])) {
|
416
|
-
|
417
|
-
return false;
|
418
|
-
|
419
|
-
}
|
420
|
-
|
421
|
-
$_SERVER['PHP_SELF'] = '/' . basename(__FILE__);
|
422
|
-
|
423
|
-
}
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
|
428
|
-
|
429
|
-
if (function_exists('ini_set')) {
|
430
|
-
|
431
|
-
ini_set('include_path', ROOT . DS . 'lib' . PATH_SEPARATOR . ini_get('include_path'));
|
432
|
-
|
433
|
-
}
|
434
|
-
|
435
|
-
if (!include 'Cake' . DS . 'bootstrap.php') {
|
436
|
-
|
437
|
-
$failed = true;
|
438
|
-
|
439
|
-
}
|
440
|
-
|
441
|
-
} else {
|
442
|
-
|
443
|
-
if (!include CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'bootstrap.php') {
|
444
|
-
|
445
|
-
$failed = true;
|
446
|
-
|
447
|
-
}
|
448
|
-
|
449
|
-
}
|
450
|
-
|
451
|
-
if (!empty($failed)) {
|
452
|
-
|
453
|
-
trigger_error("CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your " . DS . "cake core directory and your " . DS . "vendors root directory.", E_USER_ERROR);
|
454
|
-
|
455
|
-
}
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
App::uses('Dispatcher', 'Routing');
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
$Dispatcher = new Dispatcher();
|
464
|
-
|
465
|
-
$Dispatcher->dispatch(
|
466
|
-
|
467
|
-
new CakeRequest(),
|
468
|
-
|
469
|
-
new CakeResponse()
|
470
|
-
|
471
|
-
);
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
エラーログでいう93行目は
|
478
|
-
|
479
|
-
if (!include CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'bootstrap.php') {
|
480
|
-
|
481
|
-
でした。
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
その後行ったこと。2017年9月24日1:08
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
エラーログを確認したところ展開した直後のフォルダであるNetCommons3フォルダになぜかVendorフォルダがあることになっていることがわかり、実際にローカル上で展開してディレクトリをみてみたところ確かにありました。
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
おかしいと思い、再度zipをwinSCPでVPS上に移動してからunzipコマンドで展開してみました。
|
498
|
-
|
499
|
-
するとやはりVendorフォルダがありませんでした。なぜ違いがでているのか不思議でなりません。
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
以下の通りです。
|
504
|
-
|
505
|
-
左がダウンロードしたあとにzipを展開したもので、右がVPS上でunzipコマンドして展開したものです。
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-

|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
わかったことですが、やはり違いがあるようです。vendorsフォルダと.bowerrcと.htaccessファイルがVPS centOS側でunzipするとないようです。これはいったいなぜなんでしょうか…。このvendorsフォルダがないためにエラーログでまず探しに行ってないですよと出ているのかもしれません。
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
もっと不思議なことが起こったのですが、再度winSCPに入ったら以下のようにVPS側の方にvendorフォルダだけは入っていました。
|
522
|
-
|
523
|
-

|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
そして再度接続したところ画面は以下です。
|
530
|
-
|
531
|
-

|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
エラーログは以下でした。
|
536
|
-
|
537
|
-
[Sun Sep 24 01:43:01 2017] [error] [client 106.●●.1●●.1●●] PHP Warning: _cake_core_ cache was unable to write 'cake_dev_ja' to File cache in /var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/Cache/Cache.php on line 328
|
538
|
-
|
539
|
-
[Sun Sep 24 01:43:01 2017] [error] [client 106.1●●.1●●.1●●] PHP Warning: /var/www/NetCommons3/app/tmp/cache/persistent/ is not writable in /var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/Cache/Engine/FileEngine.php on line 389
|
540
|
-
|
541
|
-
[Sun Sep 24 01:43:01 2017] [error] [client 106.1●●.1●●.1●●] PHP Fatal error: Uncaught exception 'CacheException' with message 'Cache engine "_cake_core_" is not properly configured. Ensure required extensions are installed, and credentials/permissions are correct' in /var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/Cache/Cache.php:186\nStack trace:\n#0 /var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/Cache/Cache.php(151): Cache::_buildEngine('_cake_core_')\n#1 /var/www/NetCommons3/app/Config/core.php(374): Cache::config('_cake_core_', Array)\n#2 /var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/Core/Configure.php(72): include('/var/www/NetCom...')\n#3 /var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/bootstrap.php(439): Configure::bootstrap(true)\n#4 /var/www/NetCommons3/app/webroot/index.php(93): include('/var/www/NetCom...')\n#5 /var/www/NetCommons3/app/index.php(21): require('/var/www/NetCom...')\n#6 {main}\n thrown in /var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/Cache/Cache.php on line 186
|
11
phpバージョン入れ替え
test
CHANGED
File without changes
|
test
CHANGED
@@ -58,6 +58,20 @@
|
|
58
58
|
|
59
59
|
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
|
60
60
|
|
61
|
+
|
62
|
+
|
63
|
+
↓下記に入れなおしました
|
64
|
+
|
65
|
+
PHP 5.4.16 (cli) (built: Nov 6 2016 00:29:02)
|
66
|
+
|
67
|
+
Copyright (c) 1997-2013 The PHP Group
|
68
|
+
|
69
|
+
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
61
75
|
・行ったこと
|
62
76
|
|
63
77
|
date.timezone = Asia/Tokyo
|
10
写真変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -122,9 +122,7 @@
|
|
122
122
|
|
123
123
|
Document rootに以下のapp/までのものにhttpd confを書き換える(【APACHE】の同じ)
|
124
124
|
|
125
|
-

|
126
|
-
|
127
|
-
|
128
126
|
|
129
127
|
そして1●●.1●●.●●.●にブラウザに入力し接続
|
130
128
|
|
@@ -494,7 +492,7 @@
|
|
494
492
|
|
495
493
|
|
496
494
|
|
497
|
-

|
498
496
|
|
499
497
|
|
500
498
|
|
9
写真変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -122,7 +122,7 @@
|
|
122
122
|
|
123
123
|
Document rootに以下のapp/までのものにhttpd confを書き換える(【APACHE】の同じ)
|
124
124
|
|
125
|
-

|
126
126
|
|
127
127
|
|
128
128
|
|
8
エラーの変化
test
CHANGED
File without changes
|
test
CHANGED
@@ -499,3 +499,31 @@
|
|
499
499
|
|
500
500
|
|
501
501
|
わかったことですが、やはり違いがあるようです。vendorsフォルダと.bowerrcと.htaccessファイルがVPS centOS側でunzipするとないようです。これはいったいなぜなんでしょうか…。このvendorsフォルダがないためにエラーログでまず探しに行ってないですよと出ているのかもしれません。
|
502
|
+
|
503
|
+
|
504
|
+
|
505
|
+
|
506
|
+
|
507
|
+
|
508
|
+
|
509
|
+
もっと不思議なことが起こったのですが、再度winSCPに入ったら以下のようにVPS側の方にvendorフォルダだけは入っていました。
|
510
|
+
|
511
|
+

|
512
|
+
|
513
|
+
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
そして再度接続したところ画面は以下です。
|
518
|
+
|
519
|
+

|
520
|
+
|
521
|
+
|
522
|
+
|
523
|
+
エラーログは以下でした。
|
524
|
+
|
525
|
+
[Sun Sep 24 01:43:01 2017] [error] [client 106.●●.1●●.1●●] PHP Warning: _cake_core_ cache was unable to write 'cake_dev_ja' to File cache in /var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/Cache/Cache.php on line 328
|
526
|
+
|
527
|
+
[Sun Sep 24 01:43:01 2017] [error] [client 106.1●●.1●●.1●●] PHP Warning: /var/www/NetCommons3/app/tmp/cache/persistent/ is not writable in /var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/Cache/Engine/FileEngine.php on line 389
|
528
|
+
|
529
|
+
[Sun Sep 24 01:43:01 2017] [error] [client 106.1●●.1●●.1●●] PHP Fatal error: Uncaught exception 'CacheException' with message 'Cache engine "_cake_core_" is not properly configured. Ensure required extensions are installed, and credentials/permissions are correct' in /var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/Cache/Cache.php:186\nStack trace:\n#0 /var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/Cache/Cache.php(151): Cache::_buildEngine('_cake_core_')\n#1 /var/www/NetCommons3/app/Config/core.php(374): Cache::config('_cake_core_', Array)\n#2 /var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/Core/Configure.php(72): include('/var/www/NetCom...')\n#3 /var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/bootstrap.php(439): Configure::bootstrap(true)\n#4 /var/www/NetCommons3/app/webroot/index.php(93): include('/var/www/NetCom...')\n#5 /var/www/NetCommons3/app/index.php(21): require('/var/www/NetCom...')\n#6 {main}\n thrown in /var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/Cache/Cache.php on line 186
|
7
新たに発見した事実追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -495,3 +495,7 @@
|
|
495
495
|
|
496
496
|
|
497
497
|

|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
わかったことですが、やはり違いがあるようです。vendorsフォルダと.bowerrcと.htaccessファイルがVPS centOS側でunzipするとないようです。これはいったいなぜなんでしょうか…。このvendorsフォルダがないためにエラーログでまず探しに行ってないですよと出ているのかもしれません。
|
6
展開内容の違い
test
CHANGED
File without changes
|
test
CHANGED
@@ -467,3 +467,31 @@
|
|
467
467
|
if (!include CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'bootstrap.php') {
|
468
468
|
|
469
469
|
でした。
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
|
475
|
+
|
476
|
+
|
477
|
+
その後行ったこと。2017年9月24日1:08
|
478
|
+
|
479
|
+
|
480
|
+
|
481
|
+
エラーログを確認したところ展開した直後のフォルダであるNetCommons3フォルダになぜかVendorフォルダがあることになっていることがわかり、実際にローカル上で展開してディレクトリをみてみたところ確かにありました。
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
おかしいと思い、再度zipをwinSCPでVPS上に移動してからunzipコマンドで展開してみました。
|
486
|
+
|
487
|
+
するとやはりVendorフォルダがありませんでした。なぜ違いがでているのか不思議でなりません。
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
以下の通りです。
|
492
|
+
|
493
|
+
左がダウンロードしたあとにzipを展開したもので、右がVPS上でunzipコマンドして展開したものです。
|
494
|
+
|
495
|
+
|
496
|
+
|
497
|
+

|
5
エラーログ93行目追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -237,3 +237,233 @@
|
|
237
237
|
|
238
238
|
|
239
239
|
もしかしてこれはVendorフォルダのあるディレクトリのindex.phpではなく、app/webrootフォルダの中のindex.phpをみにいってるのでしょうかね…
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
var/www/NetCommons3/app/webroot/index.phpの中身は以下です。
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
<?php
|
248
|
+
|
249
|
+
/**
|
250
|
+
|
251
|
+
* Index
|
252
|
+
|
253
|
+
*
|
254
|
+
|
255
|
+
* The Front Controller for handling every request
|
256
|
+
|
257
|
+
*
|
258
|
+
|
259
|
+
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
260
|
+
|
261
|
+
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
262
|
+
|
263
|
+
*
|
264
|
+
|
265
|
+
* Licensed under The MIT License
|
266
|
+
|
267
|
+
* For full copyright and license information, please see the LICENSE.txt
|
268
|
+
|
269
|
+
* Redistributions of files must retain the above copyright notice.
|
270
|
+
|
271
|
+
*
|
272
|
+
|
273
|
+
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
274
|
+
|
275
|
+
* @link http://cakephp.org CakePHP(tm) Project
|
276
|
+
|
277
|
+
* @since CakePHP(tm) v 0.2.9
|
278
|
+
|
279
|
+
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
280
|
+
|
281
|
+
*/
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
/**
|
286
|
+
|
287
|
+
* Use the DS to separate the directories in other defines
|
288
|
+
|
289
|
+
*/
|
290
|
+
|
291
|
+
if (!defined('DS')) {
|
292
|
+
|
293
|
+
define('DS', DIRECTORY_SEPARATOR);
|
294
|
+
|
295
|
+
}
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
/**
|
300
|
+
|
301
|
+
* These defines should only be edited if you have cake installed in
|
302
|
+
|
303
|
+
* a directory layout other than the way it is distributed.
|
304
|
+
|
305
|
+
* When using custom settings be sure to use the DS and do not add a trailing DS.
|
306
|
+
|
307
|
+
*/
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
/**
|
312
|
+
|
313
|
+
* The full path to the directory which holds "app", WITHOUT a trailing DS.
|
314
|
+
|
315
|
+
*
|
316
|
+
|
317
|
+
*/
|
318
|
+
|
319
|
+
if (!defined('ROOT')) {
|
320
|
+
|
321
|
+
define('ROOT', dirname(dirname(dirname(__FILE__))));
|
322
|
+
|
323
|
+
}
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
/**
|
328
|
+
|
329
|
+
* The actual directory name for the "app".
|
330
|
+
|
331
|
+
*
|
332
|
+
|
333
|
+
*/
|
334
|
+
|
335
|
+
if (!defined('APP_DIR')) {
|
336
|
+
|
337
|
+
define('APP_DIR', basename(dirname(dirname(__FILE__))));
|
338
|
+
|
339
|
+
}
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
/**
|
344
|
+
|
345
|
+
* The absolute path to the "cake" directory, WITHOUT a trailing DS.
|
346
|
+
|
347
|
+
*
|
348
|
+
|
349
|
+
* Un-comment this line to specify a fixed path to CakePHP.
|
350
|
+
|
351
|
+
* This should point at the directory containing `Cake`.
|
352
|
+
|
353
|
+
*
|
354
|
+
|
355
|
+
* For ease of development CakePHP uses PHP's include_path. If you
|
356
|
+
|
357
|
+
* cannot modify your include_path set this value.
|
358
|
+
|
359
|
+
*
|
360
|
+
|
361
|
+
* Leaving this constant undefined will result in it being defined in Cake/bootstrap.php
|
362
|
+
|
363
|
+
*
|
364
|
+
|
365
|
+
* The following line differs from its sibling
|
366
|
+
|
367
|
+
* /lib/Cake/Console/Templates/skel/webroot/index.php
|
368
|
+
|
369
|
+
*/
|
370
|
+
|
371
|
+
define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'vendors' . DS . 'cakephp' . DS . 'cakephp' . DS . 'lib');
|
372
|
+
|
373
|
+
|
374
|
+
|
375
|
+
/**
|
376
|
+
|
377
|
+
* Editing below this line should NOT be necessary.
|
378
|
+
|
379
|
+
* Change at your own risk.
|
380
|
+
|
381
|
+
*
|
382
|
+
|
383
|
+
*/
|
384
|
+
|
385
|
+
if (!defined('WEBROOT_DIR')) {
|
386
|
+
|
387
|
+
define('WEBROOT_DIR', basename(dirname(__FILE__)));
|
388
|
+
|
389
|
+
}
|
390
|
+
|
391
|
+
if (!defined('WWW_ROOT')) {
|
392
|
+
|
393
|
+
define('WWW_ROOT', dirname(__FILE__) . DS);
|
394
|
+
|
395
|
+
}
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
// for built-in server
|
400
|
+
|
401
|
+
if (php_sapi_name() === 'cli-server') {
|
402
|
+
|
403
|
+
if ($_SERVER['REQUEST_URI'] !== '/' && file_exists(WWW_ROOT . $_SERVER['PHP_SELF'])) {
|
404
|
+
|
405
|
+
return false;
|
406
|
+
|
407
|
+
}
|
408
|
+
|
409
|
+
$_SERVER['PHP_SELF'] = '/' . basename(__FILE__);
|
410
|
+
|
411
|
+
}
|
412
|
+
|
413
|
+
|
414
|
+
|
415
|
+
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
|
416
|
+
|
417
|
+
if (function_exists('ini_set')) {
|
418
|
+
|
419
|
+
ini_set('include_path', ROOT . DS . 'lib' . PATH_SEPARATOR . ini_get('include_path'));
|
420
|
+
|
421
|
+
}
|
422
|
+
|
423
|
+
if (!include 'Cake' . DS . 'bootstrap.php') {
|
424
|
+
|
425
|
+
$failed = true;
|
426
|
+
|
427
|
+
}
|
428
|
+
|
429
|
+
} else {
|
430
|
+
|
431
|
+
if (!include CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'bootstrap.php') {
|
432
|
+
|
433
|
+
$failed = true;
|
434
|
+
|
435
|
+
}
|
436
|
+
|
437
|
+
}
|
438
|
+
|
439
|
+
if (!empty($failed)) {
|
440
|
+
|
441
|
+
trigger_error("CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your " . DS . "cake core directory and your " . DS . "vendors root directory.", E_USER_ERROR);
|
442
|
+
|
443
|
+
}
|
444
|
+
|
445
|
+
|
446
|
+
|
447
|
+
App::uses('Dispatcher', 'Routing');
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
$Dispatcher = new Dispatcher();
|
452
|
+
|
453
|
+
$Dispatcher->dispatch(
|
454
|
+
|
455
|
+
new CakeRequest(),
|
456
|
+
|
457
|
+
new CakeResponse()
|
458
|
+
|
459
|
+
);
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
エラーログでいう93行目は
|
466
|
+
|
467
|
+
if (!include CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'bootstrap.php') {
|
468
|
+
|
469
|
+
でした。
|
4
追加疑問
test
CHANGED
File without changes
|
test
CHANGED
@@ -233,3 +233,7 @@
|
|
233
233
|
[Sun Sep 24 00:29:13 2017] [error] [client 1●●.1●●.1●●.1●●] PHP Warning: include(): Failed opening '/var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/bootstrap.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/NetCommons3/app/webroot/index.php on line 93
|
234
234
|
|
235
235
|
[Sun Sep 24 00:29:13 2017] [error] [client 1●●.1●●.1●●.1●●] PHP Fatal error: CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your /cake core directory and your /vendors root directory. in /var/www/NetCommons3/app/webroot/index.php on line 98
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
もしかしてこれはVendorフォルダのあるディレクトリのindex.phpではなく、app/webrootフォルダの中のindex.phpをみにいってるのでしょうかね…
|
3
エラーログ追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -219,3 +219,17 @@
|
|
219
219
|
何かアドバイス頂けないでしょうか。
|
220
220
|
|
221
221
|
単純にNetCommons3をVPS上でindex.phpを見たい。それだけなんです。
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
追記:エラーログ追記です。すいません。
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
[Sun Sep 24 00:29:13 2017] [error] [client 1●●.1●●.1●●.1●●] PHP Warning: include(/var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/bootstrap.php): failed to open stream: No such file or directory in /var/www/NetCommons3/app/webroot/index.php on line 93
|
232
|
+
|
233
|
+
[Sun Sep 24 00:29:13 2017] [error] [client 1●●.1●●.1●●.1●●] PHP Warning: include(): Failed opening '/var/www/NetCommons3/vendors/cakephp/cakephp/lib/Cake/bootstrap.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/NetCommons3/app/webroot/index.php on line 93
|
234
|
+
|
235
|
+
[Sun Sep 24 00:29:13 2017] [error] [client 1●●.1●●.1●●.1●●] PHP Fatal error: CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your /cake core directory and your /vendors root directory. in /var/www/NetCommons3/app/webroot/index.php on line 98
|
2
アパッチバージョン記入
test
CHANGED
File without changes
|
test
CHANGED
@@ -28,6 +28,10 @@
|
|
28
28
|
|
29
29
|
・バージョン
|
30
30
|
|
31
|
+
Server version: Apache/2.2.15 (Unix)
|
32
|
+
|
33
|
+
Server built: Aug 15 2017 19:44:58
|
34
|
+
|
31
35
|
・行ったこと
|
32
36
|
|
33
37
|
①Options -Indexes FollowSymLinks
|
1
誤字脱字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
|
7
|
-
質問理由:先日NetCommonsというcm
|
7
|
+
質問理由:先日NetCommonsというcmsがあり構築を行ったところうまくいかなく、導入についてのサポートもなく、ユーザーマニュアルにも導入について触れておらず、youtubeで動画や解説あがっていないか調べてもバージョンが古いものなどのみでなく、他検索しても出てこなく、自身で下記行っても接続ができないため。
|
8
8
|
|
9
9
|
|
10
10
|
|