Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 236
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 232
Total: 232

Author Topic: Errors Filling up Forum Log  (Read 10516 times)

0 Members and 1 Guest are viewing this topic.

Offline jchopick

  • Member
  • *
  • Posts: 17
    • View Profile
Errors Filling up Forum Log
« on: October 17, 2006, 07:55:46 pm »
I keep getting these two errors. I am running a custom theme and gallery 1.64

8: Undefined index: can_moderate_forum
File: /home/clong/public_html/forum/Themes/default/languages/Gallery.english.php (eval?)
Line: 732

8: Undefined index: can_moderate_forum
File: /home/clong/public_html/forum/Themes/default/languages/Gallery.english.php (eval?)
Line: 124

Jeff

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Errors Filling up Forum Log
« Reply #1 on: October 17, 2006, 08:14:19 pm »
Try running this sql query
REPLACE INTO smf_settings
   (variable, value)
VALUES ('disableTemplateEval', '1');

And see what file it is in.
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 jchopick

  • Member
  • *
  • Posts: 17
    • View Profile
Re: Errors Filling up Forum Log
« Reply #2 on: October 17, 2006, 08:19:30 pm »
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_meta_style.inc.php:27) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/common.lib.php on line 1154

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Errors Filling up Forum Log
« Reply #3 on: October 17, 2006, 08:24:08 pm »
Are you getting that on your SMF board? Or just accessing phpMyAdmin
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 jchopick

  • Member
  • *
  • Posts: 17
    • View Profile
Re: Errors Filling up Forum Log
« Reply #4 on: October 17, 2006, 08:25:31 pm »
I ran the sql query in phpMyAdmin on the database for the forum.

Jeff

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Errors Filling up Forum Log
« Reply #5 on: October 17, 2006, 08:31:33 pm »
Now you need to check the error log on the gallery for new entries and see the correct file location.
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 jchopick

  • Member
  • *
  • Posts: 17
    • View Profile
Re: Errors Filling up Forum Log
« Reply #6 on: October 17, 2006, 08:38:18 pm »
The error log shows these errors

8: Undefined index: can_moderate_forum
File: /home/clong/public_html/forum/Themes/default/Gallery.template.php
Line: 124

8: Undefined index: can_moderate_forum
File: /home/clong/public_html/forum/Themes/default/Gallery.template.php
Line: 732

Jeff

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Errors Filling up Forum Log
« Reply #7 on: October 17, 2006, 09:10:42 pm »
Try the file attached to this post
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 jchopick

  • Member
  • *
  • Posts: 17
    • View Profile
Re: Errors Filling up Forum Log
« Reply #8 on: October 17, 2006, 10:08:39 pm »
So far that worked I will keep you posted. Thanks so much!!!


Jeff

Offline jchopick

  • Member
  • *
  • Posts: 17
    • View Profile
Re: Errors Filling up Forum Log
« Reply #9 on: October 18, 2006, 07:17:18 am »
SMFHACKS,

 This Morning I check the error logs and now I had and error in the index.template.php for the theme I was using. I was the code for the menu button. I had the simplify it to get it to stop showing up in the error log. Below is what I have changed it to and what it was. I unfortnately erased the error it was giving me but It involved the [smfgallery_menu]

Original:

// the [SMF Gallery] button
   if ($context['allow_smfgallery_view'])
      echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'gallery' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu']  , '</a>
            </td>' , $current_action == 'gallery' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

Modified:

// the [SMF Gallery] button
   if ($context['allow_smfgallery_view'])
      echo'
            <td align="center" class="menubg' , $current_action == 'gallery' ? '2' : '' , '">
               <a href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu']  , '</a>
            </td>';

I will keep watching the log file for any other issues.


Jeff

Offline jchopick

  • Member
  • *
  • Posts: 17
    • View Profile
Re: Errors Filling up Forum Log
« Reply #10 on: October 18, 2006, 11:13:35 am »
I am also getting this error.

8: Undefined index: gallery_commentchoice
File: /home/clong/public_html/forum/Sources/Gallery.php
Line: 1171

Something just seems to be messed up with the whole install but I have removed it and installed again without customizing it and I am still getting the errors under the default theme as well.

Jeff

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Errors Filling up Forum Log
« Reply #11 on: October 18, 2006, 11:18:31 am »
It is not really major errors or anything that will cause a problem. Those if I remember were from fields that had a checkbox that was not set.
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 jchopick

  • Member
  • *
  • Posts: 17
    • View Profile
Re: Errors Filling up Forum Log
« Reply #12 on: October 18, 2006, 11:37:00 am »
SMFHacks,

I turned on the check to allow user to show comments or not and error stopped for the moment.


Jeff

 

Related Topics

  Subject / Started by Replies Last post
11 Replies
15088 Views
Last post September 27, 2006, 10:17:25 pm
by SMFHacks
1 Replies
4112 Views
Last post November 26, 2007, 08:39:34 pm
by SMFHacks
0 Replies
3035 Views
Last post March 17, 2008, 12:58:47 am
by deepusurana
0 Replies
3814 Views
Last post June 13, 2008, 12:10:08 pm
by v3rax
2 Replies
4401 Views
Last post December 21, 2008, 11:40:53 am
by weightman

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

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

Powered by EzPortal