Quote:
Originally posted by ontherun
I have ran the
query(s):
ALTER TABLE attachment ADD private TINYINT(1) UNSIGNED DEFAULT "0" NOT NULL AFTER visible;
ALTER TABLE privatemessage ADD attachmentid SMALLINT(5) UNSIGNED NOT NULL;
Which produced these lines in the db.
Database dsstv_forum2 - table privatemessage
Field = attachmentid
Type = SMALLINT
Length/Values* = 5
Attributes = UNSIGNED
Null = not null
default = 0
Extra =
Database dsstv_forum2 - table attachment running on localhost
Field = private
Type = TINYINT
Length/Values* = 1
Attributes = UNSIGNED
Null = not null
Default = 0
Extra =
~ So much for not following the instructions ~
|
If you "Physically" see the column inside your database then you have a good case to debate ... if you haven't then that should be your next move.
Second, look at the attachment.php for that SQL INSERT string and look for anything that might not seem valid on or around the column name. Make sure that the column inside the database has the same name that the query is trying to enter data to ...