Multilanguage CMSMS MLE 1.6

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.
alby

Multilanguage CMSMS MLE 1.6

Post by alby »

Look to history changelog here
Look to install/upgrade process here

Release in forge
Full version contain all languages
Base version contain en_US language only (see here for other translation packages)
Diff file is VS CMSMS 1.6


UPDATE howto on install/upgrade


NEW INSTALLATION:
In Visual tutorials there is a update to installer with 1.6 release

PAY ATTENTION ON UPGRADE FROM ALL:
- From now there is not any more a "extended version" because is already default in
  please check permission (0777) of lib/calsses/class.content.inc.php and lib/calsses/class.pageinfo.inc.php
  NOT rename extended version because is automatic in MLE languages and for check of prev MLE version
  THIS IS LAST VERSION (and maybe 1.6.1) with .extended files
- After upgrade you MUST edit config.php and check that statements for enable utf-8 (default in MLE):
 $config['default_encoding'] = 'utf-8';
 $config['set_names'] = true;

PAY ATTENTION ON UPGRADE FROM 1.5.4b:
Sorry guys, GCB is multilang again (after voting here)
Go in Global Content Block and copy/paste your global_name-xx_XX in a global_name GCB
in template drop {global_content name="global_name-$lang"}


Alby
Last edited by alby on Sat Jun 27, 2009 7:19 am, edited 1 time in total.
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: Multilanguage CMSMS MLE 1.6

Post by saltydog »

alby wrote:

PAY ATTENTION ON UPGRADE FROM 1.5.4b:
Sorry guys, GCB is multilang again (after voting here)
Go in Global Content Block and copy/paste your global_name-xx_XX in a global_name GCB
in template drop {global_content name="global_name-$lang"}


Don't understand this. I didn't add the global content in the template, but the site is normally working...
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: Multilanguage CMSMS MLE 1.6

Post by saltydog »

When updating the global configuration in admin panel, I got this error:

"Error in copy extended files: class.content.inc.php, class.pageinfo.inc.php"

and the window says that I am still using old confi_lang.php

I have filled all the fields correctly.
alby

Re: Multilanguage CMSMS MLE 1.6

Post by alby »

saltydog wrote: Don't understand this. I didn't add the global content in the template, but the site is normally working...
If you have not GCB in template then you are right.
Warning is for 1.5.4b only with GCB for every language

Alby
alby

Re: Multilanguage CMSMS MLE 1.6

Post by alby »

saltydog wrote: When updating the global configuration in admin panel, I got this error:

"Error in copy extended files: class.content.inc.php, class.pageinfo.inc.php"

and the window says that I am still using old confi_lang.php

I have filled all the fields correctly.
MLE don't find (or cannot overwrite) in lib/classes class.content.inc.php.extended and class.pageinfo.inc.php.extended
check for these files and upload to server

Alby
mel
Forum Members
Forum Members
Posts: 147
Joined: Mon Dec 11, 2006 11:53 pm

Re: Multilanguage CMSMS MLE 1.6

Post by mel »

Hi,
I have 2 questions about this new release.

