SMFHacks.com
Downloads System Pro => Support => Topic started by: Shades on May 14, 2022, 04:04:04 pm
-
SMF 2.1.2
Downloads Pro v6.0.3
Getting this error after regenerating thumbnails:
Error
Type of error
Undefined_vars
Error message
8: Undefined index: down_path
File
/home/*****/public_html/Sources/Downloads2.php
Line
10785
URL of page causing the error
https://*****.com/?action=downloads;sa=regen2
Backtrace information
#0: smf_error_handler()
Called from /home/*****/public_html/Sources/Downloads2.php on line 10785
#1: Downloads_ReGenerateThumbnails2()
Called from /home/*****/public_html/Sources/Downloads2.php on line 257
#2: DownloadsMain()
Called from /home/*****/public_html/index.php on line 194
Also when editing a download it takes me back to the categories page instead of the download that I was editing.
-
Fixed both for next update.
-
Just noticed this but when just editing the text and clicking on "Edit Download" it takes me back to the page of the download I was editing but if I upload a new file for download it takes me back to the category page!
-
That should be changed in next update as well.
-
Just got this error today when a guest tried to download and also got the same error when I tried to download the file:
Error
Type of error
Database
Error message
Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''7\'' at line 4
SELECT
p.ID_FILE
FROM smf_down_file as p
WHERE p.seourl = '7\'
File
/home/*****/public_html/Sources/Downloads2.php
Line
1283
URL of page causing the error
https://*****.com/?action=downloads;sa=view;id=7\
Backtrace information
#0: smf_db_error()
Called from /home/*****/public_html/Sources/Subs-Db-mysql.php on line 494
#1: smf_db_query()
Called from /home/*****/public_html/Sources/Downloads2.php on line 1283
#2: Downloads_ViewDownload()
Called from /home/*****/public_html/Sources/Downloads2.php on line 257
#3: DownloadsMain()
Called from /home/*****/public_html/index.php on line 194
-
The url looks bad are you clicking a bad link? ?action=downloads;sa=view;id=7\
Shouldn't end in \
-
I clicked the link in the error (sorry), the actual link on the download page works fine so I'm not sure where the guest clicked that link from!? ???