Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4214
Latest: thatsjustit
New This Month: 5
New This Week: 3
New Today: 1
Stats
Total Posts: 42791
Total Topics: 7455
Most Online Today: 60
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 74
Total: 74

Author Topic: Errors adding images to categories  (Read 381 times)

0 Members and 1 Guest are viewing this topic.

Offline Shades

  • Full Member
  • ***
  • Posts: 219
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Errors adding images to categories
« on: March 21, 2022, 08:14:29 pm »
SMF 2.1.1
SMF Gallery Pro   9.0.1b

When adding icons to categories in admin I'm getting these errors:

Quote
Error
Type of error
Undefined_vars
Error message
8: Undefined index: id_topic
File
/home2/*****/public_html/*****/Sources/Gallery2.php
Line
1135
URL of page causing the error
https://*****.com/?action=gallery;sa=editcat2

Backtrace information
#0: smf_error_handler()
Called from /home2/*****/public_html/*****/Sources/Gallery2.php on line 1135
#1: EditCategory2()
Called from /home2/*****/public_html/*****/Sources/Gallery2.php on line 301
#2: GalleryMain()
Called from /home2/*****/public_html/*****/index.php on line 187

Quote
Error
Type of error
Undefined_vars
Error message
8: Undefined index: displaymode
File
/home2/*****/public_html/*****/Sources/Gallery2.php
Line
1142
URL of page causing the error
https://*****.com/?action=gallery;sa=editcat2

Backtrace information
#0: smf_error_handler()
Called from /home2/*****/public_html/*****/Sources/Gallery2.php on line 1142
#1: EditCategory2()
Called from /home2/*****/public_html/*****/Sources/Gallery2.php on line 301
#2: GalleryMain()
Called from /home2/*****/public_html/*****/index.php on line 187

It adds the image but these errors pop up in admin!

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

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

Offline Shades

  • Full Member
  • ***
  • Posts: 219
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Re: Errors adding images to categories
« Reply #1 on: March 21, 2022, 08:17:59 pm »
Actually this only happens for the User Gallery category!

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

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

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16233
    • View Profile
Re: Errors adding images to categories
« Reply #2 on: March 25, 2022, 10:25:18 pm »
Check if this file copied to sources folder works.
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: Errors adding images to categories
« Reply #3 on: March 25, 2022, 11:33:04 pm »
I believe that fixed it thank you! 8)

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
5 Replies
4072 Views
Last post October 14, 2007, 09:57:31 am
by SMFHacks
2 Replies
5986 Views
Last post October 24, 2008, 10:00:32 pm
by Bar Nuthin
3 Replies
2652 Views
Last post May 09, 2012, 04:48:50 am
by shaka
4 Replies
3983 Views
Last post September 01, 2013, 11:03:32 pm
by Nicole
2 Replies
3047 Views
Last post September 13, 2014, 06:56:02 pm
by shuban

+- Recent Topics

prettyurls - TroubleShooting.wiki by thatsjustit
March 24, 2023, 07:56:39 pm

Download Gallery Option by SMFHacks
March 23, 2023, 09:34:02 am

Lost attachments by pete
March 22, 2023, 10:24:17 am

Additional Permissions by mickjav
March 18, 2023, 05:21:23 am

[Mod]Discord Web Hooks by SMFHacks
March 17, 2023, 08:48:30 am

Site upgrade to 2.1 by SMFHacks
March 12, 2023, 08:51:19 am

Theme/CSS design wanted by mickjav
March 11, 2023, 12:10:11 pm

Category Images by Anmer
March 10, 2023, 06:20:04 am

DownloadsPro - Topic Link by Anmer
March 08, 2023, 03:18:05 pm

Bulk File Import by SMFHacks
March 08, 2023, 07:56:23 am

Powered by EzPortal