Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 270
Total: 270

Author Topic: Undefined index: down_path  (Read 681 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: 16436
    • 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: 16436
    • 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: 16436
    • 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
4607 Views
Last post November 04, 2008, 08:33:05 pm
by SMFHacks
0 Replies
3928 Views
Last post March 27, 2009, 02:52:42 pm
by dry3210
8 Replies
13271 Views
Last post December 04, 2012, 08:45:52 pm
by SMFHacks
3 Replies
4047 Views
Last post March 13, 2015, 09:13:34 pm
by w5hro
1 Replies
3750 Views
Last post September 03, 2015, 12:03:16 pm
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

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

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal