Tahun baru, skill baru! 🚀. Masukkan kupon "skill2025" untuk diskon 30% di kelas apa saja

cara mengatasi libraries tidak support

saya kendala ketika import file xlsx tidak bisa, responnya di browser HTTP ERROR 500

saya cek di log eror ternyata librariesnya tidak suport

[Wed Apr 21 07:47:25.088551 2021] [ssl:warn] [pid 14176:tid 612] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Apr 21 07:47:25.151054 2021] [core:warn] [pid 14176:tid 612] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Apr 21 07:47:25.151054 2021] [ssl:warn] [pid 14176:tid 612] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning:  PHP Startup: Unable to load dynamic library 'php_gd2.dll' (tried: C:\\xampp\\php\\ext\\php_gd2.dll (The specified module could not be found), C:\\xampp\\php\\ext\\php_php_gd2.dll.dll (The specified module could not be found)) in Unknown on line 0
[Wed Apr 21 07:47:25.565654 2021] [mpm_winnt:notice] [pid 14176:tid 612] AH00455: Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0 configured -- resuming normal operations
[Wed Apr 21 07:47:25.565654 2021] [mpm_winnt:notice] [pid 14176:tid 612] AH00456: Apache Lounge VS16 Server built: Oct  2 2020 11:45:39
[Wed Apr 21 07:47:25.565654 2021] [core:notice] [pid 14176:tid 612] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Apr 21 07:47:25.565654 2021] [mpm_winnt:notice] [pid 14176:tid 612] AH00418: Parent: Created child process 14084
[Wed Apr 21 07:47:25.923686 2021] [ssl:warn] [pid 14084:tid 568] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Apr 21 07:47:25.972891 2021] [ssl:warn] [pid 14084:tid 568] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning:  PHP Startup: Unable to load dynamic library 'php_gd2.dll' (tried: C:\\xampp\\php\\ext\\php_gd2.dll (The specified module could not be found), C:\\xampp\\php\\ext\\php_php_gd2.dll.dll (The specified module could not be found)) in Unknown on line 0
[Wed Apr 21 07:47:26.004745 2021] [mpm_winnt:notice] [pid 14084:tid 568] AH00354: Child: Starting 150 worker threads.
[Wed Apr 21 08:13:50.362404 2021] [ssl:warn] [pid 13364:tid 560] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Apr 21 08:13:50.393663 2021] [core:warn] [pid 13364:tid 560] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Apr 21 08:13:50.393663 2021] [ssl:warn] [pid 13364:tid 560] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning:  PHP Startup: Unable to load dynamic library 'php_gd2.dll' (tried: C:\\xampp\\php\\ext\\php_gd2.dll (The specified module could not be found), C:\\xampp\\php\\ext\\php_php_gd2.dll.dll (The specified module could not be found)) in Unknown on line 0
[Wed Apr 21 08:13:50.680849 2021] [mpm_winnt:notice] [pid 13364:tid 560] AH00455: Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0 configured -- resuming normal operations
[Wed Apr 21 08:13:50.680849 2021] [mpm_winnt:notice] [pid 13364:tid 560] AH00456: Apache Lounge VS16 Server built: Oct  2 2020 11:45:39
[Wed Apr 21 08:13:50.680849 2021] [core:notice] [pid 13364:tid 560] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Apr 21 08:13:50.680849 2021] [mpm_winnt:notice] [pid 13364:tid 560] AH00418: Parent: Created child process 14384
[Wed Apr 21 08:13:50.915009 2021] [ssl:warn] [pid 14384:tid 596] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Apr 21 08:13:50.954661 2021] [ssl:warn] [pid 14384:tid 596] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning:  PHP Startup: Unable to load dynamic library 'php_gd2.dll' (tried: C:\\xampp\\php\\ext\\php_gd2.dll (The specified module could not be found), C:\\xampp\\php\\ext\\php_php_gd2.dll.dll (The specified module could not be found)) in Unknown on line 0
[Wed Apr 21 08:13:50.964931 2021] [mpm_winnt:notice] [pid 14384:tid 596] AH00354: Child: Starting 150 worker threads.
[Wed Apr 21 08:33:19.385029 2021] [php:error] [pid 14384:tid 1824] [client ::1:59814] PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in C:\\xampp\\htdocs\\satudata\\application\\libraries\\PHPExcel\\Shared\\String.php on line 529, referer: https://localhost/satudata/index.php/dda_dua/row_desainer/177

saya menggunakan ci 3, php versi 8 dan xampp versi v3.2.4

cara mengatasinya bagaimana ya?

terimakasih

avatar aziima27
@aziima27

20 Kontribusi 11 Poin

Diperbarui 3 tahun yang lalu

2 Jawaban:

<div>Arti errornya "Array and string offset access syntax with curly braces is no longer supported in"<br>array dan string ... dengan kurung kurawal tidak lagi disupport<br><br>ganti kurung kurawal menjadi kurung persegi<br>{} -&gt; []</div>

avatar hilmanski
@hilmanski

2702 Kontribusi 2140 Poin

Dipost 3 tahun yang lalu

Tanggapan

yang ini if ((isset(self::$_comparisonOperators[$opCharacter])) && (strlen($formula) > $index) && (isset(self::$_comparisonOperators[$formula{$index+1}]))) {

udah diganti jadi if ((isset(self::$_comparisonOperators[$opCharacter])) && (strlen($formula) > $index) && (isset(self::$_comparisonOperators[$formula[$index+1]))) {

erornya sama Array and string offset access syntax with curly braces is no longer supported in

yang dibenerin yang mana?

Jawaban Terpilih

<div>karena sebelumnya pakai php 7 terus upgrade ke 8 ternyata librariesnya ga support. akhirnya downgrade balik ke 7 :D</div>

avatar aziima27
@aziima27

20 Kontribusi 11 Poin

Dipost 3 tahun yang lalu

Login untuk ikut Jawaban