Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11834
Latest: Volker S
New This Month: 1
New This Week: 1
New Today: 0
Stats
Total Posts: 42319
Total Topics: 7381
Most Online Today: 219
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 36
Total: 37

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

0 Members and 1 Guest are viewing this topic.

Offline Shades

  • Community Suite Customer
  • Full Member
  • ******
  • Posts: 185
  • 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: 16045
    • 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

  • Community Suite Customer
  • Full Member
  • ******
  • Posts: 185
  • 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: 16045
    • 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

  • Community Suite Customer
  • Full Member
  • ******
  • Posts: 185
  • 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: 16045
    • 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

  • Community Suite Customer
  • Full Member
  • ******
  • Posts: 185
  • 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
3885 Views
Last post November 04, 2008, 08:33:05 pm
by SMFHacks
0 Replies
3024 Views
Last post March 27, 2009, 02:52:42 pm
by dry3210
8 Replies
11620 Views
Last post December 04, 2012, 08:45:52 pm
by SMFHacks
3 Replies
3530 Views
Last post March 13, 2015, 09:13:34 pm
by w5hro
1 Replies
2932 Views
Last post September 03, 2015, 12:03:16 pm
by SMFHacks

+- Recent Topics

Profile Gallery Link by Hatshepsut
July 04, 2022, 11:00:01 pm

Trying to access array offset on value of type null by SMFHacks
July 04, 2022, 08:14:20 pm

Pictures appearing in post by SMFHacks
July 04, 2022, 12:56:40 pm

Error When Uploading Gifs To Subcategories by SMFHacks
July 03, 2022, 05:50:19 pm

SMF forum by davejo
June 27, 2022, 01:16:25 am

Quick-moderation checkboxes by davejo
June 22, 2022, 09:27:24 am

Add option to Main Menu bar by Shades
June 21, 2022, 12:23:00 am

Logo and Category? by SMFHacks
June 12, 2022, 03:43:31 pm

prettyurls - TroubleShooting.wiki by GhostHunting
June 12, 2022, 02:52:57 pm

[Mod]Modification Update Version Checker by SMFHacks
June 06, 2022, 09:25:39 pm

Powered by EzPortal