Tarih: 2006-03-24, 01:26:56 Mesaj konusu: db update.php'den sql'a işletemiyorum..
merhaba arkadaslar,
PHPNuke 'a bir hack yükledim,
herseyi editleyip upload ettim, fakat en son db_update.php dosyasini calistirinca su hatalari verdi..
Kod:
Warning: main(modules/Forums/extension.inc): failed to open stream: No such file or directory in /home/.berber/mactahmi/mactahmin.org/modules/Forums/db_update.php on line 23
Warning: main(modules/Forums/extension.inc): failed to open stream: No such file or directory in /home/.berber/mactahmi/mactahmin.org/modules/Forums/db_update.php on line 23
Warning: main(): Failed opening 'modules/Forums/extension.inc' for inclusion (include_path='.:/usr/local/lib/php') in /home/.berber/mactahmi/mactahmin.org/modules/Forums/db_update.php on line 23
Warning: main(modules/Forums/common.): failed to open stream: No such file or directory in /home/.berber/mactahmi/mactahmin.org/modules/Forums/db_update.php on line 24
Warning: main(modules/Forums/common.): failed to open stream: No such file or directory in /home/.berber/mactahmi/mactahmin.org/modules/Forums/db_update.php on line 24
Warning: main(): Failed opening 'modules/Forums/common.' for inclusion (include_path='.:/usr/local/lib/php') in /home/.berber/mactahmi/mactahmin.org/modules/Forums/db_update.php on line 24
Warning: main(header.php): failed to open stream: No such file or directory in /home/.berber/mactahmi/mactahmin.org/modules/Forums/db_update.php on line 25
Warning: main(header.php): failed to open stream: No such file or directory in /home/.berber/mactahmi/mactahmin.org/modules/Forums/db_update.php on line 25
Warning: main(): Failed opening 'header.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/.berber/mactahmi/mactahmin.org/modules/Forums/db_update.php on line 25
Fatal error: Call to undefined function: session_pagestart() in /home/.berber/mactahmi/mactahmin.org/modules/Forums/db_update.php on line 29
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}
$module_name = basename(dirname(__FILE__));
require("modules/Forums/nukebb.php");
echo '<tr><th>Installation Complete</th></tr><tr><td><span class="genmed">Please be sure to delete this file now.<br />If you require any further assistance, please visit the <a href="http://www.phpbbhacks.com/forums">phpBBHacks.com Support Forums</a>.</span></td></tr>';
echo '<tr><td class="catBottom" height="28" align="center"><span class="genmed"><a href="' . append_sid("index.$phpEx") . '">Go back to your index page</a>.</span></td></table>';
include('includes/page_tail.'.$phpEx);
?>
ve bunları PHPMYADMIN'den elimle geçirmek istediğimde,
`bet_id` int( 11 ) NOT NULL AUTO_INCREMENT ,
`bet_cat` int( 3 ) NOT NULL default '1',
`bet_time` int( 11 ) NOT NULL default '0',
`bet_selection` varchar( 100 ) NOT NULL default '',
`bet_meeting` varchar( 50 ) NOT NULL default '',
`odds_1` int( 11 ) NOT NULL default '0',
`odds_2` int( 11 ) NOT NULL default '0',
`checked` int( 2 ) NOT NULL default '0',
`multi` int( 11 ) NOT NULL default '-1',
`starbet` int( 2 ) NOT NULL default '0',
`each_way` int( 2 ) NOT NULL default '0',
KEY `bet_id` ( `bet_id` )
MySQL çıktısı:
#1103 - Incorrect table name '" . $prefix . "_bookie_admin_bets'
yani bitürlü tablo yaratamiyor...
not: dreamhost.com 'dan hostum var, database olarak localhost kullanmiyorum, mesela database ismim ABC ise abc.websitem.com şeklinde database veriyorlar.. ayrica mesela nuke kurarken kullaniciadi_nuke olarak kurulur database, fakat bizde öyle bişey yok, direkt olarak database ismi var acaba _işaretlerinden kaynaklanan bir sorun mu var, yardim edin lütfen.. şimdiden teşekkür ederim...
Evet yok diyor ama var.. ben de onu gördüm, fakat var içi de dolu çalışır halde.. neden öyle diyor anlamadım, hadi onu geçtik, elimle sql'a komutları girince neden
"#1103 - Incorrect table name '" . $prefix . "_bookie_admin_bets'"
diyor??
yani niye tablo adı yanlış diyor ne var ki o tablo adında?
Bu forumda yeni başlıklar açamazsınız Bu forumdaki başlıklara cevap veremezsiniz Bu forumdaki mesajlarınızı değiştiremezsiniz Bu forumdaki mesajlarınızı silemezsiniz Bu forumdaki anketlerde oy kullanamazsınız