![]() |
I've got two scripts:
hack_install.php error_reporting(E_ALL & ~E_NOTICE); $path_to_install = str_replace("hack_install.php", "", $_SERVER['PATH_TRANSLATED']); $install_dir = opendir($path_to_install); while (($file = readdir($install_dir)) !== false) { if (strpos($file, "hack_install_b") !== false) { $versions[] = $file; } } unset($install_dir); unset ($file); asort($versions); foreach ($versions as $version) { $theversion = $version; } unset($version); unset($versions); require_once($theversion); and hack_install_b1.php define('THIS_SCRIPT', 'hack_install'); define('INSTALLER_BUILD_NUMBER', '1'); define('INSTALLER_VERSION', '1.0'); require_once('../includes/config.php'); chdir("../$admincpdir"); require_once('./global.php'); require_once('./includes/adminfunctions_template.php'); require_once('./includes/adminfunctions_language.php'); require_once('./includes/hackfunctions_b1.php'); chdir('./install'); I get the above error with both... |
Quote:
|
Quote:
Code:
require_once('../includes/config.php'); |
it tells me
Fatal error: Call to undefined function: print_cp_header() in /var/www/site/forums/install/hack_install_b1.php on line 33 which is print_cp_header('Hack Installer', '', "<style type=\"text/css\"> |
I also do not have such required file in my includes:
require_once('./includes/hackfunctions_b1.php'); |
just installed and the shoutbox doesnt show on forumhome :( anyone got the code so i can add it to forumhome template :)
|
I got it by doing like you said about config.php and by hardcoding the ../$admindir into ../admincp
|
Everything installed fine, except for templates of shoutbox.php all messed up and a javascript error at line 115, and another one when I click on the quicklinks in navar. Problem is line 115 is just the css. I got a feeling it is coming from the WYSIWYG editor.
Also, can the "shoutbox closed" error message template be changed? It is bringing up the whole header and footer in the forumhome iframe box. |
Quote:
|
Quote:
I'm going to have to check it on forumhome as well, though I thought it was checked there. |
All times are GMT. The time now is 08:35 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|