Page 2 of 2

Re: Multilanguage CMSMS MLE 1.2.3

Posted: Thu Jun 19, 2008 7:23 pm
by baki250
Hi Alby

I got a problem with Cataloger for some reason when i try to add item or category it says:

Fatal error: Cannot instantiate non-existent class: catalog�tem in /home/**/public_html/**/admin/addcontent.php on line 346

i got MLE installed v 1.3 and all the cataloger stuff. Im worried about the question mark on the catalogitem.

When i switch off the MLE it works fine. What do i need to do to resolve this, any idea?


Many Thanks

Re: Multilanguage CMSMS MLE 1.2.3

Posted: Fri Jun 20, 2008 7:28 am
by alby
baki250 wrote: I got a problem with Cataloger for some reason when i try to add item or category it says:

Fatal error: Cannot instantiate non-existent class: catalog�tem in /home/**/public_html/**/admin/addcontent.php on line 346
???

If you add a CatalogPrintable type have same error?

Alby

Re: Multilanguage CMSMS MLE 1.2.3

Posted: Fri Jun 20, 2008 11:37 pm
by baki250
yep, it happens as soon as you click on the add content or want to change the content of a page by clicking on the language icon.
Its so odd. I dont know why it does it

Re: Multilanguage CMSMS MLE 1.2.3

Posted: Mon Jun 30, 2008 2:51 pm
by baki250
Hi Alby

Do you have any idea as to why this is happening. The questıon mark issue

Many Thanks

Re: Multilanguage CMSMS MLE 1.2.3

Posted: Mon Jun 30, 2008 2:55 pm
by alby
baki250 wrote: Do you have any idea as to why this is happening. The questıon mark issue
Question mark is a encoding issue.
Wich version of MLE?

Check if your DB is full UTF8

Alby

Re: Multilanguage CMSMS MLE 1.2.3

Posted: Sun Sep 07, 2008 5:11 am
by balamouk
Hi all, regarding the last cataloger module & the mle integration there is a patch to apply to make it work correctly :

first step :
update table ..._module_catalog_attr
add columns attribute_en, attibute_it, and so on

second step :
open file Cataloger.module.php
somewhere round line 327 there is something like

Code: Select all

$query = "SELECT attribute, is_textarea FROM "...
change with

Code: Select all

$query = "SELECT attribute_" . $hls[$hl]['block'] . ", is_textarea FROM ".
in the same file round line 344
change

Code: Select all

 if(isset($hls)) $thisAttr->attr = $row['attribute']...
with

Code: Select all

if(isset($hls)) $thisAttr->attr = $row['attribute_'. $hls[$hl]['block']];
hope it helps

Re: Multilanguage CMSMS MLE 1.2.3

Posted: Fri Sep 19, 2008 4:57 pm
by baki250
Hi

Im trying to use Cataloger items area. 2 of them one for keywords and the other for description

Basically its hard to use the matetags area and i want to use meta data ="{cataloger template="keywords"} for example to display keywords in the header of each page.

Jsut like using Global Blocks. Is this possible on Cataloger and if it is how can i do it

many thanks for your help