If I do this : $config['default_encoding'] = 'utf-8'; I get some strange characters. Is it absolutely essential or should I modify my database? In fact, everything is fine if I keep it empty, except my sitename ('  become &#39) It's in a GCB, don't know if it change something.

I also have problem with  Error in copy extended files: class.content.inc.php, class.pageinfo.inc.php" What should be the permission on those files. (for now, in a local server, try many things, but I'm not very competent with permissions)

Thanks! And great work!
Mel
Version 1.6-MLE
alby

Re: Multilanguage CMSMS MLE 1.6

Post by alby »

I HAVE UPDATE FIRST POST WITH OTHER INFORMATION
mel wrote: If I do this : $config['default_encoding'] = 'utf-8'; I get some strange characters. Is it absolutely essential or should I modify my database? In fact, everything is fine if I keep it empty, except my sitename ('  become &#39) It's in a GCB, don't know if it change something.
yes.
If you have a new installation then first create database with utf8_general_ci (look Visual tutorials)
For upgrade is a problem because SET NAMES utf8 is active only when 2 config items are utf-8 and true (look first post) while prev version is active always.
This is a upgrade or new install?

mel wrote: I also have problem with  Error in copy extended files: class.content.inc.php, class.pageinfo.inc.php" What should be the permission on those files. (for now, in a local server, try many things, but I'm not very competent with permissions)
Look to first post and change permission of 2 files for permit the overwrite

Alby
Last edited by alby on Sat Jun 27, 2009 8:30 am, edited 1 time in total.
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: Multilanguage CMSMS MLE 1.6

Post by saltydog »

my config_lang.php has full write permissions, but when I submit MLE languages global configuration, I get this message:

Writing config_lang failed!
alby

Re: Multilanguage CMSMS MLE 1.6

Post by alby »

saltydog wrote: my config_lang.php has full write permissions, but when I submit MLE languages global configuration, I get this message:

Writing config_lang failed!
???
Try to anter in Global Settings > MLE languages and one moment before Submit rename your config_lang.php to config_lang.php.old

Alby
User avatar
seensite
Forum Members
Forum Members
Posts: 173
Joined: Sun Feb 10, 2008 7:36 pm

Re: Multilanguage CMSMS MLE 1.6

Post by seensite »

I have the same problem : "Writing config_lang failed!". I tried the above solution, unsuccessfully.
It is a fresh install, no config.php modification yet, I followed the new visual tutorial for MLE 1.6.
...except this I find the wysiwyg language configuration a great improvement, it saves Time!
The universe of information technology is constantly growing and contains only emerging products built on successive patches
alby

Re: Multilanguage CMSMS MLE 1.6

Post by alby »

seensite wrote: I have the same problem : "Writing config_lang failed!". I tried the above solution, unsuccessfully.
It is a fresh install, no config.php modification yet, I followed the new visual tutorial for MLE 1.6.
...except this I find the wysiwyg language configuration a great improvement, it saves Time!

humm, maybe you have found a bug for a new installation not in upgrade .....

EDIT: For avoid is necessary to create a config_lang.php in same way of create config.php in new installation

Alby
Last edited by alby on Sat Jun 27, 2009 3:45 pm, edited 1 time in total.
mel
Forum Members
Forum Members
Posts: 147
Joined: Mon Dec 11, 2006 11:53 pm

Re: Multilanguage CMSMS MLE 1.6

Post by mel »

Hi,
I try all this new information but it didn't improve on my side.
I did upgrade from 1.5.4-MLE-extended.
I change permission in /lib, so it's fine. But the 2 precedent users, I get a Writing config_lang failed! . It's my previous config.lang.php file with 777 permission. If I rename or remove this file, it seems to works: a green tick. But all my content disappear! And if go to MLE settings tab, i have a message MLE is not currently active!. And if I want to create some new language, I have these messages :     * updateFromMonoContent: error in content table for fr
    * updateFromMonoContent: error in htmlblobs table for fr

No new config_lang.php is created, it should be I guess?


For database, I check in phpmyadmin and it's latin1_swedish_ci. I never touch this thing, should I have to change something?
Thanks so much!
Mel
Version 1.6-MLE
alby

Re: Multilanguage CMSMS MLE 1.6

Post by alby »

mel wrote: I did upgrade from 1.5.4-MLE-extended.
I change permission in /lib, so it's fine. But the 2 precedent users, I get a Writing config_lang failed! . It's my previous config.lang.php file with 777 permission. If I rename or remove this file, it seems to works: a green tick. But all my content disappear! And if go to MLE settings tab, i have a message MLE is not currently active!. And if I want to create some new language, I have these messages :     * updateFromMonoContent: error in content table for fr
    * updateFromMonoContent: error in htmlblobs table for fr

No new config_lang.php is created, it should be I guess?
Not rename before but try to rename when you are in Globale Settings > MLE languages already (one moment before hit Submit)
However I found a possible bug when there is not config_lang. Strange that I don't see anything in all new install ...

mel wrote: For database, I check in phpmyadmin and it's latin1_swedish_ci. I never touch this thing, should I have to change something?
For DB if you want "old behaviour" of 1.5.4 you must set in config.php:
$config['default_encoding'] = 'utf-8'; //in general is default
$config['set_names'] = true; //is true on new installation only and not upgrade

I have update first post with new info

Alby
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: Multilanguage CMSMS MLE 1.6

Post by saltydog »

alby wrote: ???
Try to anter in Global Settings > MLE languages and one moment before Submit rename your config_lang.php to config_lang.php.old

Alby
I did that. The result is that after submit, no warning has come out, but neither no new config_lang file has been generated and the site didn't work, so I had to restore the old one.
alby

Re: Multilanguage CMSMS MLE 1.6

Post by alby »

saltydog wrote: I did that. The result is that after submit, no warning has come out, but neither no new config_lang file has been generated and the site didn't work, so I had to restore the old one.
Restore old, Gnenerla Settings > MLE languages, check and one moment before hit rename to config_lang.php.old and create a empty file config_lang.php (in same way of config.php in new installation)

Alby
Locked

Return to “[locked] CMSMS MLE fork”