vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   ecDownloads 3.2 Legacy (https://vborg.vbsupport.ru/showthread.php?t=75198)

Osiris2k 03-24-2005 02:11 AM

Could users be able to upload files larger in size than 2mb (my host has a max 2mb for php)

Juanito 03-24-2005 02:41 AM

Quote:

Originally Posted by phreak420
alright well i got the uploading part to work...now i get some errors with downloading it...it doesnt use the right file name

Can you explain how you fixed your problem, amybe this could help...

I still can't upload or link anything, keep telling me I can only upload the extension I'm already trying to upload!

Ron1n 03-24-2005 03:43 AM

Quote:

Originally Posted by rjordan
I have two more suggestions.
1- When you go to edit categories and you have multiple instances if a subcategory, it seems to group them together as so (pulled directly from my list):
Can this be modified so that the subcategories are listed under the main in a fashion like so by adding dashes to the drop-down list for subcategories:

Sounds good.

Quote:

Originally Posted by rjordan
2- Multiple (unlimited?) levels of sub-categories. Right now, you can have only one subcategory. In conjuntion with the above example, something like this:

This would be a tad tricky and would slow down forums even for people without many subcats. To be honest, just including one level of subcats requires Order(cats+1) more queries, and unlimited subcats would require Order(cats(depth)+1). Currently, if you have 5 cats you make 1 query. If you have 5 cats with 5 subcats, you make 5+1 queries. If you have 5 cats with 5 subcats and the possibility of another level of subcats you make 25+5+1 queries.

I tried my best to optimize queries and only perform stat-gathering queries when needed (file changes etc) and as a result, I think I may be able to incorporate this... but I will have to think about it.

Quote:

Originally Posted by Gottcha
ok i got it installed but when i try to upload i get this error:

Fatal error: Call to undefined function: prep_file() in /home/fragtrad/public_html/forums/includes/dl_add.php on line 66

Change file_prep to prep_file in dl_functions.php

Quote:

Originally Posted by Rids
For some reason when I updated from 1.0e to 2.0c not all of the templates were updated and not all of the mysql fields were set either. I eventually put the templates and mysql right (I think) manually from the installer file but what I have now is a mess: ... I'm now completely stumped with nothing working :(

I really don't know what to say. I haven't ever recieved those errors with this script or any other webprogram I have written or used. I know you had some data in your tables, but I would suggest a complete reinstall. If you want to save your old data, export it to a .sql file, and do a complete reinstall of EVERYTHING. If it works, I will help you manually add back the mysql data.

Good luck, and keep me posted.

Quote:

Originally Posted by Osiris2k
Could users be able to upload files larger in size than 2mb (my host has a max 2mb for php)

No. That is why I added the link-to-file feature. The only way to upload larger files is change your php config.

Quote:

Originally Posted by Juanito
I still can't upload or link anything, keep telling me I can only upload the extension I'm already trying to upload!

Did you remember to add a . before your extension? (.rar, .jpg, .exe, .php) Also, if you are doing one with 2 or four letters (or more) and it doesnt work... I could have a bug. Please tell me what extension you are trying to upload and what you entered into the admincp.

I think I covered all the problems... if not just repost it.

There was someone who said uploading files with a . in the name didnt work...and I havent been able to produce the same error.

Allan 03-24-2005 05:27 AM

thanks Ronin, very nice hack :)

(click Install) ;)

Allan 03-24-2005 05:40 AM

I have this error in localhost when I click on "order the files"

error:
Code:

Parse error: parse error in c:\program files\easyphp1-8\www\forum\includes\dl_manage.php on line 36
ligne 36 (in red) of file "dl_manage.php":
Code:

if ($file['link'] == 0)
                        {
                                if (!" . TABLE_PREFIX . "file_exists($INFO['url'].$file['url'])) {
                                        eval('$filebits .= "' . fetch_template('downloads_man_filebits') . '";');
                                }
                        }


rjordan 03-24-2005 09:54 AM

Try removing the ] at the front of the line you highlighted.

Marco van Herwaarden 03-24-2005 09:58 AM

Change:
PHP Code:

                ]if (!" . TABLE_PREFIX . "file_exists($INFO['url'].$file['url'])) { 

to:
PHP Code:

                if (!" . TABLE_PREFIX . "file_exists($INFO['url'].$file['url'])) { 

But double check your edit, because that ] must have come from somewhere (unless hack instructions have an error, which i didn't check).

Allan 03-24-2005 10:00 AM

Quote:

Originally Posted by MarcoH64
Change:
PHP Code:

                ]if (!" . TABLE_PREFIX . "file_exists($INFO['url'].$file['url'])) { 

to:
PHP Code:

                if (!" . TABLE_PREFIX . "file_exists($INFO['url'].$file['url'])) { 

But double check your edit, because that ] must have come from somewhere (unless hack instructions have an error, which i didn't check).


nono, it's a error of me for the color ligne juste, rectified :o

phreak420 03-24-2005 10:00 AM

Quote:

Originally Posted by Juanito
Can you explain how you fixed your problem, amybe this could help...

I still can't upload or link anything, keep telling me I can only upload the extension I'm already trying to upload!

well what i did was in the dl_add i had the error on line 66...so i changed the code a little bit

from
Code:

prep_file
to
Code:

file_prep
and now it says its uploaded atleast but then when i go to download the file name is changed

Marco van Herwaarden 03-24-2005 10:53 AM

Quote:

Originally Posted by Allan
nono, it's a error of me for the color ligne juste, rectified :o

What is the meaning of the
PHP Code:

" . TABLE_PREFIX . " 

Looks to me that don't belong there


All times are GMT. The time now is 02:31 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.01906 seconds
  • Memory Usage 1,765KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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