Xoops installation error("[% xxx %]")

PondRicefied

Well-Known Member
Dec 13, 2004
52
0
156
When Xoops was installed using the Addon installer of Cpanel, I viewed the following errors.

I am looked like the error of an installer.
I want to learn the fixed step.

--[Access to install url]-------------------------
Warning: main([% installdir %]/include/common.php) [function.main]: failed to open stream: No such file or directory in /home/user/public_html/xoops/mainfile.php on line 95

Warning: main([% installdir %]/include/common.php) [function.main]: failed to open stream: No such file or directory in /home/user/public_html/xoops/mainfile.php on line 95

Fatal error: main() [function.require]: Failed opening required '[% installdir %]/include/common.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/xoops/mainfile.php on line 95
-------------------------

--[/home/user/public_html/xoops/mainfile.php]-----
...
// XOOPS Physical Path

// Physical path to your main XOOPS directory WITHOUT trailing slash

// Example: define('XOOPS_ROOT_PATH', '/path/to/xoops/directory');

define('XOOPS_ROOT_PATH', '[% installdir %]');



// XOOPS Virtual Path (URL)

// Virtual path to your main XOOPS directory WITHOUT trailing slash

// Example: define('XOOPS_URL', 'http://url_to_xoops_directory');

define('XOOPS_URL', '[% url_to_install_without_trailing_slash %]');

...
(line91-99)
if ( !count($xoopsScriptPath) ) {

die("XOOPS path check: this file cannot be requested directly");

}

$xoopsScriptPath = $xoopsScriptPath[0]['file'];

} else {
...
--------------------------------------------------------------
 

PondRicefied

Well-Known Member
Dec 13, 2004
52
0
156
Anyone, please.

I think that it is a problem not to be changed while the value of the define function of a mainfile.php file has been "[% xxx %]", when it installs using the Addon installer of Cpanel.

I have the problem same at OsCommerce.

Is my way of thinking wrong?

--- As an additional report. -----
The MySQL database and the database user are created.
-----------------------------------

How should I be fixed?