WBCE Home | WBCE Hilfe | WBCE Addon Repository | Impressum | Datenschutz

WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

You are not logged in.

#1 12.04.2018 19:25:01

losttrip
Member

Itemz new install Notices

I am trying Itemz for the first time, and am excited for the possibilities.
I just want to check to see if there is anything to be concerned about the following, before I get further into development.

I installed 0.9.5_1 on WBCE 1.3.1 locally PHP 7.1

There is already a group present "Group2", is that supposed to be there/is it necessary?:
3b6b243b77651a7e5361ba2c449b2bf8.png

I see these notices on the frontend (error reporting set to development):

Notice: Undefined variable: item_in_group in ...\modules\itemz\view.php on line 370
Notice: Undefined variable: item_in_group in ...\modules\itemz\view.php on line 412

Those notices go away if I add an Item, or if I delete that "Group2", but when I delete Group2 I get a briefly displayed notice in the backend:

Notice: Undefined index: delete_grp_items in ...\modules\itemz\delete_group.php on line 20

Then, if I delete the itemz section from a page, I see a Notice? (I don't know because I can not see all the text, but it points to:

...\modules\itemz\delete.php on line 27

I just wanted to find our if these might be caused by something I did wrong, or if they can safely be ignored.

Thank you.

Last edited by losttrip (13.04.2018 01:24:11)

Offline

#2 13.04.2018 07:12:38

florian
Projektmanagement und Support WBCE CMS

Re: Itemz new install Notices

There is already a group present "Group2", is that supposed to be there/is it necessary?:

Yes, because without group(s), yo can't create items.

About the notices, they are just caused by untidy program code (undefined variables), but nothing to worry about.

Offline

#3 13.04.2018 07:24:57

losttrip
Member

Re: Itemz new install Notices

Okay.  Thank you for the reassurance.

Offline

#4 17.04.2018 18:06:13

losttrip
Member

Re: Itemz new install Notices

There was a notice in the backend and some unclear text.  For anyone interested, here is an updated English Language file for itemz_0.9.5_1.

Offline

#5 17.04.2018 21:07:53

grindmobil
Member

Re: Itemz new install Notices

Hi!
Yes, those notices appears in "extreme" cases: groups with No items, items with No Pictures....
Sorry, typical coder mistakes.

Offline

#6 17.04.2018 21:12:45

losttrip
Member

Re: Itemz new install Notices

No need to apologize.
The main reason for the uploaded file is that the English EN.php file was missing the following:

//New 12.2012
$ITEMTEXT['MAKE_ALIAS'] = 'Create Alias';
$ITEMTEXT['GOTO_ALIAS'] = 'Edit Original';
$ITEMTEXT['LONGUSAGE_CODE'] = 'PHP Code';
$ITEMTEXT['SORT_BY_STARTTIME'] = 'start time';
$ITEMTEXT['SORT_BY_STOPTIME'] = 'stop time';

I thought this addition might be helpful to other English users.

Offline

Board footer

Powered by FluxBB

up