:::
XOOPS輕鬆架快速上手

輕鬆架安裝問題

discuss pic 2019-01-15 11:07:23

不好意思,我安裝後出現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
感謝解惑

discuss pic 2019-01-15 15:46:44

感謝tad大大

我直接用原始安裝檔安裝後 到了步驟10/14

 

 XOOPS GPL 授權金鑰: 5447be-a76f42-7386bd-6015d6-xxxxxx 已寫入

下一步網站設定卻整個網頁空白了,不知道該怎麼處理

 

還請幫忙~謝謝

:::

http%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_discuss%2Fdiscuss.php%3FBoardID%3D34%26DiscussID%3D5364%26g2p%3D1

計數器

今天: 2144214421442144
昨天: 4278427842784278
總計: 7955220795522079552207955220795522079552207955220