[Solved]Global content block menu became empty but db is full

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
boby
Forum Members
Forum Members
Posts: 94
Joined: Thu Feb 21, 2008 11:31 pm

[Solved]Global content block menu became empty but db is full

Post 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
Last edited by boby on Fri Apr 10, 2009 2:53 am, edited 1 time in total.
alby

Re: Global content block menu became empty but db is full

Post 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
boby
Forum Members
Forum Members
Posts: 94
Joined: Thu Feb 21, 2008 11:31 pm

Re: Global content block menu became empty but db is full

Post 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?
alby

Re: Global content block menu became empty but db is full

Post 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
boby
Forum Members
Forum Members
Posts: 94
Joined: Thu Feb 21, 2008 11:31 pm

Re: Global content block menu became empty but db is full

Post 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 :-\
alby

Re: Global content block menu became empty but db is full

Post 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
boby
Forum Members
Forum Members
Posts: 94
Joined: Thu Feb 21, 2008 11:31 pm

Re: Global content block menu became empty but db is full

Post 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'.

...
alby

Re: Global content block menu became empty but db is full

Post 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
boby
Forum Members
Forum Members
Posts: 94
Joined: Thu Feb 21, 2008 11:31 pm

Re: Global content block menu became empty but db is full

Post by boby »

Ok, I'll wait for 1.5.4

I may reinstall everything. i'll see

thanks
boby
Forum Members
Forum Members
Posts: 94
Joined: Thu Feb 21, 2008 11:31 pm

Re: Global content block menu became empty but db is full

Post 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!
Locked

Return to “[locked] CMSMS MLE fork”