Constant Error on "Error Log"

Started by codeman1234, September 21, 2012, 07:50:42 PM

Previous topic - Next topic

codeman1234

Hello,

I keep getting this error constantly on my "Error log" of my SMF forum:



http://mysite.com/forum/?action=admin;area=logs;sa=errorlog;desc8: Undefined index: minCharArchivo: /home/mysite/public_html/forum/Themes/default/languages/index.english.php (eval?)
Línea: 908
admin
2xx.xx.xx.xx   
Today at 01:45:18 am
7adbe845218b630d92ca6946445e6cba
Tipo de error: Indefinidos
http://mysite.com/forum/?action=admin;area=logs;sa=errorlog;desc8: Undefined index: minWordLenArchivo: /home/mysite/public_html/forum/Themes/default/languages/index.english.php (eval?)
Línea: 907



how can I fix it?

Please help

Regards,

Codeman

TheListener

Which mods are installed on the forum?


codeman1234

#2
Hello Old Fossil,

First of anything thanks for the reply, I got installed SMF 2.0.2 and the mods I got installed and working are the following:

Separate the sticky topics
Fake Online Time | S-Ace
Caps_Lock_Detection_on_Login
eNinja - Custom Pages
Moderator vs. Moderator
Adk System Advertising
MySQLi
Post Ratings
Post History
Advanced News
Remove Index.Php From URL
Tiny URL Mod
Activity Bar
Country Flags
Add Favicon.ico Support
YouTube BBCode
Advanced Recent Posts
Hide Signatures from Guests
Own Logo Links To Domain
Hide Topics from Guests
Menu Editor Lite
Stars to Profile
Karma Buttons
Pretty URLs
Page Number
Member Group Icons
reCAPTCHA for SMF
Reply Button in All Posts
Admin Ban Button in Post
Login Logger
Adk Back To Top
Previous and Next Links for Page Index
Guest Registration Notification
Login Security
Google Translator Flags
ResizeImagesToFitScreen
H1 Tags in link tree
vBulletin Style Meta Tags
Removes the User Stars from the default template
Hide SMF Version
Hide Images from Guests
GoogAd Mod v.1.4
Membergroup Prefixes
Medal Honor For Years
View PM or Subject List
Google +1 Topics
Member Awards
Copyright and Footer Links
Add Facebook Like to Posts
SimplePortal
Redirect on Login and/or Logout mod
Quick Ban on Account Delete
Custom Greeting Mod
Users mass actions
AutoAward
AvatarSelect
Tagging System
default signature - firma por defecto
To Buddies
SMFPacks: SEO Lite Mod
Member Notepad
Blue Smiley
Smart Pagination
Global Message Box By Smfsimple.com
Hide ip stuff for users
New Topic Button
Annoy User
Delete Old Attachments
Top Karma On Stats
Nickname to Reply
PM Notification Bar
Highlight Search Keywords
Post_Board_Select
Mark PM Unread
Contact Page
Ad Managment
More Spiders
SEO Sitemap
Profile Starsigns
Profile Comments
Tidy Child Boards
Most Popular Topic Today
Bookmarks
Membergroup ID with Group Name
Avatar Online Offline
Simple .htaccess Proxy Blocker Mod
Referrals System
Award Mod
Add Join Date to Post
Advanced Contact Form
Seo image tag[
Spoiler Tag
Ban Link in Post
PM to New Members
Hide Avatars from Guests
SMF Links
Advanced Reputation System
Minimun Characters or Words Mod
Enhanced PM Popup
Users Online Today
Profile Moderator Management
Ultimate Profile
AJAX Recent Topics
Hide the content of [code] tags from guests
rror Log Counter
Smiiliis
Registered Links
Adk Personal Icon forums
Latest Member(s)
Global Headers Footers
SMF Staff Page
Previous and Next Topic Enhancement
Remove Help From Menu
Last Post On MemberList
Activity in Profile
Attention Locked Topic
Resize Attached Images
Delete Spam Posts
Hide Info Center From Guests


Pleaselet me know if you need any more information, because I get those 2 errors every 10 secons on my log since I posted about it I got more than 27582 errors on the log repeating and it is categorize as "undefined error"

Regards + Thanks,

Codeman

PD: Can I ask you something else I would like to know which is the mod I need to turn off for when a Guest comes wants to see a post is not redirected to the login page, let me know if you see it because it is also driving me crazy.

Kays

Hi, can you go into the Admin CP >> Configuration >> Server Settings >> General and check "Disable evaluation of templates". Clear the error log and then post the error. Also please attach the file mentioned in the error. It might of changed from the original error you posted.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

codeman1234

Hello Kays,

I just did what you asked and its amazing because after activating the option you mention and erasing every log like 1 min later I got like 1500 errors, and they keep coming up

Here I am putting you all the errors I found on the main page of the logs:

admin
   
Today at 04:39:30 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=admin;area=logs;sa=errorlog;desc;ac94fbbd2=7adbe845218b630d92ca6946445e6cba8: Undefined index: minChar
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 898

admin

Today at 04:39:30 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=admin;area=logs;sa=errorlog;desc;ac94fbbd2=7adbe845218b630d92ca6946445e6cba8: Undefined index: minWordLen
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 897

admin

Today at 04:39:29 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: greeting
File: /home/mysite/public_html/forum/Themes/superblue/index.template.php
Líne: 209

admin

Today at 04:39:29 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: allow_banlist
File: /home/mysite/public_html/foru,/Sources/Subs.php
Líne: 4420

admin
   
Today at 04:39:29 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: banlist_menu
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 4418

admin

Today at 04:39:29 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: minChar
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 898

admin

Today at 04:39:29 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: minWordLen
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 897

Guest

Today at 04:39:26 am
eea27e0f8e27041c452c06b8ea941585
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: allow_banlist
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 4420

Guest

Today at 04:39:26 am
eea27e0f8e27041c452c06b8ea941585
Tipo de error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: banlist_menu
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 4418

Guest
Today at 04:39:26 am
eea27e0f8e27041c452c06b8ea941585
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: minChar
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 898

Guest
Today at 04:39:26 am
eea27e0f8e27041c452c06b8ea941585
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: minWordLen
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 897

admin

Today at 04:39:25 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: greeting
File: /home/mysite/public_html/forum/Themes/superblue/index.template.php
Líne: 209

admin

Today at 04:39:25 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: allow_banlist
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 4420

admin

Today at 04:39:25 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: banlist_menu
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 4418

admin

Today at 04:39:25 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: minChar
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 898

Guest

Today at 04:47:42 am
55ccfe0c530103bc74c0d378054f2fd3
Type of error: Critical
http://mysite.com/forum/?action=sitemap;b=20The database value you're trying to insert does not exist: end
Function: seo_sitemap_board
File: /home/mysite/public_html/forum/Sources/Subs-Seo.php
Líne: 149

Guest
Today at 04:47:42 am
55ccfe0c530103bc74c0d378054f2fd3
Type of error: General
http://mysite.com/forum/?action=sitemap;b=202: Division by zero
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 733

Guest
Today at 04:47:42 am
55ccfe0c530103bc74c0d378054f2fd3
Type of error: General
http://mysite.com/forum/?action=sitemap;b=202: Division by zero
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 719

Guest
Today at 04:47:42 am
55ccfe0c530103bc74c0d378054f2fd3
Type of error: General
http://mysite.com/forum/?action=sitemap;b=202: Division by zero
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 714

Guest   
Today at 04:47:42 am
55ccfe0c530103bc74c0d378054f2fd3
Type of error: General
http://mysite.com/forum/?action=sitemap;b=202: Division by zero
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 709

Guest
Today at 04:47:42 am
55ccfe0c530103bc74c0d378054f2fd3
Type of error: General
http://mysite.com/forum/?action=sitemap;b=202: Division by zero
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 704

Guest
Today at 04:47:42 am
55ccfe0c530103bc74c0d378054f2fd3
Type of error: General
http://mysite.com/forum/?action=sitemap;b=202: Division by zero
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 682

Guest
Today at 04:47:42 am
55ccfe0c530103bc74c0d378054f2fd3
Type of error: General
http://mysite.com/forum/?action=sitemap;b=202: Division by zero
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 642


and I am attaching every file mention on the log errors, it would be awesome if we can fix all this errors so, my forum is error free if possible.

Let me know if you need anything else,

Regards + Thanks,

Codeman

codeman1234

Hello Kays,

I just did what you asked and its amazing because after activating the option you mention and erasing every log like 1 min later I got like 1500 errors, and they keep coming up

Here I am putting you all the errors I found on the main page of the logs:

admin
   
Today at 04:39:30 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=admin;area=logs;sa=errorlog;desc;ac94fbbd2=7adbe845218b630d92ca6946445e6cba8: Undefined index: minChar
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 898

admin

Today at 04:39:30 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=admin;area=logs;sa=errorlog;desc;ac94fbbd2=7adbe845218b630d92ca6946445e6cba8: Undefined index: minWordLen
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 897

admin

Today at 04:39:29 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: greeting
File: /home/mysite/public_html/forum/Themes/superblue/index.template.php
Líne: 209

admin

Today at 04:39:29 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: allow_banlist
File: /home/mysite/public_html/foru,/Sources/Subs.php
Líne: 4420

admin
   
Today at 04:39:29 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: banlist_menu
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 4418

admin

Today at 04:39:29 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: minChar
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 898

admin

Today at 04:39:29 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: minWordLen
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 897

Guest

Today at 04:39:26 am
eea27e0f8e27041c452c06b8ea941585
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: allow_banlist
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 4420

Guest

Today at 04:39:26 am
eea27e0f8e27041c452c06b8ea941585
Tipo de error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: banlist_menu
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 4418

Guest
Today at 04:39:26 am
eea27e0f8e27041c452c06b8ea941585
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: minChar
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 898

Guest
Today at 04:39:26 am
eea27e0f8e27041c452c06b8ea941585
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: minWordLen
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 897

admin

Today at 04:39:25 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: greeting
File: /home/mysite/public_html/forum/Themes/superblue/index.template.php
Líne: 209

admin

Today at 04:39:25 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: allow_banlist
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 4420

admin

Today at 04:39:25 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: banlist_menu
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 4418

admin

Today at 04:39:25 am
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: minChar
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 898

Guest

Today at 04:47:42 am
55ccfe0c530103bc74c0d378054f2fd3
Type of error: Critical
http://mysite.com/forum/?action=sitemap;b=20The database value you're trying to insert does not exist: end
Function: seo_sitemap_board
File: /home/mysite/public_html/forum/Sources/Subs-Seo.php
Líne: 149

Guest
Today at 04:47:42 am
55ccfe0c530103bc74c0d378054f2fd3
Type of error: General
http://mysite.com/forum/?action=sitemap;b=202: Division by zero
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 733

Guest
Today at 04:47:42 am
55ccfe0c530103bc74c0d378054f2fd3
Type of error: General
http://mysite.com/forum/?action=sitemap;b=202: Division by zero
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 719

Guest
Today at 04:47:42 am
55ccfe0c530103bc74c0d378054f2fd3
Type of error: General
http://mysite.com/forum/?action=sitemap;b=202: Division by zero
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 714

Guest   
Today at 04:47:42 am
55ccfe0c530103bc74c0d378054f2fd3
Type of error: General
http://mysite.com/forum/?action=sitemap;b=202: Division by zero
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 709

Guest
Today at 04:47:42 am
55ccfe0c530103bc74c0d378054f2fd3
Type of error: General
http://mysite.com/forum/?action=sitemap;b=202: Division by zero
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 704

Guest
Today at 04:47:42 am
55ccfe0c530103bc74c0d378054f2fd3
Type of error: General
http://mysite.com/forum/?action=sitemap;b=202: Division by zero
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 682

Guest
Today at 04:47:42 am
55ccfe0c530103bc74c0d378054f2fd3
Type of error: General
http://mysite.com/forum/?action=sitemap;b=202: Division by zero
File: /home/mysite/public_html/forum/Sources/Subs.php
Líne: 642


and I am attaching every file mention on the log errors, it would be awesome if we can fix all this errors so, my forum is error free if possible.

Let me know if you need anything else,

Regards + Thanks,

Codeman

Kays

Most of those errors look like they're caused by the eNotify mod. I don't see it in that long mod list do you have it installed? Or did you have it installed at one time and then uninstalled it.

The last errors are from the sitemap mod. For that I would suggest you post in the support thread for  that mod.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

codeman1234

Hello Kays,

Yes I had that mod installed but, I uninstalled because it was giving me other errors before. How can I fix that?

About the sitemap one, I will try to uninstalled it.

Cheers!

Kays

It looks like all the code didn't get removed properly during the uninstall. What you need to do is to go to the mod page and parse it and then look for the changes made in the code for each file and undo it.

The first two errors are in modifications.english.php. Once that code is removed, it might cause other errors in other files. The undefined index "greeting" error in index.template.php is because $context['greeting'] isn't set. So I think that might not cause errors if removed. But, take it one error at a time.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

codeman1234

Hey Kays,

let me see if I understand you.


1) The first 2 errors in modifications.english.php I have to remove extra code that did not got remove in this case the greetings mod:

