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)
-   -   Who Downloaded This Attachment? (https://vborg.vbsupport.ru/showthread.php?t=36900)

Lucky 04-21-2002 01:06 AM

Quote:

Originally posted by TWTCommish
Hmm. Sounds like you might've accidently changed or deleted a line somewhere...
No, I took out the hack and it still is doing the same. All was good before I installed this hack. Any ideas?

TIA

bandersen 04-21-2002 04:02 PM

This is a nice hack and I have installed it using vbhacker. Worked fine except I did the attachment.php manually. I got the same errors as a few others here, but managed to sort it out by reading these posts - thanx!!
Now, I get one error I hope someone can help out with. I am on 2.2.5 and get this when clicking on the link "who downloaded this?":

----
Database error in vBulletin 2.2.5:

Invalid SQL: SELECT u.userid, u.username FROM user u WHERE u.downloads LIKE "1%" OR u.downloads LIKE "%1%" OR u.downloads LIKE "%1" ORDER BY u.username ASC
mysql error: Unknown column 'u.downloads' in 'where clause'

mysql error number: 1054
---

Now, If I view my ....whodownloaded.php in the browser it looks just fine...

Any hints are appreciated!

Edited: I think the above is due to a "parse error in line 56" in the attachment.php..... because of it I do not manage to get any downloads when clicking on the attachment link. Hence, the above sql error shows because no one downloaded yet??
How do I get rid of the parse error.... I have checked the coding in the attachment.php....

freeshares1 04-21-2002 05:31 PM

I tried to install this using vbhacker and now i am getting errors.

When i try click on who downloaded this i get the following errors

Database error in vBulletin 2.2.4:

Invalid SQL: SELECT downloads FROM user WHERE userid = 1
mysql error: Unknown column 'downloads' in 'field list'

mysql error number: 1054

Date: Sunday 21st of April 2002 12:30:18 PM
Script: http://www.gamblingforums.net/vbport...php?postid=857
Referer: http://www.gamblingforums.net/vbport...hp?threadid=56


When using vbhacker everything went ok except for the attachment.php part which i did manually.

Now i cant even download the attachment

attachment link

http://www.gamblingforums.net/vbport...hp?threadid=56

bandersen 04-21-2002 05:40 PM

Yes!... I now managed to get rid of the sql error I got when clicking on the link "who downloaded this?" (see post #52).

By running the whodownloaded_query in the whodownloaded_query.txt file!!!! ofcourse.....
(I really thought vbhacker took care of everything)
I am a novice.. so I am using Firefly's hack for running a query..not myphpAdmin.

The above should apply for more than me ;)

Now... that parse error....

TWTCommish 04-21-2002 06:07 PM

Well, I can't know what's wrong with line 56 until I see it. :) Liines 50-60 should help...

bandersen 04-21-2002 06:24 PM

Thank you TWTCommish!
I have attached the attachment file here.... I am never sure if I manage to spread the lines over several lines... you know. :rolleyes:

Thanks again.

Edit: here is the error:

Parse error: parse error in ...../forums/upload/attachment.php on line 58

freeshares1 04-21-2002 06:36 PM

I have the same JS error.. I have checked my templates and it seems to be correct....

freeshares1 04-21-2002 06:46 PM

I should have read the whole thread it works great now

Thanks

TWTCommish 04-21-2002 08:47 PM

bandersen: please remove that file. I don't think you're allowed to post entire vBulletin files on here. You can only post parts of them. I'll download it so I can take a look, but I don't think it's allowed to be up there...

bandersen 04-21-2002 08:51 PM

Sorry... I didnt know. It's gone.


All times are GMT. The time now is 08:24 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.01211 seconds
  • Memory Usage 1,739KB
  • 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_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