Verfasst: 16.07.2008 20:24
Auf auf los gehts zur Fehlersuche
*Jagthorn spiel*
Was fehlt dir?
*Jagthorn spiel*
Was fehlt dir?
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
Notice: Undefined index: rand_seed_last_update in C:\Programme\xampp\htdocs\wow\hp2\forum\includes\functions.php on line 191
Notice: Use of undefined constant CONFIG_TABLE - assumed 'CONFIG_TABLE' in C:\Programme\xampp\htdocs\wow\hp2\forum\includes\functions.php on line 145
Fatal error: Call to a member function sql_escape() on a non-object in C:\Programme\xampp\htdocs\wow\hp2\forum\includes\functions.php on line 146
Code: Alles auswählen
Notice: Undefined index: rand_seed_last_update in C:\Programme\xampp\htdocs\wow\hp2\forum\includes\functions.php on line 191
Code: Alles auswählen
if ($dss_seeded !== true && ($config['rand_seed_last_update'] < time() - rand(1,10)))
Code: Alles auswählen
global $config;
Sagt schon die Meldung: CONFIG_TABLE ist nicht definiert, schreiben wir also auf "Notice: Use of undefined constant CONFIG_TABLE - assumed 'CONFIG_TABLE' in C:\Programme\xampp\htdocs\wow\hp2\forum\includes\functions.php on line 145
Die ZeileFatal error: Call to a member function sql_escape() on a non-object in C:\Programme\xampp\htdocs\wow\hp2\forum\includes\functions.php on line 146
Code: Alles auswählen
SET config_value = '" . $db->sql_escape($config_value) . "'
Code: Alles auswählen
global $db, $cache, $config;
also hab ich in meinem script die zeile eigefügtBoecki91 hat geschrieben:Sagt schon die Meldung: CONFIG_TABLE ist nicht definiert, schreiben wir also auf "Notice: Use of undefined constant CONFIG_TABLE - assumed 'CONFIG_TABLE' in C:\Programme\xampp\htdocs\wow\hp2\forum\includes\functions.php on line 145
Konstante nicht definiert"
Code: Alles auswählen
include("forum/config.php");
include("forum/includes/constants.php");
Code: Alles auswählen
$pass = "blalbabla"; //kommt von einem Formular
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './forum/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
require($phpbb_root_path . 'common.' . $phpEx);
$hash = phpbb_hash($pass);
echo $hash;
gut.Boecki91 hat geschrieben:Ja, die Hashs ändern sich![]()