Lỗi cài đặt joomla 1.5 - Joomla! Forum - community, help and support


anh em nào xài zoomla 1.5 rồi cho mình hỏi tí.
mình có một domain là :http://www.libsoftware.com
mình cài đặt zoomla trên máy của mình(làm server) thì ok.nhưng khi đưa lên internet thì có vấn đề.Đây là file cấu hình của mình:
if(!defined('rg_emulation')) { define( 'rg_emulation', 0 ); }
$mosconfig_offline = '0';
$mosconfig_host = 'localhost';
$mosconfig_user = 'u70425979';
$mosconfig_password = '48def5';
$mosconfig_db = 'd60387558';
$mosconfig_dbprefix = 'jos_';
$mosconfig_lang = 'english';
$mosconfig_absolute_path = 'http://www.libsoftware.com';
$mosconfig_live_site = 'http://www.libsoftware.com';
$mosconfig_sitename = 'my gallery';
$mosconfig_shownoauth = '0';
$mosconfig_useractivation = '1';
$mosconfig_uniquemail = '1';
$mosconfig_offline_message = 'this site down maintenance.
please check again soon.';
$mosconfig_error_message = 'this site temporarily unavailable.
please notify system administrator';
$mosconfig_debug = '0';
$mosconfig_lifetime = '900';
$mosconfig_session_life_admin = '1800';
$mosconfig_session_type = '0';
$mosconfig_metadesc = 'joomla - dynamic portal engine , content management system';
$mosconfig_metakeys = 'joomla, joomla';
$mosconfig_metatitle = '1';
$mosconfig_metaauthor = '1';
$mosconfig_locale = 'en_gb';
$mosconfig_offset = '0';
$mosconfig_offset_user = '0';
$mosconfig_hideauthor = '0';
$mosconfig_hidecreatedate = '0';
$mosconfig_hidemodifydate = '0';
$mosconfig_hidepdf = '0';
$mosconfig_hideprint = '0';
$mosconfig_hideemail = '0';
$mosconfig_enable_log_items = '0';
$mosconfig_enable_log_searches = '0';
$mosconfig_enable_stats = '0';
$mosconfig_sef = '0';
$mosconfig_vote = '0';
$mosconfig_gzip = '0';
$mosconfig_multipage_toc = '1';
$mosconfig_allowuserregistration = '1';
$mosconfig_link_titles = '0';
$mosconfig_error_reporting = -1;
$mosconfig_list_limit = '30';
$mosconfig_caching = '0';
$mosconfig_cachepath = 'http://www.libsoftware.comcache';
$mosconfig_cachetime = '900';
$mosconfig_mailer = 'mail';
$mosconfig_mailfrom = 'nguyenhuulocla2006@yahoo.com';
$mosconfig_fromname = 'my gallery';
$mosconfig_sendmail = '/usr/sbin/sendmail';
$mosconfig_smtpauth = '0';
$mosconfig_smtpuser = '';
$mosconfig_smtppass = '';
$mosconfig_smtphost = 'http://www.libsoftware.com';
$mosconfig_back_button = '1';
$mosconfig_item_navigation = '1';
$mosconfig_secret = '3xlhgtqbi8qzgrop';
$mosconfig_pagetitles = '1';
$mosconfig_readmore = '1';
$mosconfig_hits = '1';
$mosconfig_icons = '1';
$mosconfig_favicon = 'favicon.ico';
$mosconfig_fileperms = '';
$mosconfig_dirperms = '';
$mosconfig_helpurl = 'http://help.joomla.org';
$mosconfig_multilingual_support = '0';
$mosconfig_editor = 'tinymce';
$mosconfig_admin_expired = '1';
$mosconfig_frontend_login = '1';
$mosconfig_frontend_userparams = '1';
$mosconfig_itemid_compat = '0';
setlocale (lc_time, $mosconfig_locale);
?>
3 dòng này chắc chắn đúng vì mình thử thiết kế datbase và đưa lên net thì ok
$mosconfig_user = 'u70425979';
$mosconfig_password = '48def5';
$mosconfig_db = 'd60387558';
nhưng không biết tại sao nó lại luôn báo lỗi:
"restricted accessrestricted accessrestricted accessrestricted accessrestricted access
fatal error: cannot instantiate non-existent class: database in /mnt/w0508/d47/s25/b02b0db5/www/libsoftware.com/includes/joomla.php on line 79"
Đoạn code tại dòng 79 trong file joomla.php là:
$database = new database( $mosconfig_host, $mosconfig_user, $mosconfig_password, $mosconfig_db, $mosconfig_dbprefix );

mình dùng bigdump để upload cái database của mình lên trên server và quá trình upload là thành công.xin anh em nào biết chỉ giáo giúp với!






Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'