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)
-   -   Attachments in private messages (https://vborg.vbsupport.ru/showthread.php?t=91220)

ffevo 03-29-2006 08:02 PM

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: 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 ';
ALTER TABLE attachment add itemid int not null;
ALTER TABLE pmtext add attac' at line 1

can anyone fix this?

ffevo 03-29-2006 08:12 PM

Is there anyway i can undo the database changes it has already done? 3.5.0 Beta 4 is needed for private attachments plugin, found 3.5.3

gcphost 03-29-2006 11:57 PM

If you always got the above error theres nothing you need to undo as it didnt work. To be sure load up a mysql editor and check it out.

You have to modify the prefix to the table as it says:
Code:


Remember to prefix the table, if you do not know what is a prefix or
you don't use it then you can run the queries without any changes

--------------------------------------------------------

ALTER TABLE attachment add usedin varchar(30) not null;
ALTER TABLE attachment add itemid int not null;
ALTER TABLE pmtext add attach int not null;
ALTER TABLE attachment add index (usedin,itemid);

I'm using vb_ as my prefix so its like:
Quote:

ALTER TABLE vb_attachment add usedin varchar(30) not null;
ALTER TABLE vb_attachment add itemid int not null;
ALTER TABLE vb_pmtext add attach int not null;
ALTER TABLE vb_attachment add index (usedin,itemid);
Heres the "fixed" version:
https://vborg.vbsupport.ru/showthrea...messages+fixed

Working for me on 3.5.4.

yoyoyoyo 12-06-2006 09:10 PM

I just did a version check and it said that version 1.5.5 was out for this hack, yet I only see 1.5.3 - does anyone know where to get the latest version?

MrPHD 12-06-2006 10:10 PM

Installed and running.Thanks

ag24 01-19-2010 10:25 AM

what is this:
Quote:

Fatal error: Call to undefined function compile_template() in /home/net20617/domains/parsipeople.com/public_html/forum/global.php(1091) : eval()'d code on line 12
?
when i active this modification my forum give this eror:((


All times are GMT. The time now is 06:16 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.00972 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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