I made a search on the file looking for greetings and i got the following:

// Start Custom Greeting Mod by Nas
$txt['up_late_arent_we'] = 'Up Late Aren\'t We';
$txt['are_you_the_early_bird'] = 'Are you the early bird';
$txt['good_morning'] = 'Good Morning';
$txt['good_afternoon'] = 'Good Afternoon';
$txt['good_evening'] = 'Good Evening';
$txt['shouldnt_you_be_going_to_bed_soon'] = 'Shouldn\'t You Be Going To Bed Soon';
$txt['cgdt_message1'] = 'CGDT Message 1 <div class="smalltext">Displayed at 12:00am to 5:59am</div>';
$txt['cgdt_message2'] = 'CGDT Message 2 <div class="smalltext">Displayed at 6:00am to 6:59am</div>';
$txt['cgdt_message3'] = 'CGDT Message 3 <div class="smalltext">Displayed at 7:00 to 11:59am</div>';
$txt['cgdt_message4'] = 'CGDT Message 4 <div class="smalltext">Displayed at 12:00pm to 5:59pm</div>';
$txt['cgdt_message5'] = 'CGDT Message 5 <div class="smalltext">Displayed at 6:00pm to 9:59pm</div>';
$txt['cgdt_message6'] = 'CGDT Message 6 <div class="smalltext">Displayed at 10:00pm to 11:59pm</div>';
$txt['cgdt_enable'] = 'Enable custom greetings <div class="smalltext">This will show different greetings in the forum header depending on the time of the day. <br /> Messages are set below.</div>';
// End Custom Greeting by Nas

