ok now i'm starting to get this thing after more confuz-zed-ness than you shake a stick at.
i must reitterate it should really come with a basic readme/faq. but thank you for your efforts.
i have run into a problem though
PHP Code:
Warning: halt(./includes/functions_log_error.php): failed toopenstream: No such file or directoryinK:\Network\xampp\htdocs\forums\includes\db_mysql.php on line 389
Warning: halt(): Failed opening './includes/functions_log_error.php'forinclusion (include_path='.;K:\Network\xampp\php\pear\')inK:\Network\xampp\htdocs\forums\includes\db_mysql.php on line 389
There seems to have been a slight problem with the EBS:L!VE Forums database.
Please try again by pressing the refresh button in your browser.
An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.
We apologise for any inconvenience.
Database error in vBulletin 3.0.3:
Code:
Invalid SQL: SELECT varname, text FROM phrase WHERE varname IN () ORDER BY languageid DESC
mysql error: You have an error in your SQL syntax. Check the manualthatcorresponds to your MySQL server version for the right syntax tousenear ') ORDER BY languageid DESC' at line 1
mysql error number: 1064
Date: Monday 14th of February 2005 02:41:30 PM
Script: http://localhost/forums/install/hack_install.php
Referer: http://localhost/forums/install/hack_install.php
Username: sabret00the
IP Address: 127.0.0.1
ok it's not as simple as i thought it would be to fix it, the error is here
PHP Code:
// Now grab all the phrases for the settings andunset the unneeded variable.
$teh_settings2 = $DB_site->query("SELECT varname,text FROM ".TABLE_PREFIX."phrase WHERE varname IN ($sg_in) ORDER BYlanguageid DESC");
unset($sg_in);
while ($the_settings2 =$DB_site->fetch_array($teh_settings2)) {
// Figure out what's what and putthem in the setting array.
$varname =str_replace("setting_", "", $the_settings2['varname']);
if (strpos($varname, "_desc")) {
$varname =str_replace("_desc", "", $varname);
$pt = "desc";
} else {
$varname =str_replace("_title", "", $varname);
$pt = "title";
}
$hack_settings[$varname][''.$pt.'phrase'] = str_replace("'", "\'",$the_settings2['text']);
// Now unset some crap.
unset($varname);
unset($pt);
}
the $sg_in doesn't seem to be set