Author Topic: No posts showing up in topics, and all members vanished?  (Read 438 times)

0 Members and 1 Guest are viewing this topic.

Offline peps1

  • New Member
  • *
  • Posts: 42
  • Karma: 47
  • Gender: Male
    • www.pipechat.tk
  • SMF Version: 1.1.13 default
No posts showing up in topics, and all members vanished?
« on: March 03, 2010, 06:55:28 PM »

just moved my forum to a new host, and took the opportunity to start from scratch with the layout.....so used the fresh SMF 1.11 install files.

Installed, created a SQL database, and restored the one from my previous host.

BUT after uploading my database some things are funky!!!

300 missing members!?!?!


All the right boards are there with the right number of topics and posts listed...........BUT


No posts in the boards????????




Sooooo.....I removed the database to start over using this guide:

To Import a SQL File Into a MySQL Database
Log in to your Account Manager.
Under the My Products section, select Hosting.
Click Manage Account.
Under the Databases heading, click MySQL.
Click the Open Manager button.
Enter your user name and password for your database.
Click the database into which you are importing data.
On the far upper-left corner of the page, click the SQL button. This will be immediately to the right of the green Exit button.
Click the Import files tab in the new window that appears.
Click Browse, and then locate the .SQL file on your machine.
Click Go.
 :'(

and get

:
Error
SQL query:

INSERT INTO  `smf_log_activity` (

`date` ,
`hits` ,
`topics` ,
`posts` ,
`registers` ,
`mostOn`
)
VALUES # --------------------------------------------------------
#
# Table structure for table `smf_log_banned`
#

DROP TABLE IF EXISTS  `smf_log_banned` ;

MySQL said:

#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 'DROP TABLE IF EXISTS `smf_log_banned`' at line 5



IM STUMPED!

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: No posts showing up in topics, and all members vanished?
« Reply #1 on: March 03, 2010, 09:10:34 PM »
Was it an empty database you created or are you importing into one that is already populated with info from the fresh install. ???

Offline peps1

  • New Member
  • *
  • Posts: 42
  • Karma: 47
  • Gender: Male
    • www.pipechat.tk
  • SMF Version: 1.1.13 default
Re: No posts showing up in topics, and all members vanished?
« Reply #2 on: March 03, 2010, 09:26:32 PM »
i created one in the control panel (godaddy) then used the restore database tool to select the back up from my desk top.


then when that didn't work i created one in the control panel and used the blue phpMyAdmin screen that resulted in the error above.

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: No posts showing up in topics, and all members vanished?
« Reply #3 on: March 04, 2010, 05:52:00 PM »
When you do a fresh install on a new database the tables in that database are already populated. So the backup might fail as it has. Try doing a fresh install and then empty the tables in the database but leave the database there. After that is done upload your msql backup to that database and it should take it. Do this all through phpmyadmin.