Mle CMS 1.11.3 not working

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
georgechr
Forum Members
Forum Members
Posts: 96
Joined: Tue Sep 13, 2011 6:02 am

Mle CMS 1.11.3 not working

Post by georgechr »

Hello,

I just installed the latest CMSMS, 1.11.2.1 and the module MleCMS.

It doesnt work though.

I did everything as i used to in 1.10.3:

1.{MleCMS action="init"} on top before {process_pagedata}
2. {MleCMS action="langs"} where to show the selection
3. Add my languages and their flags.
4. Create my pages.

Is it no compatible with the latest version or has something changed? because there is no info in the "module help link"

Can someone help pls? thanks
okulyth

Re: Mle CMS 1.11.3 not working

Post by okulyth »

Can you describe the error you are getting? Because it is also not working here, same configuration as yours. I add the tags and codes as prescribed in the installation guide and the tutorial. But when I try to safe (submit) the template, it gives back:

Syntax Error in template "template:appdata;tmp_template" on line 1 "{MleCMS action=’init’}" - Unexpected "�"
No content blocks defined in template

Anybody out there with an idea?
User avatar
timdebuurman
Power Poster
Power Poster
Posts: 891
Joined: Sun Nov 06, 2011 8:15 pm
Location: Deventer, Netherlands

Re: Mle CMS 1.11.3 not working

Post by timdebuurman »

Hi,

I recently did install MLE and a couple things need to change befor I got it to work.

In the documentation, it says:

{MleCMS action=’init’}

You need to change the (don't know exactly in English) little stripes next to init, these are wrong.
So delete them and make 'init' (see the difference?)

Also, in the flags template, the code 'ls' does not work, you need to change it to 'langs'

So from:

Code: Select all

{if $ls|@count}
    {foreach from=$ls item=l name=language}
To:

Code: Select all

{if $langs|@count}
    {foreach from=$langs item=l name=language}
Greets Tim
NextDoorMedia - Online Marketing Partner
https://www.nextdoormedia.nl
faglork

Re: Mle CMS 1.11.3 not working

Post by faglork »

timdebuurman wrote:Hi,

I recently did install MLE and a couple things need to change befor I got it to work.

In the documentation, it says:

{MleCMS action=’init’}

You need to change the (don't know exactly in English) little stripes next to init, these are wrong.
So delete them and make 'init' (see the difference?)
accent: wrong
apostrophe: correct
timdebuurman wrote: Also, in the flags template, the code 'ls' does not work, you need to change it to 'langs'
I can confirm that. There are already two bug reports for that ...

Cheers,
Alex
okulyth

Re: Mle CMS 1.11.3 not working

Post by okulyth »

Thanks for the comment, with the above said I could get the template to safe the smarty code without giving an error message. But now, when I click on the link that leads to the second (non-english) language version I get the following error code in my browser:

Fatal error: Call to a member function direction() on a non-object in /home/sskcoza/public_html/dev/modules/MleCMS/lib/class.mle_detector.php on line 46

I checked, that line of code has something to do with the locale setting, in my case

English en en_US
Afrikaans af af_ZA

It gives back this error the moment I set up the second language, even without having the templates spiked with the multilanguage code!

Any ideas, anyone?
faglork

Re: Mle CMS 1.11.3 not working

Post by faglork »

okulyth wrote:Thanks for the comment, with the above said I could get the template to safe the smarty code without giving an error message. But now, when I click on the link that leads to the second (non-english) language version I get the following error code in my browser:

Fatal error: Call to a member function direction() on a non-object in /home/sskcoza/public_html/dev/modules/MleCMS/lib/class.mle_detector.php on line 46

I checked, that line of code has something to do with the locale setting, in my case

English en en_US
Afrikaans af af_ZA
I have the same issue. Although I dont get the error message in the browser, but in the debug.log

I use Francais fr fr_FR

Cheers,
Alex
faglork

Re: Mle CMS 1.11.3 not working

Post by faglork »

Just solved it!

You have to install the corrsponding language packs.

Cheers,
Alex
okulyth

Re: Mle CMS 1.11.3 not working

Post by okulyth »

and were do I get these? And, is there an Afrikaans language pack out there? And, it does not make sense because in both the installation guide and in the tutorial that is mentioned in the help of that module its not mentioned with a single word. But I will try your suggestion, if you let me know were to get the language packs.
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Mle CMS 1.11.3 not working

Post by Jos »

faglork

Re: Mle CMS 1.11.3 not working

Post by faglork »

okulyth wrote: And, it does not make sense because in both the installation guide and in the tutorial that is mentioned in the help of that module its not mentioned with a single word.
I already mailed both authors. The examples they gave worked because their example was setting up an ENGLISH version. English is the default language of CMSMS, so it works becaus this language pack is installed by default. Had they used e.g. french, they would have noticed.

Cheers,
Alex
okulyth

Re: Mle CMS 1.11.3 not working

Post by okulyth »

Great, installed Afrikaans language version, now it seems to work. Merci beaucoup pour le tuyau.
Post Reply

Return to “Modules/Add-Ons”