![]() |
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 ~ |
Quote:
13 tables ... 12 Values |
Quote:
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 ... |
Quote:
Now onto the next problem... Nothing "major", but the paperclip.gif image is not appearing next to the PM title. Here's what I have in Private.php: PHP Code:
|
My Question ....
How many themes are you working with? Also, i'd check the spelling of the paperclip image for caps ... I had a simular problem like that and that was the problem. Make sure it's in lower case! |
Just a single theme on my test board, and the code I pasted is taken directly from my private.php file...paperclip.gif is in all lowercase. Just to cleare it up, I'm not getting a "broken image"...theres just nothing showing up where paperclip.gif should be. Weird.
|
Quote:
I have gone back to the Org. php files and added all the lines need to them. I have added the new lines to Template and created the new template. Uploaded all files And Im right back to the Org. error: Database error in vBulletin 2.2.8: Invalid SQL: INSERT INTO attachment (attachmentid,userid,dateline,filename,filedata,vi sible,private) VALUES (NULL,1,1036627824,'newbie guide.txt',','1','1') mysql error: Unknown column 'private' in 'field list' mysql error number: 1054 Date: Wednesday 06th of November 2002 05:10:24 PM Script: http://dev.*********.com/private.php Referer: http://dev.*********.com/private.php...age&userid=218 How do I fix this And yes the tables where added to the DB. |
I need help
I installed the hack fine with out any problems but when someone clicks the attachments in the PM they get the following error Parse error: parse error in /home/mike1121/public_html/board/attachment.php on line 100 here are lines 89 to 102 in my attachments.php file Code:
if ($extension=='gif') { |
anyone?
|
I wonder if it is possible to limit this function to only certain user groups? :)
|
All times are GMT. The time now is 01:06 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|