$txt['admin_change_primary_membergroup'] = 'Change primary member group';
$txt['admin_change_secondary_membergroup'] = 'Change/add additional member group';
$txt['confirm_remove_membergroup'] = 'Selecting this all the membergroups will be removed! Are you sure?';
$txt['confirm_change_primary_membergroup'] = 'Are you sure you want to change the primary group of the selected members?';
$txt['confirm_change_secondary_membergroup'] = 'Are you sure you want to change the additional group of the selected members?';
$txt['admin_ban_usernames'] = 'Ban by usernames';
$txt['admin_ban_useremails'] = 'Ban by email addresses';
$txt['admin_ban_userips'] = 'Ban by IPs';
$txt['admin_ban_usernames_and_emails'] = 'Ban by usernames and email addresses';
$txt['users_mass_action_ban_name'] = 'Name of the ban list to be used for mass ban actions';


Is that what i have to remove?


2) So, basically I need to go to the enotify mod page and look all the changes that it makes in every file and erase those changes editing those files, right?

Cheers + Regards,

Codeman

Kays

Don't go removing that code. That's from the Greetings mod which is in that list of mods you posted. In fact ignore the Greetings error for now.

If you go to the mod page for eNotify. On the right is an option to "parse". Select your version SMF and click on that button. On that page you will see a list of files and the changes made to each. Check that each of the changes made by the mod has been undone in each file.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

