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)

Ron1n 08-08-2005 01:42 PM

Quote:

Originally Posted by Confusion
Thanks for releasing this by the way... But I encountered a problem after upgrading. It seems like there's something wrong with the downloadadmin.php page. I followed all the directions included in the install text file but when I try to go to the settings I get a blank page.

Any suggestions?

BTW, I'm running vB version 3.0.7

Thanks.

YOu need to do the admincp edits. - i forgot to put the correct link in, added a fix file

Quote:

Originally Posted by Confusion
Also, I just tried looking at the stats from the downloads.php page and received this error:

Warning: Division by zero in /includes/functions.php on line 1861

Here's what the line looks like:

$totalpages = ceil($results / $perpage);

Try going to your settings and saving perpage as a numerical value higher than zero. I do not get this error and cannot see another possibility as of yet. Maybe more information would help if the problem persists.

Quote:

Originally Posted by Confusion
It's me again LOL...

I just tried updating usergroup permissions and I received this error:

mysql error: Unknown column 'canmanagepurgatory' in 'field list'

mysql error number: 1054

Fixed.


Quote:

Originally Posted by yahoooh
i use vb 3.0.6 .. any one test it with this version?

It works on 3.0.0 -> 3.0.8

gyutae 08-08-2005 05:51 PM

I get this when editing user group permissions

Database error in vBulletin 3.0.7:

Invalid SQL: UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Administrator',
description = '',
usertitle = 'Administrator',
opentag = '<b>',
closetag = '</b>',
passwordexpires = '0',
passwordhistory = '0',
attachlimit = '0',
avatarmaxwidth = '80',
avatarmaxheight = '80',
avatarmaxsize = '20000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '65535',
pmquota = '1000',
pmsendmax = '5',
uttstore_discount = '0',
forumpermissions = '393215',
pmpermissions = '3',
calendarpermissions = '31',
wolpermissions = '31',
adminpermissions = '3',
genericpermissions = '20971519',
genericoptions = '24',
journalpermissions = '2047',
arcadepermissions = '31',
vbarticlespermissions = '15',
vbreviewspermissions = '15',
vbtabspermissions = '15',
downloadpermissions = '1'
WHERE usergroupid=6
mysql error: Unknown column 'downloadpermissions' in 'field list'

mysql error number: 1054

xfaethorx 08-08-2005 07:55 PM

Quote:

Originally Posted by gyutae
I get this when editing user group permissions

Database error in vBulletin 3.0.7:

Invalid SQL: UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Administrator',
description = '',
usertitle = 'Administrator',
opentag = '<b>',
closetag = '</b>',
passwordexpires = '0',
passwordhistory = '0',
attachlimit = '0',
avatarmaxwidth = '80',
avatarmaxheight = '80',
avatarmaxsize = '20000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '65535',
pmquota = '1000',
pmsendmax = '5',
uttstore_discount = '0',
forumpermissions = '393215',
pmpermissions = '3',
calendarpermissions = '31',
wolpermissions = '31',
adminpermissions = '3',
genericpermissions = '20971519',
genericoptions = '24',
journalpermissions = '2047',
arcadepermissions = '31',
vbarticlespermissions = '15',
vbreviewspermissions = '15',
vbtabspermissions = '15',
downloadpermissions = '1'
WHERE usergroupid=6
mysql error: Unknown column 'downloadpermissions' in 'field list'

mysql error number: 1054


I'm getting the self same error! along with missing 2 phrases and

Invalid SQL: SELECT * FROM dl_files WHERE `purgatory` = '0' AND `category` = '1' ORDER BY `pin` DESC, `date` DESC LIMIT 0,
mysql error: 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 '' at line 1

mysql error number: 1064

its totally farked my board :s

xfaethorx 08-08-2005 08:12 PM

AH FOUND IT AND FIXED IT!

go into init.php and replace.

