SMFHacks.com
SMFHacks
Community Suite
SMF Gallery Pro
SMF Store
SMF Classifieds
Newsletter Pro
Downloads System Pro
Ad Seller Pro
Hacks and Mods
Latest SMF Hacks
TopTen Hacks
Styles and Themes
Add a Hack
Manage Hacks
Earn Money from Your Forum with these tips
SMF Theme Generator
SMF Package Parser
Free SMF Hosting
HostRocket Webhosting for SMF
Site Showcase
Search Forums
Advanced search
User
Welcome,
Guest
. Please
login
or
register
.
May 23, 2012, 06:45:30 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Stats
Members
Total Members: 10069
Latest:
tetsujrock
Stats
Total Posts: 28682
Total Topics: 4975
Online Today: 94
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 51
Total: 51
SMFHacks.com
Forum
SMF Gallery Lite
SMF Gallery Lite
Errors Filling up Forum Log
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Errors Filling up Forum Log (Read 5209 times)
jchopick
Newbie
Offline
Posts: 17
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
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9676
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.
Logged
jchopick
Newbie
Offline
Posts: 17
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
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9676
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
Logged
jchopick
Newbie
Offline
Posts: 17
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
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9676
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.
Logged
jchopick
Newbie
Offline
Posts: 17
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
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9676
Re: Errors Filling up Forum Log
«
Reply #7 on:
October 17, 2006, 09:10:42 pm »
Try the file attached to this post
GalleryLite1.6.5..zip
(31.31 KB - downloaded 130 times.)
Logged
jchopick
Newbie
Offline
Posts: 17
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
Logged
jchopick
Newbie
Offline
Posts: 17
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 . '"> </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 . '"> </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
Logged
jchopick
Newbie
Offline
Posts: 17
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
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9676
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.
Logged
jchopick
Newbie
Offline
Posts: 17
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
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SMFHacks.com
-----------------------------
=> News
=> Site Discussion
===> Suggestions
===> Bugs
-----------------------------
SMF Gallery Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
SMF Store
-----------------------------
=> Announcements
=> Presales
=> Support
===> Guides and Tips
===> Feature Requests
===> Bugs
-----------------------------
SMF Classifieds
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
Downloads System Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Feature Requests
===> Bugs
-----------------------------
Ad Seller Pro
-----------------------------
=> Presales
=> Support
-----------------------------
Newsletter Pro
-----------------------------
=> Presales
=> Support
===> Feature Requests
-----------------------------
Social Login Pro
-----------------------------
=> Presales
-----------------------------
Badge Awards
-----------------------------
=> Presales
-----------------------------
Tweet Topics/FB Post System
-----------------------------
=> Presales
-----------------------------
SMF Gallery Lite
-----------------------------
=> SMF Gallery Lite
-----------------------------
Modifications/Themes
-----------------------------
=> General SMF Forum
=> Modifications Talk
===> Latest Mods
===> Modification Showcase
=> Theme Talk
===> Theme Showcase
===> Latest Themes
Recent
Store IPN AMOUNT CHANGE
by
ApplianceJunk
[May 21, 2012, 08:54:11 am]
Transferring Db data from...
by
~ Phåråoh ~
[May 20, 2012, 11:06:52 am]
SMF vs PhpBB
by
channgam
[May 20, 2012, 05:58:11 am]
Any news?
by
SMFHacks
[May 19, 2012, 06:16:58 pm]
Social Login Pro domain c...
by
SMFHacks
[May 19, 2012, 05:42:37 pm]
licence information and q...
by
SMFHacks
[May 18, 2012, 03:08:38 pm]
no pictures after upgrade
by
SMFHacks
[May 17, 2012, 06:07:46 pm]
Viewers?
by
ApplianceJunk
[May 17, 2012, 02:22:07 pm]
Incorrect download counts...
by
SMFHacks
[May 17, 2012, 12:38:16 pm]
SMF V2.0.2 compatibility ...
by
~ Phåråoh ~
[May 15, 2012, 09:32:27 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Loading...