vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   PM Attachments 3.5 (https://vborg.vbsupport.ru/showthread.php?t=95477)

predatorkill 11-01-2005 08:47 AM

I ve run this query:

ALTER TABLE xxxx_attachment add usedin varchar(30) not null;

AND

I get the following mysql error:

Database error in vBulletin 3.5.0:

Invalid SQL:

SELECT attachmentid
FROM xxxx_attachment AS attachment
LEFT JOIN xxxx_pmtext AS pmtext ON attachment.usedin='pmtextid' AND attachment.itemid=pmtext.pmtextid
WHERE
pmtext.pmtextid IS NULL
AND usedin<>''
AND itemid<>'';

MySQL Error : Unknown column 'usedin' in 'where clause'
Error Number : 1054

any solutions?Thanks in advance!

How can i revert the table back to normal?

Kuimera 11-06-2005 08:07 PM

Quote:

Originally Posted by lowandloudinc
the code your looking for is at the top of the template you need to look in
about 5 or 6th line i think

Hey m8, I put there the code I got, if you make a search, you will not find the "$_pmt = 1;"

Prob I?m dumb, dont know...

WNxWakko 11-11-2005 01:50 AM

Were do the attachments go? I attach to a PM, it lists it in the popup window, I submit. When I do it again, the popup window doesnt show it in my attach inventory, nor does it in my main attachment inventory. Is it just a floating attachment or something? Oh and where it would normally list my attach inventory, it says array and nothing more.

Sychev_S 11-13-2005 05:01 PM

I get this error when tryign to send pm with attachment:
Database error in vBulletin 3.5.0:

Invalid SQL:
UPDATE pmtext SET attach='1' WHERE pmtextid='333';

MySQL Error : Unknown column 'attach' in 'field list'
Error Number : 1054
Date : Sunday, November 13th 2005 @ 01:54:34 PM
Script : http://www.talkinto.com/forums/private.php
Referrer : http://www.talkinto.com/forums/private.php?do=newpm&u=5
IP Address : 209.158.71.16
Username : Administrator
Classname : vb_database

I can also NO longer add regualr attachments to post...
anybody knows how to fix that?

Sychev_S 11-13-2005 05:32 PM

Nvermind.
I configured config.php to allow me run quiries from admincp (used to run form phpmyadmin).
I ran them, everything is back to normal but I still cannot send attachments. I attach them, but when other person opens pm he sees no attachments there. No errors.

Sychev_S 11-13-2005 07:13 PM

okey, I just deleted plugin and installed it again.
Works perfectly now! vb 3.5.0
Thank you!

zendiver 11-29-2005 02:37 AM

Will this work for 3.5.1?

Snake 11-29-2005 12:08 PM

Yes it will.

zendiver 12-01-2005 04:14 PM

Installed and works great.

zendiver 12-01-2005 06:45 PM

A little hasty I was. It works for me, BUT others get this error:

Quote:

Close this window Manage Attachments
Upload Errors
Picture 23.jpg:
File system directory is not writable.
I thought this was storing the attachments to the same place the threads are? I checked my permissions there and they are set to 777


All times are GMT. The time now is 12:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01115 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete