Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 286
Total: 287

Author Topic: Error when leaving comment  (Read 6172 times)

0 Members and 1 Guest are viewing this topic.

Offline Long Time Dead™

  • Member
  • *
  • Posts: 6
    • View Profile
Error when leaving comment
« 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!  ;)

Any help would be appreciated.

Code: [Select]
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

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Error when leaving comment
« 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.
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 Long Time Dead™

  • Member
  • *
  • Posts: 6
    • View Profile
Re: Error when leaving comment
« 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.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Error when leaving comment
« Reply #3 on: November 12, 2006, 09:25:53 am »
Oops I meant Gallery.php 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/

Offline Long Time Dead™

  • Member
  • *
  • Posts: 6
    • View Profile
Re: Error when leaving comment
« Reply #4 on: November 12, 2006, 10:26:21 am »
Oops I meant Gallery.php as well.

LOL, That fixed it, thanks!  ;)

Offline Long Time Dead™

  • Member
  • *
  • Posts: 6
    • View Profile
Re: Error when leaving comment
« Reply #5 on: November 13, 2006, 11:28:47 am »
Oops I meant Gallery.php as well.

LOL, That fixed it, thanks!  ;)

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

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
4724 Views
Last post November 20, 2006, 03:00:57 pm
by Elkaholic
1 Replies
4980 Views
Last post April 27, 2007, 07:35:53 am
by Renegd98
2 Replies
13570 Views
Last post August 23, 2009, 04:26:19 am
by Vincent Volmer
3 Replies
6345 Views
Last post September 28, 2009, 11:04:42 am
by solster
1 Replies
11044 Views
Last post November 27, 2010, 10:24:24 am
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal