Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 23, 2013, 09:38:47 am

Login with username, password and session length
Members
Total Members: 10768
Latest: tuberose
Stats
Total Posts: 32388
Total Topics: 5479
Online Today: 69
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 35
Total: 36
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Error when leaving comment  (Read 3019 times)
Long Time Dead™
Inline PM Customer
*****
Offline Offline

Posts: 6



View Profile
« on: November 12, 2006, 01:54:11 am »

Hi,

I'm getting the following in my error log every time someone comments on a picture.

I'm sure there is a simple solution to this, I'm just not clever enough to find it!  Wink

Any help would be appreciated.

Code:
http://www.????????.com/forum/index.php?action=gallery&sa=comment2
Apply Filter: Only show the errors with the same message
8: Undefined index: ID_CAT
File: /home/?????/public_html/forum/Sources/Gallery.php
Line: 1563

Thanks
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11000


View Profile
« Reply #1 on: November 12, 2006, 08:17:12 am »

You can re download the Gallery.template.php I made a change to the function for adding a comment if you want the exact code that was changed let me know.
Logged
Long Time Dead™
Inline PM Customer
*****
Offline Offline

Posts: 6



View Profile
« Reply #2 on: November 12, 2006, 08:59:18 am »

You can re download the Gallery.template.php I made a change to the function for adding a comment if you want the exact code that was changed let me know.

Hi

Thanks for the prompt reply.

I've just re-downloaded Gallery.template.php and it doesn't appear to have cured the problem.

Could you please let me have the exact code.

Many thanks.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11000


View Profile
« Reply #3 on: November 12, 2006, 09:25:53 am »

Oops I meant Gallery.php as well.
Logged
Long Time Dead™
Inline PM Customer
*****
Offline Offline

Posts: 6



View Profile
« Reply #4 on: November 12, 2006, 10:26:21 am »

Oops I meant Gallery.php as well.

LOL, That fixed it, thanks!  Wink
Logged
Long Time Dead™
Inline PM Customer
*****
Offline Offline

Posts: 6



View Profile
« Reply #5 on: November 13, 2006, 11:28:47 am »

Oops I meant Gallery.php as well.

LOL, That fixed it, thanks!  Wink

It's not much of a problem to me, but,  a similar error is now generated when a comment is deleted!

Just thought you should be aware.

Cheers
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 04:50:21 am]

[May 22, 2013, 10:03:30 pm]

[May 22, 2013, 03:00:09 pm]

[May 22, 2013, 03:03:31 am]

[May 21, 2013, 03:27:16 pm]

[May 21, 2013, 02:11:10 pm]

[May 21, 2013, 01:18:58 pm]

[May 21, 2013, 12:22:02 am]

[May 21, 2013, 12:20:41 am]

[May 19, 2013, 11:13:02 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.132 seconds with 21 queries.