WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

Du bist nicht angemeldet.

#1 12.04.2018 18:25:01

losttrip
Mitglied

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.

Beitrag geändert von losttrip (13.04.2018 00:24:11)

Offline

#2 13.04.2018 06:12:38

florian
Administrator

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.


Code allein macht nicht glücklich. Jetzt spenden!

Offline

#3 13.04.2018 06:24:57

losttrip
Mitglied

Re: Itemz new install Notices

Okay.  Thank you for the reassurance.

Offline

#4 17.04.2018 17:06:13

losttrip
Mitglied

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 20:07:53

grindmobil
Gast

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.

#6 17.04.2018 20:12:45

losttrip
Mitglied

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

Fußzeile des Forums

up