Showing posts with label Sữa lỗi. Show all posts
Showing posts with label Sữa lỗi. Show all posts

Saturday, 7 April 2012

Sửa lỗi "JFolder::create: Path not in open_basedir paths"

* JFolder::create: Path not in open_basedir paths
* Warning! Failed to move file.

Mở file configuration.php, thay đổi đường dẫn theo định dạng dưới đây
var $log_path = '/home/xuxuvn/public_html/logs';
var $tmp_path = '/home/xuxuvn/public_html/tmp';

Phần đường dẫn mỗi host đều khác nhau, bạn login vào host tìm Home Directory

Chúc các bạn thành công

Tuesday, 1 November 2011

Sữa lỗi TEMPLATECSSFILENOTPRESENT trong JCE

Tìm file

plugins\editors\jce\tiny_mce\plugins\format\config .php

Tìm đến dòng 93, xóa từ dòng 93 đến 99

Phần này bị xóa nè:

// Display error and use system editor.css file
if (!JFile::exists($path.DS.$file)) {
JError::raiseNotice('SOME_ERROR_CODE', JText::_('TEMPLATECSSFILENOTPRESENT'));
$url = JURI::root(true).'/templates/system/css';
$file = 'editor.css';
}
$stylesheet = $url.'/'.$file;