#1 2014-07-28 06:22:27

raskrial
Member
Registered: 2014-03-03
Posts: 22

[SOLVED] Error in content element

here's my setup :

ionize 1.0.6
frontend lang: 1 (french)
backend lang: 2 ( french / english)

Currently in developpement mode


i created a content element. when i add it to an article, here's the error i get as replacement of the label of any input:


A PHP Error was encountered

Severity: Notice

Message: Undefined index: langs

Filename: core/Loader.php(679) : eval()'d code

Line Number: 61


thx again for the help.

Offline

#2 2014-07-28 09:35:13

CodeStepper
Member
From: Poland
Registered: 2014-06-30
Posts: 53
Website

Re: [SOLVED] Error in content element

Oh... I have even two notices....
http://s13.postimg.org/e1acqalav/contentadd.png

------- EDIT --------
file: detail.php in themes/admin/views/element

line 64 and 225:
not 'langs' index

$field['langs']

but 'lang_definition'

$field['lang_definition']

------ EDIT ONCE AGAIN -------
about id_element_definition

I can't event save element (add to article)....

When I change line 472 in element_definition.php controller (application/admin/controller/):

        Settings::get_lang('default')

to

        NULL

the notice is dissapearing, but still I can't save element... (textarea + multilingual)

I have done it when I saw, that I had empty "element_definition_lang" table in database, but "element_definition" table has rows...

Redgards

Last edited by CodeStepper (2014-07-28 16:04:27)

Offline

#3 2014-08-11 13:29:53

jnbn
Member
From: Istanbul, Turkey
Registered: 2012-03-02
Posts: 22
Website

Re: [SOLVED] Error in content element

Same here...

Still looking for a solution.


I am whatever you say I am..
If I wasn't then why would I say "I am"..

@jnbn

Offline

#4 2014-08-11 13:56:35

jnbn
Member
From: Istanbul, Turkey
Registered: 2012-03-02
Posts: 22
Website

Re: [SOLVED] Error in content element

It works fine after 1.0.7.1 update.


I am whatever you say I am..
If I wasn't then why would I say "I am"..

@jnbn

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations