SMFHacks.com

Downloads System Pro => Support => Topic started by: Shades on October 28, 2022, 08:22:21 am

Title: Delete extra file errors
Post by: Shades on October 28, 2022, 08:22:21 am
SMF 2.1.2
Downloads System Pro 6.1.3

I added an extra download to one of my downloads and decided I didn't want both so I deleted one and got these errors:

Quote
Error
Type of error
Undefined_vars
Error message
8: Undefined index: ID_CAT
File
/home/******/public_html/Sources/Downloads2.php
Line
11066
URL of page causing the error
https://******.com/index.php?action=downloads;sa=deleteextra&id=1

Backtrace information
#0: smf_error_handler()
Called from /home/******/public_html/Sources/Downloads2.php on line 11066
#1: Downloads_DeleteExtraFile()
Called from /home/******/public_html/Sources/Downloads2.php on line 257
#2: DownloadsMain()
Called from /home/******/public_html/index.php on line 192

Quote
Error
Type of error
Undefined_vars
Error message
8: Undefined index: description
File
/home/******/public_html/Sources/Downloads2.php
Line
11074
URL of page causing the error
https://******.com/index.php?action=downloads;sa=deleteextra&id=1

Backtrace information
#0: smf_error_handler()
Called from /home/******/public_html/Sources/Downloads2.php on line 11074
#1: Downloads_DeleteExtraFile()
Called from /home/******/public_html/Sources/Downloads2.php on line 257
#2: DownloadsMain()
Called from /home/******/public_html/index.php on line 192
Title: Re: Delete extra file errors
Post by: SMFHacks on October 29, 2022, 10:39:18 am
Fixed in
6.1.4
!Fixed editing custom fields when editing a download file with an upload
!Fixed two undefined errors when deleting extra files in a download