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)
-   -   Attachments as files (https://vborg.vbsupport.ru/showthread.php?t=35193)

WhisperPntr 10-05-2002 01:58 PM

Rolodex...you really should have tested this on a home server first.

BTW I really like this idea. I will try it sometime this week.

Essamz 10-08-2002 12:28 PM

hi

im having this error with the hack:

Warning: Supplied argument is not a valid File-Handle resource in /home/httpd/vhosts/montada.com/httpdocs/xx/attachment_install.php on line 403

Imported ffx_box.jpg

Warning: Supplied argument is not a valid File-Handle resource in /home/httpd/vhosts/montada.com/httpdocs/xx/attachment_install.php on line 403

Imported lee 2.jpg

Warning: Supplied argument is not a valid File-Handle resource in /home/httpd/vhosts/montada.com/httpdocs/xx/attachment_install.php on line 403

Imported conan_1_800.jpg

Brad 10-11-2002 08:18 AM

PPN, im having a problem with this under 2.2.8 (clean install). i get this error when trying to reply:

Parse error: parse error in /home/kousetsu/public_html/kan/admin/functions.php on line 2561

Fatal error: Call to undefined function: makelogincode() in /home/kousetsu/public_html/kan/global.php on line 360

line 2561 is the last ?>.

Scott MacVicar 10-11-2002 08:20 AM

your missing a }

I'm at university just now so can you pm me your functions.php so I can look at it.

Brad 10-13-2002 02:47 AM

Yea, i found that out, however i have a new error.

when i upgraded to 2.2.8 (clean install) and tried to re install this i droped the hash table via the installer, new attachments work but old ones throw this error due to the hash table begin droped.

Quote:

Warning: stat failed for /home/kousetsu/public_html/attachments/.file (errno=2 - No such file or directory) in /home/kousetsu/public_html/kan/attachment.php on line 59

Warning: Unable to access /home/kousetsu/public_html/attachments/.file in /home/kousetsu/public_html/kan/attachment.php on line 60

Warning: fopen("/home/kousetsu/public_html/attachments/.file", "rb") - No such file or directory in /home/kousetsu/public_html/kan/attachment.php on line 60

Warning: fread(): supplied argument is not a valid File-Handle resource in /home/kousetsu/public_html/kan/attachment.php on line 61

Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/kousetsu/public_html/kan/attachment.php on line 62

Warning: Cannot add header information - headers already sent by (output started at /home/kousetsu/public_html/kan/attachment.php:59) in /home/kousetsu/public_html/kan/attachment.php on line 63

Warning: Cannot add header information - headers already sent by (output started at /home/kousetsu/public_html/kan/attachment.php:59) in /home/kousetsu/public_html/kan/attachment.php on line 64

Warning: Cannot add header information - headers already sent by (output started at /home/kousetsu/public_html/kan/attachment.php:59) in /home/kousetsu/public_html/kan/attachment.php on line 65

Warning: Cannot add header information - headers already sent by (output started at /home/kousetsu/public_html/kan/attachment.php:59) in /home/kousetsu/public_html/kan/attachment.php on line 66

Warning: Cannot add header information - headers already sent by (output started at /home/kousetsu/public_html/kan/attachment.php:59) in /home/kousetsu/public_html/kan/attachment.php on line 67

Warning: Cannot add header information - headers already sent by (output started at /home/kousetsu/public_html/kan/attachment.php:59) in /home/kousetsu/public_html/kan/attachment.php on line 73
Is there anyway to give old attachments a new hash in the DB so they work?

Ninth Dimension 10-13-2002 10:34 AM

I've just installed this hack again, and it works as well as it ever did, thank you fella :)

Brad 10-14-2002 07:53 AM

Just a bump.

Quote:

Originally posted by Anime-loo
Yea, i found that out, however i have a new error.

when i upgraded to 2.2.8 (clean install) and tried to re install this i droped the hash table via the installer, new attachments work but old ones throw this error due to the hash table begin droped.



Is there anyway to give old attachments a new hash in the DB so they work?


Brad 10-15-2002 06:54 AM

Bumping again.

Scott MacVicar 10-15-2002 07:35 AM

there isn't a way to associate the hash and the filename any more that was the whole point in using hashes, do you have a table backup before you dropped the column?

Brad 10-15-2002 08:25 AM

No. if i did i would have restored it, are you sure we couldent do something like import the files to the database and export them again?


All times are GMT. The time now is 09:22 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.01319 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
  • (2)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