Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: RobinSlig - lokakuu 22, 2008, 09:01:22 IP

Otsikko: Constant Error Log problem
Kirjoitti: RobinSlig - lokakuu 22, 2008, 09:01:22 IP
http://www.fantasyknightsinn.com/smf3/index.php?action=admin;area=logs;sesc
8: Undefined index: scheduled_log_desc
File: /home/kurban/public_html/fantasyknightsinn/smf3/Sources/Admin.php
Line: 1049

How do I fix this?
Otsikko: Re: Constant Error Log problem
Kirjoitti: Nathaniel - lokakuu 23, 2008, 01:31:51 AP
The error seems to be located in your 'Admin.php' file, Could you please post it?
Otsikko: Re: Constant Error Log problem
Kirjoitti: RobinSlig - lokakuu 23, 2008, 08:37:01 AP
Like this?

==>1049:     'description' => $txt['scheduled_log_desc'],

Or did you want the entire file?
Otsikko: Re: Constant Error Log problem
Kirjoitti: H - lokakuu 23, 2008, 02:52:09 IP
It might be easier to attach the entire file :).

Also, which mods have you got installed?
Otsikko: Re: Constant Error Log problem
Kirjoitti: RobinSlig - lokakuu 23, 2008, 03:14:16 IP
I have no mods installed to this forum.
Otsikko: Re: Constant Error Log problem
Kirjoitti: H - lokakuu 24, 2008, 12:26:02 IP
Are all your files uptodate? (Admin area > Support and Credits > More detailed)

Try uploading clean Sources and Theme files
Otsikko: Re: Constant Error Log problem
Kirjoitti: RobinSlig - lokakuu 29, 2008, 02:54:09 IP
files have been re uploaded. still the same error.
Otsikko: Re: Constant Error Log problem
Kirjoitti: greyknight17 - lokakuu 29, 2008, 11:37:08 IP
Are you sure it's uploaded and overwrote the current files there? Your original Admin.php that you attached seems to be from version 1.1.5 which will most likely give you errors. Can you attach your "new" Admin.php file here for review?
Otsikko: Re: Constant Error Log problem
Kirjoitti: RobinSlig - marraskuu 25, 2008, 03:39:56 IP
admin file uploaded.
Otsikko: Re: Constant Error Log problem
Kirjoitti: Oldiesmann - marraskuu 25, 2008, 05:08:07 IP
That's still from 1.1.6. We need the one from 2.0 Beta 4
Otsikko: Re: Constant Error Log problem
Kirjoitti: RobinSlig - marraskuu 25, 2008, 05:21:32 IP
trying again:

Otsikko: Re: Constant Error Log problem
Kirjoitti: Ronny - joulukuu 09, 2008, 04:24:20 IP
I have the same problem. When changing the language serversettings to english the errors went away. Turning it back to dutch or dutch-utf8 the errors come back again:

http://localhost/smf20/index.php?action=admin;area=logs;sesc
Apply Filter: Only show the errors with the same message
8: Undefined index: scheduled_log_desc
Apply Filter: Only show the errors from this file
File: C:/Program Files/xampp/htdocs/smf20/Sources/Admin.php
Line: 1049

http://localhost/smf20/index.php?action=admin
8: Undefined index: scheduled_log
Bestand: C:/Program Files/xampp/htdocs/smf20/Sources/Admin.php
Regel: 453

http://localhost/smf20/index.php?action=admin;area=logs;sesc
Apply Filter: Only show the errors with the same message
8: Undefined index: scheduled_log
Apply Filter: Only show the errors from this file
File: C:/Program Files/xampp/htdocs/smf20/Sources/Admin.php
Line: 423

I'm using the latest SMF 2.0 beta 4
Otsikko: Re: Constant Error Log problem
Kirjoitti: H - tammikuu 07, 2009, 05:54:50 IP
RobinSlig, do you still require assistance with this? :)

Ronny, try searching for the missing strings (scheduled_log etc) in the Dutch files. It is possible that they're missing. You may also want to try downloading an updated Dutch language pack
Otsikko: Re: Constant Error Log problem
Kirjoitti: Ronny - tammikuu 28, 2009, 04:13:13 IP
I've searched for the strings and they are inside the languagefile Admin.dutch.php
$txt['scheduled_log'] = 'Takenlog';
$txt['scheduled_log_desc'] = 'Overzicht van de taken die zijn uitgevoerd.';


The error still exist! I'll wait for the upcoming RC1 release ;)
Otsikko: Re: Constant Error Log problem
Kirjoitti: greyknight17 - helmikuu 08, 2009, 06:41:25 IP
Is this issue resolved now RobinSlig? If not, go to /Themes/default/languages/Admin.english.php and confirm if the below line is in that file:

$txt['scheduled_log_desc'] = 'Lists logs of the tasks that have be ran.';

If you add it inside the body of that file.