不好意思,我安裝後出現Warning: require(/Applications/XAMPP/xamppfiles/htdocs/xoops_data/data/secure.php): failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/xoops/mainfile.php on line 178
Fatal error: require(): Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/xoops_data/data/secure.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in /Applications/XAMPP/xamppfiles/htdocs/xoops/mainfile.php on line 178
檔案也確定都在
打開secure.php 好像只有一半的感覺
<?php
/**
* XOOPS secure file
*
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* @copyright (c) 2000-2016 XOOPS Project (http://www.xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
*/
// Database
// Choose the database to be used
define('XOOPS_DB_TYPE', 'mysql');
// Set the database charset if applicable
if (defined('XOOPS_DB_CHARSET')) {
die('Restricted Access');
}
define('XOOPS_DB_CHARSET', 'utf8');
// Table Prefix
// This prefix will be added to all new tables created to avoid name conflict in the database. If you are unsure, just use the default "xoops".
define('XOOPS_DB_PREFIX', 'xx');
// Database Hostname
// Hostname of the database server. If you are unsure, "localhost" works in most cases.
define('XOOPS_DB_HOST', '');
// Database Username
// Your database user account on the host
define('XOOPS_DB_USER', '');
// Database Password
// Password for your database user account
define('XOOPS_DB_PASS', '');
// Database Name
// The name of database on the host. The installer will attempt to create the database if not exist
define('XOOPS_DB_NAME', '');
// Use persistent connection? (Yes=1 No=0)
// Default is "Yes". Choose "Yes" if you are unsure.
define('XOOPS_DB_PCONNECT', 0);
我使用的系統是macOS,xmapp
感謝解惑