problem jest taki, ze ze starego forum na http://xsorbit30.com/users5/tazballpaintball/index.php moge zrobic backup bazy danych, ALE gdy probuje ja wgrac przez php active admin na nowy server (mam phpbb3 i phpbb2 i to samo na oby dwoch) to nie ma najmniejszych szans zeby to sie udalo. a probowalem juz roznymi mozliwosciami. gdyby tak nie bylo to bym nie pisal na forum :P
Przyklad backupu starego forum:
jedyne co mi tu nie pasuje to "<br /># ==========================================================
#
# Database dump of tables in `tazballpaintball`
# September 24, 2007, 09:48:42 PM
#
# ==========================================================
#
# Table structure for table `tazballpaintball_attachments`
#
DROP TABLE IF EXISTS `tazballpaintball_attachments`;
<br />
<b>Notice</b>: Undefined index: Type in <b>/home/xsorbit/public_html/users5/tazballpaintball/Sources/DumpDatabase.php</b> on line <b>303</b>CREATE TABLE `tazballpaintball_attachments` (
ID_ATTACH int(11) unsigned NOT NULL auto_increment,
ID_MSG int(10) unsigned NOT NULL default 0,
ID_MEMBER int(10) unsigned NOT NULL default 0,
filename tinytext NOT NULL default '',
size mediumint(8) unsigned NOT NULL default 0,
downloads mediumint(8) unsigned NOT NULL default 0,
PRIMARY KEY (ID_ATTACH),
KEY ID_MSG (ID_MSG),
KEY ID_MEMBER (ID_MEMBER)
) TYPE=;
<b>Notice</b>: Undefined index: Type in <b>/home/xsorbit/public_html/users5/tazballpaintball/Sources/DumpDatabase.php</b> on line <b>303</b>"
ale gdy nawet to wykasuje to pokazuje mi blad:
pewnie i tak nikt nie bedzie wstanie mi pomoc ale zawsze warto zapytac.Błąd
Wygląda na to, że w twoim zapytaniu SQL jest błąd. W znalezieniu przyczyny problemu może pomóc także - jeśli się pojawi - poniższy opis błędu serwera MySQL.
ERROR: Nieznany znak przestankowy @ 797
STR: =;
SQL: # ==========================================================
#
# Database dump of tables in `tazballpaintball`
# September 24, 2007, 09:48:42 PM
#
# ==========================================================
#
# Table structure for table `tazballpaintball_attachments`
#
DROP TABLE IF EXISTS `tazballpaintball_attachments`;# MySQL zwrócił pusty wynik (zero rekordów).
CREATE TABLE `tazballpaintball_attachments` (
ID_ATTACH int(11) unsigned NOT NULL auto_increment,
ID_MSG int(10) unsigned NOT NULL default 0,
ID_MEMBER int(10) unsigned NOT NULL default 0,
filename tinytext NOT NULL default '',
size mediumint(8) unsigned NOT NULL default 0,
downloads mediumint(8) unsigned NOT NULL default 0,
PRIMARY KEY (ID_ATTACH),
KEY ID_MSG (ID_MSG),
KEY ID_MEMBER (ID_MEMBER)
) TYPE=;
zapytanie SQL:
CREATE TABLE `tazballpaintball_attachments` ( ID_ATTACH int(11) unsigned NOT NULL auto_increment, ID_MSG int(10) unsigned NOT NULL default 0, ID_MEMBER int(10) unsigned NOT NULL default 0, filename tinytext NOT NULL default '', size mediumint(8) unsigned NOT NULL default 0, downloads mediumint(8) unsigned NOT NULL default 0, PRIMARY KEY (ID_ATTACH), KEY ID_MSG (ID_MSG), KEY ID_MEMBER (ID_MEMBER) ) TYPE=;
MySQL zwrócił komunikat:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 11
najwazniejszen dla mnie jest zeby przeniesc uzytkownikow i topici z wiadomosciami w nich a reszta mnie nie obchodzi |:P
Dzieki