HTTP ERROR 500 saat menggunakan fitur upload gambar SIKOLAG Ci 2.0Dibuat
Login Terakhir
4 Tahun lalu,
Telah Dilihat 1245 Kali
| |
Free Account |
|
|
Nugraha Anugrah
Mengatakan :
Free Account
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) |
|
| Harwan Novriawan commented on 09 Mei 2022 08:12:47Free Account |
|
|
|
Assalamualaikum,..
coba cek di folder KCFinder nya, cari config.php terus rubah menjadi:
<?php
ob_start();
include('/../../index.php');
ob_end_clean();
$CI =& get_instance();
$CI->load->driver('session');
if(@$_SESSION['upload_image_file_manager'] == TRUE){
$status= false;
} else {
$status= true;
}
$_CONFIG = array(
'disabled' => $status,
'denyZipDownload' => false,
'denyUpdateCheck' => false,
'denyExtensionRename' => false,
'theme' => "oxygen",
'uploadURL' => "upload",
'uploadDir' => "",
'dirPerms' => 0755,
'filePerms' => 0644,
'access' => array(
'files' => array(
'upload' => true,
'delete' => true,
'copy' => true,
'move' => true,
'rename' => true
),
'dirs' => array(
'create' => true,
'delete' => true,
'rename' => true
)
),
'deniedExts' => "exe com msi bat php phps phtml php3 php4 cgi pl",
'types' => array(
// CKEditor & FCKEditor types
'files' => "",
'flash' => "swf",
'images' => "*img",
// TinyMCE types
'file' => "",
'media' => "swf flv avi mpg mpeg qt mov wmv asf rm",
'image' => "*img",
),
'filenameChangeChars' => array(/*
' ' => "_",
':' => "."
*/),
'dirnameChangeChars' => array(/*
' ' => "_",
':' => "."
*/),
'mime_magic' => "",
'maxImageWidth' => 0,
'maxImageHeight' => 0,
'thumbWidth' => 100,
'thumbHeight' => 100,
'thumbsDir' => ".thumbs",
'jpegQuality' => 90,
'cookieDomain' => "",
'cookiePath' => "",
'cookiePrefix' => 'KCFINDER_',
// THE FOLLOWING SETTINGS CANNOT BE OVERRIDED WITH SESSION CONFIGURATION
'_check4htaccess' => true,
//'_tinyMCEPath' => "/tiny_mce",
'_sessionVar' => &$_SESSION['KCFINDER'],
//'_sessionLifetime' => 30,
//'_sessionDir' => "/full/directory/path",
//'_sessionDomain' => ".mysite.com",
//'_sessionPath' => "/my/path",
);
?> |
|