codeman1234

Hello Kays,

I did what you mention and went to the "parse" option and on every page that the mod "enotify" makes a change and I erase every line of code mention on the parse of the mod that makes the change in every file mentioned.

Now when I go to my log for the errors I still get the same error as you can see down here:

Guest
125.XXX.XXX.XXX   
Today at 06:58:31 pm
eea27e0f8e27041c452c06b8ea941585
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: minChar
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 877

Guest
229.XXX.XXX.XXX   
Today at 06:58:31 pm
eea27e0f8e27041c452c06b8ea941585
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: minWordLen
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 876

admin
122.XXX.XXX.XXX   
Today at 06:58:29 pm
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: greeting
File: /home/mysite/public_html/forum/Themes/superblue/index.template.php
Líne: 209

admin
122.XXX.XXX.XXX   
Today at 06:58:29 pm
7adbe845218b630d92ca6946445e6cba
Type of error: Undefined
http://mysite.com/forum/?action=enotify8: Undefined index: minChar
File: /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php
Líne: 877



What I am missing? And what are this greeting, minChar and minWordLen errors?

Thanks + Regards,

Codeman


Kays

Those language strings giving that error might be from another mod. Try commenting out those two lines (876 & 877) in Modifications.english.php and see if the error either disappears, or changes to another file.

