Hallo! Selamat Datang di Marketplace produk digital, Freelancer terbaik di indonesia (64526 Members, 747 Products, 5000 Topic, 12614 Comments)

Butuh karyawan baru? atau seorang Web Developer (Part-time/Freelance/Full-time), cari disini : Members Area Jobs!

HTTP ERROR 500 saat menggunakan fitur upload gambar SIKOLAG Ci 2.0

Dibuat
Login Terakhir 16 Hari lalu,
Telah Dilihat 122 Kali
Nugraha Anugrah Mengatakan : Newbie Account
  1. Setelah saya coba berhasil untuk hosting untuk aplikasi sekolag dan upload htaccess bawaan. Namun ketika mencoba memasukan gambar pada halaman (contoh perpus) yang akan isinya foto foto ruangan seperti pada gambar dibawah ketika browse server malah 500 error. mohon solusinya min apa yang perlu di perbaiki
Ada 1 File Kiriman :
1. 500_error_upload.png (248 KB)

Ada 1 Jawaban

Harwan Novriawan
commented on 09 Mei 2022 08:12:47
  1. Assalamualaikum,..
  2.  
  3. coba cek di folder KCFinder nya, cari config.php terus rubah menjadi:
  4. <?php
  5.  
  6. include('/../../index.php');
  7. $CI =& get_instance();
  8. $CI->load->driver('session');
  9. if(@$_SESSION['upload_image_file_manager'] == TRUE){
  10. $status= false;
  11. } else {
  12. $status= true;
  13. }
  14.  
  15. $_CONFIG = array(
  16.  
  17. 'disabled' => $status,
  18. 'denyZipDownload' => false,
  19. 'denyUpdateCheck' => false,
  20. 'denyExtensionRename' => false,
  21.  
  22. 'theme' => "oxygen",
  23.  
  24. 'uploadURL' => "upload",
  25. 'uploadDir' => "",
  26.  
  27. 'dirPerms' => 0755,
  28. 'filePerms' => 0644,
  29.  
  30. 'access' => array(
  31.  
  32. 'files' => array(
  33. 'upload' => true,
  34. 'delete' => true,
  35. 'copy' => true,
  36. 'move' => true,
  37. 'rename' => true
  38. ),
  39.  
  40. 'dirs' => array(
  41. 'create' => true,
  42. 'delete' => true,
  43. 'rename' => true
  44. )
  45. ),
  46.  
  47. 'deniedExts' => "exe com msi bat php phps phtml php3 php4 cgi pl",
  48.  
  49. 'types' => array(
  50.  
  51. // CKEditor & FCKEditor types
  52. 'files' => "",
  53. 'flash' => "swf",
  54. 'images' => "*img",
  55.  
  56. // TinyMCE types
  57. 'file' => "",
  58. 'media' => "swf flv avi mpg mpeg qt mov wmv asf rm",
  59. 'image' => "*img",
  60. ),
  61.  
  62. 'filenameChangeChars' => array(/*
  63.   ' ' => "_",
  64.   ':' => "."
  65.   */),
  66.  
  67. 'dirnameChangeChars' => array(/*
  68.   ' ' => "_",
  69.   ':' => "."
  70.   */),
  71.  
  72. 'mime_magic' => "",
  73.  
  74. 'maxImageWidth' => 0,
  75. 'maxImageHeight' => 0,
  76.  
  77. 'thumbWidth' => 100,
  78. 'thumbHeight' => 100,
  79.  
  80. 'thumbsDir' => ".thumbs",
  81.  
  82. 'jpegQuality' => 90,
  83.  
  84. 'cookieDomain' => "",
  85. 'cookiePath' => "",
  86. 'cookiePrefix' => 'KCFINDER_',
  87.  
  88. // THE FOLLOWING SETTINGS CANNOT BE OVERRIDED WITH SESSION CONFIGURATION
  89. '_check4htaccess' => true,
  90. //'_tinyMCEPath' => "/tiny_mce",
  91.  
  92. '_sessionVar' => &$_SESSION['KCFINDER'],
  93. //'_sessionLifetime' => 30,
  94. //'_sessionDir' => "/full/directory/path",
  95.  
  96. //'_sessionDomain' => ".mysite.com",
  97. //'_sessionPath' => "/my/path",
  98. );
  99.  
  100. ?>
Maaf, Untuk Memberikan Komentar Anda Harus Login !!!