Page 1 of 1
[Solved]Global content block menu became empty but db is full
Posted: Wed Apr 08, 2009 1:11 am
by boby
Hi all,
I have been using CMSMS MLE 1.5.2 for 3 months, working fine. I initially created space for 4 languages. I started with Spanish and then added English, all fine.
I started adding Italian last week and today i realized that global content block menu is empty. I cannot get anymore into the blocks I created. It is empty with no flags.
The data base still contains my content in cms_htmlblobs. I decided to update the content via phpmyadmin. But the site does take into account my update. But the db is updated.
I did clear the cache and a reloaded the page several times.
Any idea is welcome!!
thanks
boby
Re: Global content block menu became empty but db is full
Posted: Wed Apr 08, 2009 7:59 am
by alby
boby wrote:
I started adding Italian last week and today i realized that global content block menu is empty. I cannot get anymore into the blocks I created. It is empty with no flags.
Are you sure of version?
From 1.5.1 in GCB list you have not any flags, You must enter in a GCB name and switch in dropdown Language
Alby
Re: Global content block menu became empty but db is full
Posted: Wed Apr 08, 2009 1:23 pm
by boby
you are right. It is just that with google chrome it looks like broken images.
But my problem is that I cannot edit global content blocks anymore. It just says "Add Global Content Block". The content that exist does not appear in the menu anymore.
If I update the footer via phpmyadmin, the change does not appear on the web site but the database is updated.
How can old content show up?
Re: Global content block menu became empty but db is full
Posted: Wed Apr 08, 2009 2:20 pm
by alby
boby wrote:
How can old content show up?
Clean cache in Global Settings
Active debug in config.php, look in html source and server logs for errors ...
Alby
Re: Global content block menu became empty but db is full
Posted: Wed Apr 08, 2009 4:00 pm
by boby
I have got the following errors:
*
Notice: Undefined index: in /var/www/vhosts/natate.org/httpdocs/include.php on line 266
which is the line:
Code: Select all
$mleblock = '_'.$hls[$hl]['block'];
*
Notice: Undefined index: in /var/www/vhosts/natate.org/httpdocs/include.php on line 269
which is the line:
Code: Select all
$mleparent = (isset($hls[$hl]['parent']))?$hls[$hl]['parent']:$hls[$hl]['block'];
*
Debug: (0.340437) - (9786816)
Code: Select all
<br>
(mysql): SELECT html_, htmlblob_id, htmlblob_name, owner, modified_date FROM cms_htmlblobs ORDER BY htmlblob_name<br>
Error (1054): Unknown column 'html_' in 'field list'<br>
I haven't made any change I don't know what is going on

Re: Global content block menu became empty but db is full
Posted: Wed Apr 08, 2009 4:02 pm
by alby
boby wrote:
*
Notice: Undefined index: in /var/www/vhosts/natate.org/httpdocs/include.php on line 266
which is the line:
Code: Select all
$mleblock = '_'.$hls[$hl]['block'];
You have not 'block' item for (at least) a language in config_lang.php
Check your file
Alby
Re: Global content block menu became empty but db is full
Posted: Wed Apr 08, 2009 4:15 pm
by boby
Block is not missing. Here is my file config_lang.php:
Code: Select all
define('DEFAULT_LANG', 'es_ES');
$force_mle_default = true;
$hls = array(
'es_ES' => array(
'block'=>'es',
'flag'=>'<img src="images/lang/mx.png" style="border:0; opacity:1;" alt="Espanol" />',
'text'=>'Espanol',
'locale'=>'es_ES.utf8@euro',
),
'en_US' => array(
'block'=>'en',
'flag'=>'<img src="images/lang/us.png" style="border:0; opacity:1;" alt="English" />',
'text'=>'English',
),
'fr_FR' => array(
'block'=>'fr',
'flag'=>'<img src="images/lang/fr.png" style="border:0; opacity:1;" alt="Français" />',
'text'=>'Français',
'locale'=>'fr_FR.utf8@euro',
),
'it_IT' => array(
'block'=>'it',
'flag'=>'<img src="images/lang/it.png" style="border:0; opacity:1;" alt="Italiano" />',
'text'=>'Italiano',
'locale'=>'it_IT.utf8@euro',
),
);
The only thing I did this week was adding the modules 'comments' and 'CGSimpleSmarty'.
...
Re: Global content block menu became empty but db is full
Posted: Wed Apr 08, 2009 4:44 pm
by alby
boby wrote:
Block is not missing. Here is my file config_lang.php:
Then you must do some debug for check what is the problem.
Upgrade soon to last version (however tomorrow I think to release 1.5.4) and set for use GCB not multilang (view
changelog 1.5.3b)
Alby
Re: Global content block menu became empty but db is full
Posted: Wed Apr 08, 2009 6:09 pm
by boby
Ok, I'll wait for 1.5.4
I may reinstall everything. i'll see
thanks
Re: Global content block menu became empty but db is full
Posted: Fri Apr 10, 2009 2:53 am
by boby
It is because of my browser. I have been trying google chrome for about a month now. It's a google bug. It works fine with firefox, my content blocks are back in the menu. Google 'find in page' doesn't work in cmsms code either.
Thanks for help!