Share » Forums » Developer » Debug page

Debug page

Debug page

Tuesday 29 August 2006 7:04:20 am - 6 replies

Modified on Tuesday 29 August 2006 7:07:59 am by Coulibaly Ibrahim

Author Message

Marcin Drozd

Tuesday 29 August 2006 7:27:20 am

Hi
Which version of ez publish do you use? 3.8 or earlier?

if 3.8 try to add:
<input type="hidden" name="ContentLanguageCode" value="lang-code" />
where lang-code U can use ezini() to get language settings.

http://ez-publish.pl

Coulibaly Ibrahim

Tuesday 29 August 2006 9:15:35 am

Thanks, Marcin
i'm using eZP 3.8 and php 4.4.2
but i tested, and steel remaining the same errors.

my EzP Regional setings is :

[RegionalSettings]
Locale=fre-FR
ContentObjectLocale=fre-FR
TextTranslation=enabled
SiteLanguageList[]=fre-FR
ShowUntranslatedObjects=enable

is it correct?
i'm using only one language: french-->fre-FR

Claudia Kosny

Wednesday 30 August 2006 12:27:04 pm

Hello Coulibaly Ibrahim

There seems to be a problem with the roles of the current user. So could you please post the permissions the user/role has?
Has your user permission to create something under the node that you are viewing?
Does the same happen if you remove the section limitation?

Greetings from Luxembourg

Claudia

Coulibaly Ibrahim

Wednesday 30 August 2006 12:52:39 pm

Hi Claudia and thanks:
exple af Policy:

 content create Class( Actualité , Evenement ) , ParentClass( Dossier actualité )

but
yes the same problem appears when there's no limitaition

I thought it comes from Languages problem.
because -->Languages code is not define. perhap i must set Rôle defining language??

Marcin Drozd

Thursday 31 August 2006 12:40:13 am

Hi
Do U have:
content <b>edit</b> Class( Actualité , Evenement ) , Owner( Self )
??

http://ez-publish.pl

Claudia Kosny

Friday 01 September 2006 4:31:55 pm

Hello Coulibaly Ibrahim

Unfortunately I don't know what is going on - I have tried a similar role and did not get any errors. Somehow EZ can't fetch the policies array properly. I don't think is has to do with the languages - the error message just mentions the languages because at a certain point during the retrieval of the information on cancreateclasslist EZ tries to fetch the policies into an array with the keys 'classes' and 'language_codes'. As the whole thing fails the language codes are mentioned as well.

Maybe the user or the user group you assigned the role to has become invalid somehow - I really do not know - sorry.

Claudia

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu