SMFHacks.com

SMF Gallery Pro => Support => Topic started by: cakper on December 03, 2007, 01:41:16 pm

Title: Gallery errors in Errors Reporting in Admin panel
Post by: cakper on December 03, 2007, 01:41:16 pm
Hi,
In my errors report in admin panel i found 2 errors generated by smf gallery pro:

First:
Quote
http://www.gimpuj.info/index.php?action=gallery&sa=add2

8: Undefined index: userid
File: /***/**/***/*****/httpdocs/Sources/Gallery.php
Line: 1235

And second:
Quote
http://www.gimpuj.info/index.php?action=gallery&sa=add2

8: Undefined index: cat
File: /***/**/***/*****/httpdocs/Sources/Gallery.php
Line: 1234

Have You any solution for this bug?
Title: Re: Gallery errors in Errors Reporting in Admin panel
Post by: SMFHacks on December 03, 2007, 08:22:04 pm
Is this happening all the time or once in a while?
Title: Re: Gallery errors in Errors Reporting in Admin panel
Post by: cakper on December 04, 2007, 02:47:02 am
Hm it's a little problem because I switched on Error reporting yesterday, but now I have a fifteen reported error similar to earlier:

Quote
Undefined index: keywords
Undefined index: description
Undefined index: title
Undefined index: cat
Undefined index: userid

Thats all of errors, but despite these errors I can add images to gallery without any problems.
Title: Re: Gallery errors in Errors Reporting in Admin panel
Post by: SMFHacks on December 04, 2007, 09:22:00 pm
First time I seen those popup I will take a look at them if you could also post the full error message for each of them that will help.
Title: Re: Gallery errors in Errors Reporting in Admin panel
Post by: SMFHacks on December 04, 2007, 09:27:54 pm
Got this via a PM I also going to check these out

8: Undefined index: usergallery_name
File: /users/Themes/default/Gallery.template.php (eval?)
Line: 347
   
/index.php?action=gallery
8: Undefined index: gallery_user_settings
File: /users/Themes/default/Gallery.template.php (eval?)
Line: 347

here is line 347

         <td>', ($context['gallery_user_settings']['title'] == '' ? $context['usergallery_name'] : $context['gallery_user_settings']['title']), '</td>