Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 236
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 233
Total: 233

Author Topic: Undefined index: down_path  (Read 699 times)

0 Members and 1 Guest are viewing this topic.

Offline Shades

  • Full Member
  • ***
  • Posts: 219
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Undefined index: down_path
« on: May 14, 2022, 04:04:04 pm »
SMF 2.1.2
Downloads Pro v6.0.3

Getting this error after regenerating thumbnails:

Quote
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.

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Undefined index: down_path
« Reply #1 on: May 14, 2022, 10:44:27 pm »
Fixed both for next update.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Shades

  • Full Member
  • ***
  • Posts: 219
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Re: Undefined index: down_path
« Reply #2 on: May 15, 2022, 12:24:25 pm »
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!

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Undefined index: down_path
« Reply #3 on: May 15, 2022, 12:55:42 pm »
That should be changed in next update as well.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/
Like Like x 1 View List

Offline Shades

  • Full Member
  • ***
  • Posts: 219
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Re: Undefined index: down_path
« Reply #4 on: May 18, 2022, 09:56:19 am »
Just got this error today when a guest tried to download and also got the same error when I tried to download the file:

Quote
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

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Undefined index: down_path
« Reply #5 on: May 18, 2022, 10:06:50 am »
The url looks bad are you clicking a bad link?  ?action=downloads;sa=view;id=7\
Shouldn't end in \
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Shades

  • Full Member
  • ***
  • Posts: 219
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Re: Undefined index: down_path
« Reply #6 on: May 18, 2022, 10:19:09 am »
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!? ???

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
4612 Views
Last post November 04, 2008, 08:33:05 pm
by SMFHacks
0 Replies
3954 Views
Last post March 27, 2009, 02:52:42 pm
by dry3210
8 Replies
13327 Views
Last post December 04, 2012, 08:45:52 pm
by SMFHacks
3 Replies
4078 Views
Last post March 13, 2015, 09:13:34 pm
by w5hro
1 Replies
3796 Views
Last post September 03, 2015, 12:03:16 pm
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal