質問編集履歴
4
phpのバージョン追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
やりたいこと:CMS concrete5をローカル環境で動作させたい
|
1
|
+
やりたいこと:CMS concrete5(ver5.6.5.7/php5.6)をローカル環境で動作させたい
|
2
2
|
|
3
3
|
PC:Windows10
|
4
4
|
|
3
マークアップ記述誤記訂正
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,11 +34,11 @@
|
|
34
34
|
|
35
35
|
[27-Jun-2020 06:42:54 UTC] PHP Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in Command line code on line 1
|
36
36
|
|
37
|
-
[27-Jun-2020 06:42:54 UTC] PHP Warning: mysqli_close() expects parameter 1 to be mysqli, boolean given in Command line code on line 1
|
37
|
+
[27-Jun-2020 06:42:54 UTC] PHP Warning: mysqli_close() expects parameter 1 to be mysqli, boolean given in Command line code on line 1```
|
38
38
|
|
39
|
-
コード
|
40
39
|
|
41
|
-
|
40
|
+
|
41
|
+
|
42
42
|
|
43
43
|
|
44
44
|
|
@@ -98,9 +98,7 @@
|
|
98
98
|
|
99
99
|
PHP Warning: include(): Failed opening 'C:/xampp/htdocs/concrete5/application/bootstrap/autoload.php' for inclusion (include_path='C:\xampp\htdocs\concrete5\concrete\vendor;C:\xampp\php\PEAR') in C:\xampp\htdocs\concrete5\concrete\bootstrap\autoload.php on line 8
|
100
100
|
|
101
|
-
PHP Fatal error: Class 'Symfony\Component\ClassLoader\Psr4ClassLoader' not found in C:\xampp\htdocs\concrete5\concrete\src\Foundation\ClassLoader.php on line 227
|
101
|
+
PHP Fatal error: Class 'Symfony\Component\ClassLoader\Psr4ClassLoader' not found in C:\xampp\htdocs\concrete5\concrete\src\Foundation\ClassLoader.php on line 227```
|
102
|
-
|
103
|
-
```
|
104
102
|
|
105
103
|
|
106
104
|
|
2
エラー追記
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
MAMP XAMMP PHPバージョン変更
|
1
|
+
MAMP XAMMP PHPバージョン変更し CMSを起動させたい
|
test
CHANGED
@@ -66,6 +66,42 @@
|
|
66
66
|
|
67
67
|
|
68
68
|
|
69
|
-
4.XAMMP
|
69
|
+
4.XAMMPを一端アンイストールし、ダウングレード版 XAMMP-win32-5.6.36(php5.6)をインストール
|
70
70
|
|
71
|
-
|
71
|
+
|
72
|
+
|
73
|
+
5.HTTP ERROR 500エラー
|
74
|
+
|
75
|
+
///```
|
76
|
+
|
77
|
+
PHP Fatal error: Class 'Symfony\Component\ClassLoader\Psr4ClassLoader' not found in C:\xampp\htdocs\concrete5\concrete\src\Foundation\ClassLoader.php on line 227
|
78
|
+
|
79
|
+
PHP Warning: include(C:/xampp/htdocs/concrete5/application/bootstrap/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\concrete5\concrete\bootstrap\autoload.php on line 8
|
80
|
+
|
81
|
+
PHP Warning: include(): Failed opening 'C:/xampp/htdocs/concrete5/application/bootstrap/autoload.php' for inclusion (include_path='C:\xampp\htdocs\concrete5\concrete\vendor;C:\xampp\php\PEAR') in C:\xampp\htdocs\concrete5\concrete\bootstrap\autoload.php on line 8
|
82
|
+
|
83
|
+
PHP Fatal error: Class 'Symfony\Component\ClassLoader\Psr4ClassLoader' not found in C:\xampp\htdocs\concrete5\concrete\src\Foundation\ClassLoader.php on line 227
|
84
|
+
|
85
|
+
PHP Warning: include(C:/xampp/htdocs/concrete5/application/bootstrap/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\concrete5\concrete\bootstrap\autoload.php on line 8
|
86
|
+
|
87
|
+
PHP Warning: include(): Failed opening 'C:/xampp/htdocs/concrete5/application/bootstrap/autoload.php' for inclusion (include_path='C:\xampp\htdocs\concrete5\concrete\vendor;C:\xampp\php\PEAR') in C:\xampp\htdocs\concrete5\concrete\bootstrap\autoload.php on line 8
|
88
|
+
|
89
|
+
PHP Fatal error: Class 'Symfony\Component\ClassLoader\Psr4ClassLoader' not found in C:\xampp\htdocs\concrete5\concrete\src\Foundation\ClassLoader.php on line 227
|
90
|
+
|
91
|
+
PHP Warning: include(C:/xampp/htdocs/concrete5/application/bootstrap/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\concrete5\concrete\bootstrap\autoload.php on line 8
|
92
|
+
|
93
|
+
PHP Warning: include(): Failed opening 'C:/xampp/htdocs/concrete5/application/bootstrap/autoload.php' for inclusion (include_path='C:\xampp\htdocs\concrete5\concrete\vendor;C:\xampp\php\PEAR') in C:\xampp\htdocs\concrete5\concrete\bootstrap\autoload.php on line 8
|
94
|
+
|
95
|
+
PHP Fatal error: Class 'Symfony\Component\ClassLoader\Psr4ClassLoader' not found in C:\xampp\htdocs\concrete5\concrete\src\Foundation\ClassLoader.php on line 227
|
96
|
+
|
97
|
+
PHP Warning: include(C:/xampp/htdocs/concrete5/application/bootstrap/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\concrete5\concrete\bootstrap\autoload.php on line 8
|
98
|
+
|
99
|
+
PHP Warning: include(): Failed opening 'C:/xampp/htdocs/concrete5/application/bootstrap/autoload.php' for inclusion (include_path='C:\xampp\htdocs\concrete5\concrete\vendor;C:\xampp\php\PEAR') in C:\xampp\htdocs\concrete5\concrete\bootstrap\autoload.php on line 8
|
100
|
+
|
101
|
+
PHP Fatal error: Class 'Symfony\Component\ClassLoader\Psr4ClassLoader' not found in C:\xampp\htdocs\concrete5\concrete\src\Foundation\ClassLoader.php on line 227
|
102
|
+
|
103
|
+
```
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
phpのバージョン ダウングレードだけではうまくいかなかった
|
1
XAMMPのエラーについて追記
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
MAMP PHPバージョン変更
|
1
|
+
MAMP XAMMP PHPバージョン変更
|
test
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
やりたいこと:CMS concrete5をローカル環境で動作させたい
|
2
|
+
|
3
|
+
PC:Windows10
|
4
|
+
|
5
|
+
|
6
|
+
|
1
7
|
1.MAMP_4.2.0をインストール
|
2
8
|
|
3
9
|
2.起動確認
|
@@ -36,4 +42,30 @@
|
|
36
42
|
|
37
43
|
|
38
44
|
|
45
|
+
------------
|
46
|
+
|
47
|
+
Window10とMAMPの相性が悪いとアドバイスをいただきXAMMPで検証
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
1.XAMMP_x64-7.4.7をインストール
|
52
|
+
|
53
|
+
2.https://qiita.com/maniwac/items/a76fab2e03a655f22e6a
|
54
|
+
|
55
|
+
に従って、concrete5 5.6.5.7(現在公開しているサイトで使用中のバージョン) を
|
56
|
+
|
57
|
+
インストールし、my.int/php.iniをカスタマイズ
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
3.HTTP ERROR 500エラー
|
62
|
+
|
63
|
+
///```
|
64
|
+
|
65
|
+
、"PHP Fatal error: Cannot use Concrete\Core\Foundation\Object as Object because 'Object' is a special class name"```
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
4.XAMMPのphpのバージョンを下げたら解決する?ような気がしますが、下げ方がわかりません。
|
70
|
+
|
39
71
|
解決方法がわかる方、ご教示いただけないでしょうか
|