// ###### ELITECODERS DOWNLOAD HACK ######
$_BITFIELD['usergroup']['downloadpermissions'] = array(
'canviewfiles' => 1,
'candownloadfiles' => 2,
'canratefiles' => 4,
'canuploadimages' => 8,
'canlinktofiles' => 16,
'canuploadfiles' => 32,
'canavoidpurgatory' => 64,
'canmanagepurgatory' => 128,
'caneditownfiles' => 256,
'caneditallfiles' => 512,
'canviewdisabled' => 1024
);
// ###### ELITECODERS DOWNLOAD HACK ######

// ###### ELITECODERS DOWNLOAD HACK ######
$_BITFIELD['usergroup']['ecdownloadpermissions'] = array(
'canviewfiles' => 1,
'candownloadfiles' => 2,
'canratefiles' => 4,
'canuploadimages' => 8,
'canlinktofiles' => 16,
'canuploadfiles' => 32,
'canavoidpurgatory' => 64,
'canmanagepurgatory' => 128,
'caneditownfiles' => 256,
'caneditallfiles' => 512,
'canviewdisabled' => 1024
);
// ###### ELITECODERS DOWNLOAD HACK ######

that'll fix the usergroups bug your having!

xfaethorx 08-08-2005 08:21 PM

the divide by zero error piddle off after you upload your first file...

HOWEVER i've noticed something wrong when i try to upload a file with the wrong extension type it DOESNT tell me the supported extension types. Also can someone tell me what the 2 missing phrases are at the BOTTOM of the usergroup permission block, all are there but those 2! :( if someone can tell me I'll add the phrases by hand.

Ron1n 08-08-2005 08:48 PM

Quote:

// ###### ELITECODERS DOWNLOAD HACK ######
$_BITFIELD['usergroup']['ecdownloadpermissions'] = array(
'canviewfiles' => 1,
'candownloadfiles' => 2,
'canratefiles' => 4,
'canuploadimages' => 8,
'canlinktofiles' => 16,
'canuploadfiles' => 32,
'canavoidpurgatory' => 64,
'canmanagepurgatory' => 128,
'caneditownfiles' => 256,
'caneditallfiles' => 512,
'canviewdisabled' => 1024
);
// ###### ELITECODERS DOWNLOAD HACK ######
Fsk, yeak I reverted BACK to the old one when I added the fix :(.

Quote:

Originally Posted by xfaethorx
the divide by zero error piddle off after you upload your first file...

HOWEVER i've noticed something wrong when i try to upload a file with the wrong extension type it DOESNT tell me the supported extension types. Also can someone tell me what the 2 missing phrases are at the BOTTOM of the usergroup permission block, all are there but those 2! :( if someone can tell me I'll add the phrases by hand.

ecdownloads_can_edit_all_files and ecdownloads_can_view_disabled

KTBleeding 08-08-2005 09:03 PM

Question:

If I install this on 3.0.8, is there an easy upgrade available for the 3.5 version for when I do upgrade my vBulletin? Or would I be better off waiting until after I upgrade to vB3.5 to install ecD?

Confusion 08-08-2005 10:05 PM

Quote:

Originally Posted by Ron1n
Try going to your settings and saving perpage as a numerical value higher than zero. I do not get this error and cannot see another possibility as of yet. Maybe more information would help if the problem persists.

Thanks for the response. After editing the admincp/index.php and functions/init.php file (which fixed the other problems I was having) as noted in your fix file, I'm still having a problem with the stats page. I'll let this screen shot do the talking:

https://vborg.vbsupport.ru/

Is this normal? Or did I totally screw up LOL?

Thanks again.

Confusion 08-08-2005 10:15 PM

Quote:

Originally Posted by Ron1n
ecdownloads_can_edit_all_files and ecdownloads_can_view_disabled

I was wondering about these too. Are these permissions phrases?

Thank you.

Confusion 08-08-2005 10:26 PM

One more LOL...

I'm getting a "403 Forbidden by Web Configuration" error when I try to download a file I upload. I can see it in my FTP but I'm unable to retrieve it by clicking the Download Here link after I upload it. I set the folders permissions at 777. Any suggestions?

Thank you.


All times are GMT. The time now is 02:57 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.01907 seconds
  • Memory Usage 1,762KB
  • 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
  • (9)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