50 pages of errors

Started by 58tbird, March 21, 2008, 02:35:37 AM

Previous topic - Next topic

58tbird

Hi!

Newbie in trouble here.  I installed several mods over the last week or so, and checked just now to discover I have 50 pages of errors.

I have no idea what they're telling me, nor what I need to do to fix them.  How do I learn about errors and fixing them?  I know there's such a thing as a package parser - I ran it once, but I don't understand the results it generates.

I know I must be asking a simple question that has a very complicated answer - sorry.

Drunken Clam

Please post a selection of the errors you have here to enable us to see which files/mods are throwing up the errors.

;)

58tbird

#2
I'll spot check to see if there appear to be other errors, but here's the first page:
QuoteCheck all
   
Apply Filter: Only show the error messages of this member me
Today at 10:57:40 PM
Apply Filter: Only show the error messages of this IP address
Apply Filter: Only show the error messages of this session 43566133b38d87a151f0cdddba50e157
Apply Filter: Only show the error messages of this URL http://mywebsite.com/index.php?action=admin
Apply Filter: Only show the errors with the same message
8: Undefined index: bookmarks
File: /home/me/public_html/Themes/default/Admin.template.php (main_above sub template - eval?)
Line: 649
   
Apply Filter: Only show the error messages of this member me    
Today at 10:57:29 PM
Apply Filter: Only show the error messages of this IP address       
Apply Filter: Only show the error messages of this session 43566133b38d87a151f0cdddba50e157
Apply Filter: Only show the error messages of this URL http://mywebsite.com/index.php
Apply Filter: Only show the errors with the same message
8: Undefined index: bookmarks
File: /home/me/public_html/Themes/default/BoardIndex.template.php (main_above sub template - eval?)
Line: 649
   
Apply Filter: Only show the error messages of this member
Today at 08:36:42 PM
Apply Filter: Only show the error messages of this IP address
Apply Filter: Only show the error messages of this session 43566133b38d87a151f0cdddba50e157
Apply Filter: Only show the error messages of this URL http://mywebsite.com/index.php?action=featuresettings;sa=profile
Apply Filter: Only show the errors with the same message
8: Undefined index: bookmarks
File: /home/me/public_html/Themes/default/languages/CustomProfile.english.php (main_above sub template - eval?)
Line: 649
   

Owdy

Those are language file errors. Mods often edit english language files. If you use other languages, you need to manually add those strings in them. Also some themes can have their own language strings, same goes with them. Themes/yourtheme/languages/ , there might be some lang files just in english forexample and you need to create copyes to all languages you use.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

58tbird

Thank you Owdy.  I only use English, however.  Although, I noticed that I have a modifications.english.php~ in addition to my modifications.english.php (no ~) in my Themes/Default/Languages directory.  Is that supposed to be there, and could that have anything to do with it?

I'm just using the Default Theme - Core.

Owdy

#5
~files are backups. That means your mod has edited those files. Does your Modifications.english.php have anything what says 'bookmarks' ? Can you copypaste it here? Just for clarification, you and your *all* members use just english and Core theme?


edit: you have allowed users to use another themes, see http://yoursite.com/index.php?theme=3

edit:2

Quote8: Undefined index: bookmarks
File: /home/auditor1/public_html/Themes/default/languages/CustomProfile.english.php (main_above sub template - eval?)
Line: 649

SMF 1.1.4 doesnt have language file named like that.

Those errors are in there because your mods, im sure about that :D
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Owdy

#6
Quote from: 58tbird on March 21, 2008, 11:40:39 AM
I only use English, however. 
There is your reason: http://yoursite.com/Themes/default/languages/ There are allmost every language what SMF has :D

So, if mod ads language strings in Modificatiosn.english.php or some else english file, you have to copy *all* those strings in all of those other langs also, Modifications.thai.php, Modifications.german.php etc etc.

Do you really need all those lang files? :)
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

58tbird

#7
Quote from: Owdy on March 21, 2008, 11:48:40 AM
~files are backups. That means your mod has edited those files. Does your Modifications.english.php have anything what says 'bookmarks' ? Can you copypaste it here? Just for clarification, you and your *all* members use just english and Core theme?


edit: you have allowed users to use another themes, see http://mywebsite.com/index.php?theme=3

Yes:
QuoteModifications.english.php
File Type: PHP script text

<?php
// Version: 1.1; Modifications

$txt['header_favicon_url'] = 'Favicon Image Url:';
$txt['header_favicon_url_desc'] = 'Must be a 16x16 png/gif/ico image
   <br />Use .ico for best compatibility (eg IE7)
   <br />Leave blank to disable
   <br />(<a href="http://en.wikipedia.org/wiki/Favicon" target="_blank">Help</a>)';

$txt['bookmarks'] = 'My Bookmarks';
$txt['bookmark_not_for_guests'] = 'Sorry, only registered members of this community can use the bookmarks feature.';
$txt['bookmark_list'] = 'Bookmarks';
$txt['bookmark_list_empty'] = 'You don\'t have any bookmarks at the moment. Add one by clicking \'Add bookmark\' in topics.';
$txt['bookmark_open_window'] = 'Open in new window';
$txt['bookmark_delete'] = 'Delete selected bookmarks';
$txt['bookmark_delete_success'] = '%1$s bookmarks were deleted successfully!';
$txt['bookmark_delete_failure'] = 'Not all bookmarks could be deleted.';
$txt['bookmark_add'] = 'Add bookmark';
$txt['bookmark_add_success'] = 'The topic was successfully added to your bookmarks!';
$txt['bookmark_add_exists'] = 'This topic is already listed in your bookmarks!';
$txt['bookmark_add_failed'] = 'Failed to add the topic to your bookmarks.';
$txt['avatar'] = 'Avatar';
//Begin Reg Links
$txt['no_view_links'] = 'You are not allowed to view links.';
//END Reg Links Text Strings         

// Registration - Show Gender mod
$txt['registration_gender_admin_field'] = 'Show gender on registration form?';
$txt['registration_gender_template_field'] = 'Gender';
$txt['registration_gender_all_label'] = 'Gender';
// Registration - Show Gender mod

?>

Thank you for explaining about the ~ file being backup.  We only use English, and we're very new, so I don't think anyone has changed their theme.  So I shouldn't allow others to change their themes then?

Quoteedit:2

Quote8: Undefined index: bookmarks
File: /home/me/public_html/Themes/default/languages/CustomProfile.english.php (main_above sub template - eval?)
Line: 649

SMF 1.1.4 doesnt have language file named like that.

Those errors are in there because your mods, im sure about that :D

I have the following mods:
Quote1. Registered Links  1.0      
2. Easy Edit Meta Data 1.0    
3. Registration - Show Gender mod    1.0.0    
4. FavIcon 1.1    
5. BoardHover Mod 1.1.0    
6. Custom Profile Field Mod 3.17    
7. Bookmarks 1.1    
8. Ad Managment 2.3    
9. Admin member list registration date 1.0    
10. SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update 1.0    
11. SMF 1.1.4 Search "brd" Bug Fix (1.0.1) 1.0.1    
12. Avatar on Member List 1.0    
13. Enhanced Password Reminder 1.0    

If I'm following you (and I'm not sure I am), you're thinking my Custom Profile Field mod has it's own English.php file and that might be causing conflicts with the default/languages/english.php file?

58tbird

#8
Quote from: Owdy on March 21, 2008, 12:02:09 PM
Quote from: 58tbird on March 21, 2008, 11:40:39 AM
I only use English, however. 
There is your reason: http://mywebsite.com/Themes/default/languages/ There are allmost every language what SMF has :D

So, if mod ads language strings in Modificatiosn.english.php or some else english file, you have to copy *all* those strings in all of those other langs also, Modifications.thai.php, Modifications.german.php etc etc.

Do you really need all those lang files? :)
No, I only need English.  I didn't know I could get rid of the other languages - I just installed SMF and away I went.  How do I get rid of the other languages?

P.S. Can I ask you a favor?  Can you edit your last 2 posts to show "mywebsite.com" so it won't get picked-up by search engines?  I'm trying to maintain anonymity.  If you want more explanation, I can PM you about it.

Owdy

Quote from: 58tbird on March 21, 2008, 12:29:27 PM

P.S. Can I ask you a favor?  Can you edit your last 2 posts to show "mywebsite.com" so it won't get picked-up by search engines?  I'm trying to maintain anonymity.  If you want more explanation, I can PM you about it.
Sure, you do the same with your error post ;)

About errors, try this:

1. Admin -> Features and Options -> Enable user-selectable language support -> dont
2. Admin -> Themes and Layout -> Allow members to select their own themes. -> dont
3. empty error log.
see what happends :)
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

58tbird

Oops! :o  Thanks for pointing that out! 

Okay, I've done this:
Quotebout errors, try this:

1. Admin -> Features and Options -> Enable user-selectable language support -> dont
2. Admin -> Themes and Layout -> Allow members to select their own themes. -> dont
3. empty error log.

Should I also uncheck
QuoteAllow members to select the "Default" theme.
?

Also, do I delete the other languages one file at a time, or is there a more efficient way to do this?

Thank you very much for sharing your knowledge - you have been very helpful. :)

P.S. Gotta run - won't be back for at least 5 hours.

Owdy

Quote from: 58tbird on March 21, 2008, 02:37:22 PM
Should I also uncheck
QuoteAllow members to select the "Default" theme.
?
Sure, but it doesnt matter if you did #2 in my instructions. Just for sure, same time, reset everyone to use forums default.

QuoteAlso, do I delete the other languages one file at a time, or is there a more efficient way to do this?
If you disallow users to use them, no, you dont have to. You can if you want, they are waste of space.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

58tbird

Thank you Owdy - you've been a great help!

chuckalaska

Am I correct in understanding I can remove foreign language files without effecting the forum or any mods? Will it affect my ability to install any mods in the future? I installed SMF 1.1.4 using Fantastic through our web host. I have several MB of language file. My forum is a very focused English language forum so I don't see a reason for them.

I am using the default theme I have changed some of the forum colors and icons. And also added a couple of mods.

hxxp:frontierfreedom.com/Subsistence_in_Alaska/ [nonactive]

Advertisement: