Sometimes, you install your forum (WBB) into the root folder and your framework (WCF) into the subfolder /wcf. That' the general setting.
However, it may be possible that you want to install another standard application into the root folder and thus you have to move the folder of your forum.
If you want to do so, you have to do something before so that it will work:
However, it may be possible that you want to install another standard application into the root folder and thus you have to move the folder of your forum.
If you want to do so, you have to do something before so that it will work:
- Delete the content of the following folders:
/cache/
/wcf/cache
/wcf/language
/wcf/templates/compiled
If there is any .htaccess file into the folders, don't delete them. - Open the file config.inc.php in the folder of your forum, e.g. /config.inc.php, with any editor (suggestion: Notepad++). You will see some code like that:
PHP-Quellcode
- <?php
- // com.wcfsolutions.wsip vars
- // wsip
- if (!defined('WSIP_DIR')) define('WSIP_DIR', dirname(__FILE__).'/');
- if (!defined('RELATIVE_WSIP_DIR')) define('RELATIVE_WSIP_DIR', '');
- if (!defined('WSIP_N')) define('WSIP_N', '1_1');
- $packageDirs[] = WSIP_DIR;
- // general info
- if (!defined('RELATIVE_WCF_DIR')) define('RELATIVE_WCF_DIR', RELATIVE_WBB_DIR.'wcf/');
- if (!defined('PACKAGE_ID')) define('PACKAGE_ID', 64);
- if (!defined('PACKAGE_NAME')) define('PACKAGE_NAME', 'WCF Solutions Infinite Portal');
- if (!defined('PACKAGE_VERSION')) define('PACKAGE_VERSION', '1.1.0 Beta 2');
- ?>
- Move all files and folders except the folder called "wcf" to a new subfolder, e.g. /forum.
- You have to edit some values in the database, e.g. with phpMyAdmin. Login and open the table wcf1_packages in the database of your forum. Sort it descendent according to packageDir.
You will get a result, which shows the value ../. It's the value of the forum. Change it to ../forum/. - Still in the database, go to the table wcf1_option and look for the optionName "packageURL" (without ""). You can find a value like that: example.com. Change it to example.com/forum.
857 mal gelesen