News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

smf_personal_messages' doesn't exist

Started by abhi, August 06, 2010, 12:00:35 PM

Previous topic - Next topic

abhi

Table '(my dbname) _ (dbname) _(my forum). smf_personal_messages' doesn't exist File: /home/vol9 /http://(Hostname)/htdocs/Sources/Subs-Post.php Line: 1149


what should i do?

Cant snt personal images!

TheListener

Can you explain what the cause of the error was.

Mods installed etc.

The more infornmation we have the better we can help.

abhi

smf_personal_messages'
table deleted

that table now not at my database!
I want that!


xenovanis

Did you delete that table? Why?  ???

In phphMyAdmin, run this query:


CREATE TABLE smf_personal_messages (
  id_pm int(10) unsigned NOT NULL auto_increment,
  id_pm_head int(10) unsigned NOT NULL default '0',
  id_member_from mediumint(8) unsigned NOT NULL default '0',
  deleted_by_sender tinyint(3) unsigned NOT NULL default '0',
  from_name varchar(255) NOT NULL default '',
  msgtime int(10) unsigned NOT NULL default '0',
  subject varchar(255) NOT NULL default '',
  body text NOT NULL,
  PRIMARY KEY (id_pm),
  KEY id_member (id_member_from, deleted_by_sender),
  KEY msgtime (msgtime),
  KEY id_pm_head (id_pm_head)
) ENGINE=MyISAM;


What is phpMyAdmin?
"Insanity: doing the same thing over and over again and expecting different results."

abhi

Unfortunately dear , . .
During My database checking

ɔɔɔɔɔɔuɥoɾ

Quote from: xenovanis on August 06, 2010, 12:29:23 PM
Did you delete that table? Why?  ???

In phphMyAdmin, run this query:


CREATE TABLE smf_personal_messages (
  id_pm int(10) unsigned NOT NULL auto_increment,
  id_pm_head int(10) unsigned NOT NULL default '0',
  id_member_from mediumint(8) unsigned NOT NULL default '0',
  deleted_by_sender tinyint(3) unsigned NOT NULL default '0',
  from_name varchar(255) NOT NULL default '',
  msgtime int(10) unsigned NOT NULL default '0',
  subject varchar(255) NOT NULL default '',
  body text NOT NULL,
  PRIMARY KEY (id_pm),
  KEY id_member (id_member_from, deleted_by_sender),
  KEY msgtime (msgtime),
  KEY id_pm_head (id_pm_head)
) ENGINE=MyISAM;


What is phpMyAdmin?

What if smf_ is not the prefix used lol


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

xenovanis

Quote from: johncccccc on August 06, 2010, 12:40:35 PM
What if smf_ is not the prefix used lol

Well, I thought about that and then I read this

smf_personal_messages


in the subject of this topic and the first post. So, I assumed it was smf_  :P

"Insanity: doing the same thing over and over again and expecting different results."

abhi

Hey, how to run query in phpmyadmin

give me the route

ɔɔɔɔɔɔuɥoɾ

Quote from: xenovanis on August 06, 2010, 12:42:19 PM
Quote from: johncccccc on August 06, 2010, 12:40:35 PM
What if smf_ is not the prefix used lol

Well, I thought about that and then I read this

smf_personal_messages


in the subject of this topic and the first post. So, I assumed it was smf_  :P



True, true lol


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

xenovanis

Quote from: abhi on August 06, 2010, 12:44:29 PM
Hey, how to run query in phpmyadmin

give me the route

Open phpMyAdmin, select your database for smf and click the "query" tab at the top of the page.
"Insanity: doing the same thing over and over again and expecting different results."

abhi

Yeah clicked . . Then check

feilds,sort,show, etc . .

What create?

ɔɔɔɔɔɔuɥoɾ

#12
Run the query

....

Click Go lol


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

abhi

#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 'smf_personal_messages (   id_pm int(10) unsigned NOT NULL auto_increment,   i' at line 1

smf_personal_messages (     id_pm   INT (   10   )   UNSIGNED   NOT   NULL AUTO_INCREMENT   ,       id_pm_head   INT (   10   ) UNSIGNED   NOT   NULL   DEFAULT '0    id_member_from mediumint(8)   unsigned NOT NULL default ' 0     deleted_by_sender   TINYINT (   3   )   UNSIGNED

xenovanis

Did you just plain copy and paste the code I gave you?
"Insanity: doing the same thing over and over again and expecting different results."

abhi

#15
Yes me pasted your code this

smf_personal_messages (   
id_pm int(10)  unsigned NOT
NULL auto_increment,   
id_pm_head int(10) 
unsigned NOT NULL default '0
  id_member_from
mediumint(8)  unsigned NOT
NULL default '0   deleted_by_
sender tinyint(3)  unsigned
NOT NULL default '0   
from_name varchar(255) 
NOT NULL default '',   
msgtime int(10)  unsigned
NOT NULL default '0   subject
varchar(255)  NOT NULL
default '',   body text NOT
NULL,   PRIMARY KEY
(id_pm),   KEY id_member
(id_member_from, deleted_
by_sender),   KEY msgtime
(msgtime),   KEY
id_pm_head (id_pm_head) )
ENGINE=MyISAM;

xenovanis


CREATE TABLE smf_personal_messages (
  id_pm int(10) unsigned NOT NULL auto_increment,
  id_pm_head int(10) unsigned NOT NULL default '0',
  id_member_from mediumint(8) unsigned NOT NULL default '0',
  deleted_by_sender tinyint(3) unsigned NOT NULL default '0',
  from_name varchar(255) NOT NULL default '',
  msgtime int(10) unsigned NOT NULL default '0',
  subject varchar(255) NOT NULL default '',
  body text NOT NULL,
  PRIMARY KEY (id_pm),
  KEY id_member (id_member_from, deleted_by_sender),
  KEY msgtime (msgtime),
  KEY id_pm_head (id_pm_head)
) ENGINE=MyISAM;


Copy again. A lot is missing.
"Insanity: doing the same thing over and over again and expecting different results."

ɔɔɔɔɔɔuɥoɾ

Tip, click the [select] button on the top to "select all"


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Kill Em All

abhi, do you need any further help with this? Did xenovanis's SQL query help create a new PM table for you?


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

Advertisement: