In primis sorry for my English
I’m trying to solve the problem with date:
http://modxcms.com/forums/index.php/topic,65322.0.html
and i found this in the error log:
[2011-06-11 16:01:12] (ERROR @ /xxx/public_html/core/components/tinymce/lexicon/it/default.inc.php : 12) PHP warning: include_once(/xxx/public_html/core/components/tinymce/lexicon/it/english.inc.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory
[2011-06-11 16:01:12] (ERROR @ /xxx/public_html/core/components/tinymce/lexicon/it/default.inc.php : 12) PHP warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening '/xxx/public_html/core/components/tinymce/lexicon/it/english.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
[2011-06-11 16:01:12] (ERROR @ /manager/index.php) [OnRichTextEditorInit]
the default.inc.php in the folder \core\components\tinymce\lexicon\
it is:
<?php
/*
* Filename: assets/plugins/tinymce/lang/italian.inc.php
* Function: Italian language file for TinyMCE. Needs to be translated and re-encoded!
* Encoding: ISO-Latin-1
* Author: Jeff Whitfield
* Date: 2007/01/06
* Version: 2.0.9
* MODx version: 0.9.5
*/
include_once(dirname(__FILE__).'/english.inc.php'); // fallback for missing defaults or new additions
$_lang['tinymce_editor_theme_title'] = "Theme:";
$_lang['tinymce_editor_theme_message'] = "Here you can select which theme or skin to use with the editor.";
$_lang['tinymce_editor_custom_plugins_title'] = "Custom Plugins:";
$_lang['tinymce_editor_custom_plugins_message'] = "Enter the plugins to use for the 'custom' theme as a comma separated list.";
$_lang['tinymce_editor_custom_buttons_title'] = "Custom Buttons:";
$_lang['tinymce_editor_custom_buttons_message'] = "Enter the buttons to use for the 'custom' theme as a comma separated list for each row. Be sure that each button has the required plugin enabled in the 'Custom Plugins' setting.";
$_lang['tinymce_editor_css_selectors_title'] = "CSS selectors:";
$_lang['tinymce_editor_css_selectors_message'] = "Here you can enter a list of selectors that should be available in the editor. Enter them as follows:<br />'displayName=selectorName;displayName2=selectorName2'<br />For instance, say you have <b>.mono</b> and <b>.smallText</b> selectors in your CSS file, you could add them here as:<br />'Monospaced text=mono;Small text=smallText'<br />Note that the last entry should not have a semi-colon after it.";
$_lang['tinymce_settings'] = "TinyMCE Settings";
$_lang['tinymce_theme_simple'] = "Simple";
$_lang['tinymce_theme_advanced'] = "Advanced";
$_lang['tinymce_theme_editor'] = "Content Editor";
$_lang['tinymce_theme_custom'] = "Custom";
?>
the path highlighted with "// fallback for missing defaults or new additions" is wrong, right?
What’s the solution?
a) put the english default.inc.php in the it folder and rename it in english.inc.php
or
b) change the path in the italian file default.inc.php
or
c)overidde the italian file default.inc.php with the original english file defaul.inc.php
or
d)nothing of these and i have drunk
Revo 2.1.1 pl traditionale
TinyMce 4.3.0 rc1
PHP 5.3.3
MySQL 5.0.92