I also don't think that you have removed all of the code for the eNotify mod since the action in the url is still "enotify" ???

Quote
http://mysite.com/forum/?action=enotify 8: Undefined index: minChar


If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

MrPhil

Quote from: codeman1234 on September 21, 2012, 11:23:42 PM
I just did what you asked and its amazing because after activating the option you mention and erasing every log like 1 min later I got like 1500 errors, and they keep coming up

There's nothing amazing about it. It wasn't supposed to fix the error. He just had you turn of "eval" of template so that the true error location is now showing. Notice that the "eval" message is gone from the error messages. Yes, he should have told you why he was having you do that...

codeman1234

Quote from: Kays on September 22, 2012, 01:28:03 PM
Those language strings giving that error might be from another mod. Try commenting out those two lines (876 & 877) in Modifications.english.php and see if the error either disappears, or changes to another file.

I also don't think that you have removed all of the code for the eNotify mod since the action in the url is still "enotify" ???

Quote
http://mysite.com/forum/?action=enotify 8: Undefined index: minChar

I just comment lines 876 and 877 and I get same error but, in this lines 851 and 852 but, the good thing is that it makes a lot of more sense since in those lines is the following code:

$txt['error_minWordLen'] = 'The message does not meet the minimum word requirements (' . $modSettings['minWordLen'] . ' words).';
$txt['error_minChar'] = 'The message does not meet the minimum character requirements (' . $modSettings['minChar'] . ' characters).';




just in case I put you also the code of lines 876 and 877 that is the following:

//$txt['login_or_register'] = 'Please click here to <a target="_blank" href="' . $scripturl . '?action=register"">Register</a> or <a target="_blank" href="' . $scripturl . '?action=login">Login</a>.';

About the enotify URL, I am going to check the pretty urls mod, to see if that url is save there or something.

What I am missing?

Cheers!

Kays

The errors on those lines is from a mod which was never enabled. So the $modSettings values aren't yet defined. The question is which mod? But if there's no other errors, leave it as is.

Yes, try disabling the pretty urls mod. It also could be the problem with the site map mod.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

codeman1234

Hello Kays,

it seems that I solve the issue let me tell you how I did it so, you can confirm me that there is no issue with it:

1) For the error of the minWordLen and minChar
Solution: on the file /home/mysite/public_html/forum/Themes/default/languages/Modifications.english.php I just comment the 4 lines mentioned before

Line 876 and 877
$txt['login_or_register'] = 'Please click here to <a target="_blank" href="' . $scripturl . '?action=register"">Register</a> or <a target="_blank" href="' . $scripturl . '?action=login">Login</a>.';

Line 851 and 852
$txt['error_minWordLen'] = 'The message does not meet the minimum word requirements (' . $modSettings['minWordLen'] . ' words).';
$txt['error_minChar'] = 'The message does not meet the minimum character requirements (' . $modSettings['minChar'] . ' characters).';


2) For the error with the enotify URL and greetings:

I erase the line of code number 209 from /home/mysite/public_html/forum/Themes/superblue/index.template.php that is the following code:

<li class="greeting">', //$context['greeting'], '</span></li>';


Please confirm me if that is not going to give me any consecuencies on the future, if so, let me know if i have to unistall any other mod to avoid it.

Thanks a lot Kays, especially to have so much patience with me, since I am new to this community and this awesome software that is SMF.

Thanks everyone for the help

Please confirm it, so I can close the thread if I did it right!  ;D ;D

Kays

For the line numbers I was going by the error message. But below are the line to coment out.


$txt['error_minWordLen'] = 'The message does not meet the minimum word requirements (' . $modSettings['minWordLen'] . ' words).';
$txt['error_minChar'] = 'The message does not meet the minimum character requirements (' . $modSettings['minChar'] . ' characters).';


Don't do that for the "greeting" error. That will cause other errors.

Do you have that mod installed? It is on the list. If so find the settings for it and enable it.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

codeman1234

What about for the other error it is fine what I did right?

About the custom greeting mod, I just uninstalled and parse every file to make sure its been uninstalled succesfully so, it does not cause me any errors on the future and I really don' t even use that mod.

But, there is something weird now, there is an error that comes out from the Database but, it seems to be from the sitemap, is the following:

Guest
66.xxx.xxx.xxx   
    Today at 10:19:11 pm
1c654c4a3cc38e2b1e229abe595c2063
Type of error: Data Base
http://mysite.com/forum/?action=sitemap;xml;b=3
Error on the Data Base: Unknown column 'b.member_groups' in 'where clause'


SELECT m.id_topic, m.poster_time, t.num_replies
FROM arf_messages as m, arf_topics as t
WHERE m.id_board = 3
AND (FIND_IN_SET(-1, b.member_groups) != 0)
AND m.id_msg = t.id_last_msg
ORDER BY m.poster_time DESCArchivo: /home/mysite/public_html/forum/Sources/Subs-Seo.php
Líne: 229

I went to the Subs-Seo.php file and went to the line 229 and the code there is the following:

$request = $smcFunc['db_query']('', "
SELECT m.id_topic, m.poster_time, t.num_replies
FROM {db_prefix}messages as m, {db_prefix}topics as t
WHERE m.id_board = {int:board_id}
AND {query_see_board}
AND m.id_msg = t.id_last_msg
ORDER BY m.poster_time DESC",
array(
   'board_id' => (int) $_REQUEST['b'],
)
);


Any idea how to fix it? Do, I try to parse the sitemap mod ? like the ones before

Cheers!


Kays

I can't see a reason why that would be happening unless some code was removed which shouldn't have been removed.

No ideas for now and I'm out for the rest of the day.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Advertisement: