Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12387
Latest: Altha
New This Month: 11
New This Week: 3
New Today: 0
Stats
Total Posts: 39888
Total Topics: 7022
Most Online Today: 78
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 60
Total: 60

Author Topic: Undefined index: gallery_cat_cusfields  (Read 2052 times)

0 Members and 1 Guest are viewing this topic.

Offline Michel68

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 139
    • View Profile
Undefined index: gallery_cat_cusfields
« on: March 18, 2016, 03:57:01 am »
index.php?action=gallery;sa=search
8: Undefined index: gallery_cat_cusfields
Datei: /homepages/Themes/default/Gallery2.template.php
Line: 3874

My log ist full with these errors


Line: 3874
Code: [Select]
if (count($context['gallery_cat_cusfields']) > 0)
{
echo '  <tr class="windowbg2">
  <td align="right"><b>',$txt['gallery_custom_fields'], '</b></td>';
  echo '<td><select name="customfields[]" multiple="multiple">
  <option value="0">' . $txt['gallery_text_catnone'] . '</option>
  ';
 
  foreach($context['gallery_cat_cusfields'] as $custom)
  {
  echo '<option value="' . $custom['ID_CUSTOM'] . '">' . $custom['title'] . '</option>';
  }
 
 
  echo '

and

index.php?action=gallery;sa=search2
8: Undefined index: customfields
Datei: /homepages/Sources/Gallery2.php
Line: 5345

Code: [Select]

$customfields = $_REQUEST['customfields'];

$context['search_cusfields_data'] = array();

if (!empty($customfields))
« Last Edit: March 18, 2016, 04:01:30 am by Michel68 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14953
    • View Profile
Re: Undefined index: gallery_cat_cusfields
« Reply #1 on: March 18, 2016, 08:34:19 am »
Updated for fix
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/

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
4297 Views
Last post October 10, 2006, 08:03:25 pm
by SMFHacks
2 Replies
4412 Views
Last post January 16, 2007, 08:34:00 pm
by DawnsWebDesigns
0 Replies
2691 Views
Last post March 27, 2009, 02:52:42 pm
by dry3210
8 Replies
9886 Views
Last post December 04, 2012, 08:45:52 pm
by SMFHacks
1 Replies
2111 Views
Last post September 03, 2015, 12:03:16 pm
by SMFHacks

+- Recent Topics

prettyurls - TroubleShooting.wiki by Rock Lee
October 10, 2019, 11:37:09 am

Some issues with adding and editing a listing by ajac63
October 07, 2019, 04:16:40 am

Problem update 1.1.21 to 2.0.15 by Rock Lee
October 06, 2019, 06:09:16 pm

[Mod]SMF 2.0.x PHP 7.2 Support by sah62
October 04, 2019, 01:46:00 pm

Ideas by shuban
October 03, 2019, 10:19:06 pm

How to space icons and multiple reacts? by shadav
October 03, 2019, 04:20:07 pm

PrettyUrls SEO Pro by Rock Lee
October 01, 2019, 09:09:38 am

How to get search preciser by SMFHacks
September 23, 2019, 10:09:56 am

How to AVOID SEO Hit when Implementing PrettyURLs by SMFHacks
September 12, 2019, 08:50:42 pm

theme by SMFHacks
September 12, 2019, 07:10:51 am

Powered by EzPortal