Try to change 'block'=>'en', to 'block'=>'en_US' (and may by 'block'=>'fr' to 'block'=>'fr_FR').
If noting appears in GCB tab or you will get other errors, post structure of tables, lets say, "cms_content" and "cms_htmlblobs" to forum.
global content blocks not showing
Re: global content blocks not showing
well the problem with the GCB not appearing has been fixed by changing the column name "html" to "html_" in the table htmlblobs.
however, after enabling the debug feature, i am still getting these two errors
however, after enabling the debug feature, i am still getting these two errors
also, if i change my config_lang to what you asked (block -> en to en_US) my website doesnt work and i get these errorsotice: Undefined index: en_US in /mnt/w0002/d01/s46/b02e2ac4/www/tillemont.com/include.php on line 246
Warning: Cannot modify header information - headers already sent by (output started at /mnt/w0002/d01/s46/b02e2ac4/www/tillemont.com/include.php:246) in /mnt/w0002/d01/s46/b02e2ac4/www/tillemont.com/index.php on line 376
Error in some DB fields:
Error check column content_name_en_US in cms_content
Error check column menu_text_en_US in cms_content
Error check column metadata_en_US in cms_content
Error check column titleattribute_en_US in cms_content
Error check column html_en_US in cms_htmlblobs
Error check column content_name_fr_FR in cms_content
Error check column menu_text_fr_FR in cms_content
Error check column metadata_fr_FR in cms_content
Error check column titleattribute_fr_FR in cms_content
Error check column html_fr_FR in cms_htmlblobs
Re: global content blocks not showing
Post to forum:
line 246 of file "include.php" (is it " if(!empty($default_lang_fallback) && (DEFAULT_LANG !=$hl)) $mleblockfallback = '_'.$hls[DEFAULT_LANG]['block'];" line ?),
structure of data base tables "cms_content" and
"cms_htmlblobs"
screenshots of "Site Admin » Global Settings » MLE settings" and
"Site Admin » Global Settings » MLE languages"
line 246 of file "include.php" (is it " if(!empty($default_lang_fallback) && (DEFAULT_LANG !=$hl)) $mleblockfallback = '_'.$hls[DEFAULT_LANG]['block'];" line ?),
structure of data base tables "cms_content" and
"cms_htmlblobs"
screenshots of "Site Admin » Global Settings » MLE settings" and
"Site Admin » Global Settings » MLE languages"
Last edited by Peciura on Fri Oct 02, 2009 10:24 pm, edited 1 time in total.
Re: global content blocks not showing
to be safe i put from lines 239 to 251
please click on www.tillemont.com/cms/Archive.zip to get the tables from my DB$mlelocale_cms = (isset($hls[$hl]['locale_cms'])) ?$hls[$hl]['locale_cms']:$hl;
$mleblock = '_'.$hls[$hl]['block'];
$mleparent = strtolower((isset($hls[$hl]['parent'])) ?$hls[$hl]['parent']:$hls[$hl]['block']);
$mleflag = $hls[$hl]['flag'];
$mletext = (isset($hls[$hl]['text'])) ?$hls[$hl]['text']:'';
$mlelocale = (isset($hls[$hl]['locale'])) ?$hls[$hl]['locale']:$mlelocale_cms;
if(!empty($default_lang_fallback) && (DEFAULT_LANG !=$hl)) $mleblockfallback = '_'.$hls[DEFAULT_LANG]['block'];
if(DEFAULT_LANG !=$hl) $mlegcbfallback = '_'.$hls[DEFAULT_LANG]['block'];
//Start DEPRECATED
$arr_mlelang_fallback=array();
$arr_mlelang=array();
if(!empty($default_lang_fallback) && (DEFAULT_LANG !=$hl)) {
Re: global content blocks not showing
Set your default languge.
Edit. If default language is not set in site preferences, CMSms assumes default languge to be 'en_US'. Unfortunately :) your language key is "eng" not "en_US".
Edit. If default language is not set in site preferences, CMSms assumes default languge to be 'en_US'. Unfortunately :) your language key is "eng" not "en_US".
Last edited by Peciura on Fri Oct 02, 2009 10:25 pm, edited 1 time in total.
Re: global content blocks not showing
well, that makes sense...thank you very much, i enabled debugging and have no errors on my website. 
