vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vb3 Attachments - Including Multiple Attachments Option (https://vborg.vbsupport.ru/showthread.php?t=52294)

Link14716 04-30-2003 08:40 PM

Download a new vB zip from the member's area!

iggy123 04-30-2003 08:51 PM

did that and that is when I am getting the errors mentioned above

Austin Dea 04-30-2003 08:52 PM

So this works for sure now? Anyone wanna test it out to confirm?

rake 04-30-2003 09:11 PM

Quote:

Today at 10:51 PM iggy123 said this in Post #112
did that and that is when I am getting the errors mentioned above
I can only assume that the error lies in the way you did the modifications.
Could you please post the errors again, just for reference?

iggy123 04-30-2003 09:25 PM

Quote:

Database error in vBulletin 2.3.0:

Invalid SQL: SELECT filename,filedata,dateline,visible
FROM attachment
WHERE attachmentid='50'AND private=0
mysql error: Unknown column 'private' in 'where clause'

mysql error number: 1054

Date: Wednesday 30th of April 2003 04:37:20 PM
Script: http://xxx/forums/forums/attachment.php?attachmentid=50
Referer: http://xxxxx/forums/showthread.php?threadid=459
However i have fixed most of the problems now apart from 1
All the old attachments just show up as the shape and size of the image but the image is blank
for example http://clanantivirus.net/forums/atta...ttachmentid=50 but the next image - posted at the same time appears?
http://clanantivirus.net/forums/atta...ttachmentid=51

Also i can edit any post with out an attachment but not with them?

the error i get then is
Quote:

Warning: Invalid argument supplied for foreach() in /home/virtual/site97/fst/var/www/html/xxxx.net/forums/editpost.php on line 156
and line 156 of the code reads
PHP Code:

 $att = (",$postinfo[attachmentid]");
    foreach(
$att as $value) { 


rake 04-30-2003 09:35 PM

it's obviously just the attachment.php. Get a fresh, unhacked one, and you will be fine.

As for the second error - you didn't hack the file correctly.

iggy123 04-30-2003 09:39 PM

I have tried a "fresh" attachment.php file and i was still getting the error messages.
As for the editpost.php i have taken my one i save prior to trying this hack and that is when this error comes up...

rake 04-30-2003 09:42 PM

Quote:

Today at 11:39 PM iggy123 said this in Post #117
I have tried a "fresh" attachment.php file and i was still getting the error messages.
As for the editpost.php i have taken my one i save prior to trying this hack and that is when this error comes up...


You either need a pair of glasses or you need to clear your cache, because that is not possible.

iggy123 04-30-2003 09:48 PM

Quote:

You either need a pair of glasses or you need to clear your cache, because that is not possible
there is no need to get personal. I have followed your instructions to the T and it is happening. I will gladly send you the files - pre and post hack and you tell me where i am going wrong!!

sonic3d 04-30-2003 10:45 PM

working flawlessly. great job.

l8er
sonic


All times are GMT. The time now is 04:50 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
  • Page Generation 0.01348 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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