Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11832
Latest: balasahu
New This Month: 7
New This Week: 1
New Today: 0
Stats
Total Posts: 42232
Total Topics: 7369
Most Online Today: 52
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 2
Guests: 48
Total: 50

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

0 Members and 1 Guest are viewing this topic.

Online Shades

  • Community Suite Customer
  • Full Member
  • ******
  • Posts: 180
  • 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: 16005
    • 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/

Online Shades

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

Online Shades

  • Community Suite Customer
  • Full Member
  • ******
  • Posts: 180
  • 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: 16005
    • 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/

Online Shades

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

+- Recent Topics

Anti AdBlock is blocking Version Info by SMFHacks
Today at 12:11:13 pm

Dark background text color help needed by Shades
May 22, 2022, 04:51:25 pm

Database Error During Store Purchase After SMF 2.1 and Store 5.0 Beta Upgrades by Michael Vail
May 20, 2022, 08:58:15 pm

Default License Agreement by SMFHacks
May 18, 2022, 08:18:15 pm

Email Note - Included in order purchase by Shades
May 18, 2022, 02:54:54 pm

[Feature Request] Keywords by Shades
May 18, 2022, 02:20:19 pm

Undefined index: down_path by Shades
May 18, 2022, 10:19:09 am

Delete custom rating and change default icons/change icons back to default? by SMFHacks
May 18, 2022, 10:06:01 am

Thumbnails on topic page not resizing correctly by SMFHacks
May 14, 2022, 10:45:34 pm

Server Issues by PapaFrizArcade
May 12, 2022, 11:50:04 am

Powered by EzPortal