Loading...
 
Skip to main content

Category: 23.x

23.x
Show subcategories objects

Name Type
Trackers; The tracker field country selector is not displaying country flags (edit)
On Tiki23 you can set a tracker and add a new field "Country Selector".
In the field options you can set if you want to display the country Name, Flag or both.

No matter what you select only the country name is displayed.

Tested on demo.tiki.org
tracker item
Trackers; Validation field length for a Regex pattern is limited
On a Tiki23 I create a tracker and add an email field.
I wanted to add a validation using the validation option (edit tracker field options).

I set for Type; Regular Expression (pattern)
Parameter:
{CODE()}
(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])
{CODE}

Error Message : Enter a valid email

Parameters comes from : https://stackoverflow.com/questions/201323/how-can-i-validate-an-email-address-using-a-regular-expression

On save I have the following error.

×
Error
Data too long for column 'validationParam' at row 1

Even if the pattern is a bit funky, this is another "legacy" value limitation that should be removed.
tracker item
Trackers: Need to be able sort as numerical instead of text
{img src=show_image.php?id=10 }

{img fileId="396"}
tracker item
Unable to Detach Geo Location from Wiki Page, Article, Blog
Using the native Geolocation feature for Articles, Wiki Pages, Blogs, etc, once a geolocation is assigned, using edit properties, you can change the location, but you cannot detach a location. Sometimes, a location may be accidentally added, but one should not be a part of that page.

In my case, I have wiki page templates, I accidentally assigned that template a location, and now the template shows up on my map. There is no way to detach the geolocation from a page, article or blog.

Tried to create a Show Instance, but it's not working.
tracker item
Undefined variable: useCache when importing files using the console command
Since Tiki21 I use batchupload through the console to daily import files.
It went through with Tiki22 and worked fine for several month then lately started to throw warnings.

I updated to Tiki23 to check and eventually solve as Tiki22 is nearly end of life.

There is one error per file, for ALL the file I import.

The duplicate is a kind of normal (there are duplicates) and doesn't affect all the files (work as expected).

{CODE()}
~/public_html$ php7.4 console.php files:batchupload 5 --subdirToSubgal --createSubgals --confirm
Undefined variable: useCache on line 1328 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1332 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1337 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1328 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1332 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1337 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1328 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1332 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1337 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1328 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1332 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1337 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1328 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1332 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1337 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1328 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1332 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1337 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1328 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1332 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1337 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1328 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1332 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1337 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1328 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1332 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1337 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1328 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1332 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1337 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1328 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1332 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1337 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1328 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1332 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1337 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1328 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1332 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1337 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1328 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1332 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1337 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1328 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1332 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1337 of /home/elyseavenue/public_html/lib/filegals/filegallib.php
error: Duplicate file found as `47283599_a.jpg`. Upload rejected.
error: Duplicate file found as `47283599_b.jpg`. Upload rejected.
error: Duplicate file found as `47283599_c.jpg`. Upload rejected.
{CODE}
tracker item
Please update German localization
I see no other mechanism for proposing corrected localization files, so I post it as a feature request to I18N. While I am still deep into the main body of translation (so far I made > 2060 corrections and additions, and custom.php has grown to 1/4 the size of language.php, 231 kbytes, I have seen that there is a smaller file, language.js, that contains some spelling errors (old German spelling which is outdated since 1996, the big official reform of German spelling) and IMHO a wrong language level (addressing the user in the second person, using imperative). And since language.js is a lot smaller, I finished this one and hereby propose it to be included in future versions. This file was writen on Tiki 18.6.
Thanks
hman
tracker item
File Gallery Upload on dev.tiki.org (23x): File Upload failed: service unavailable
It is not possible to upload files (image) using the img toolbar icon or directly in the file gallery.

OSX, Safari.

See screenshot : https://ibb.co/X8mGNFB
tracker item
URL parts asc / desc contradict actual settings
If you change a listing, like on the Wishlist, and change sorting order, the URL gets an additional mention of the sort order.

But it's reversed, compared to the actual setting. So if you want to sort the Wishlist by modification date, descending (which IMHO should be the default), so the latest are listed at the top, the URL states

{CODE(Colors="Tiki")}
https://dev.tiki.org/Wishlist#sort_mode=modification_date_asc
{CODE}

ASC=Ascending. If you change sorting to ascending, the URL states _desc...
tracker item
User registration tracker plugin option should apply the registration settings from login control panel
Using a Tiki at tiki-admin.php?page=login you can set the user to receive an email to validate its account or as welcome.
This work fine.

You can also use a tracker plugin in a wiki page to fill a tracker item and set that this include a registration.
However the user then doesn't receive any email or validation email.

There is a parameter "Validate users" (y/n) that override only part of the process:
"Here one can overrule the default validate users by e-mail preference"

Setting to Y, users are validated automatically.
They don't receive the registration validation email or anything else (all process is overruled) .

Setting to N, users are not validated.
But, they also don't receive the registration validation email or anything else (all process is overruled) .
tracker item
When a package is missing interface should help to fix the issue
If a package is missing the help/warning information displays a link to the external missing package repository.

{img fileId="1682" thumb="box"}

It is __important to note__ that we have already a similar mechanism when looking to a page (not the admin control panels) that display a message for admins (I hope for admins only ?)

{img fileId="1683" thumb="box"}

---

At http://bsfez-11581-7999.show2.tikiwiki.org/tiki-admin.php?page=fgal&cookietab=6&highlight=feature_docs, enable "Use PDF.js".

It will display an alert (red background):

The first link "Missing tiki package :" with a link to : tiki-admin.php?page=packages

Then "npm-asset/pdfjs-dist-viewer-min" with a link to :https://asset-packagist.org/package/npm-asset/pdfjs-dist-viewer-min

It should display:
"A Tiki package is missing: Install mpdf/mpdf"
"Install mpdf/mpdf" should be a link to : tiki-admin.php?page=packages

1. Tells the user of a problem
2. Explain what is the problem
3. Suggest the user a way to solve the issue
4. Give the user the direction/action to solve the issue

That's the way a missing package should handled, anywhere.

I added "anywhere" because it seems we have different behaviours.
IE: Go to http://bsfez-11581-7999.show2.tikiwiki.org/tiki-admin.php?page=print
For the "PDF from URL" dropdown, select mPDF. The "PDF Orientation" error will show
"Missing tiki package: mpdf/mpdf" with parts with the same link. (not needed)

{file type="gallery" fileId="1771" showicon="y"}
tracker item
When viewing the bottom of a page the re-captcha shouldn't overlap with footer content
When you use re captcha the Privacy Terms panel overlap (right) element of the page.
You can always scroll to see what is under unless you are at the bottom of the page where the footer and bottom_modules elements are under it.

When recaptcha is enable we should add a margin-bottom so it is always possible to see the footer content.

{img fileId="1640" thumb="box"}
tracker item
Wiki inline help modal can't be used twice while editing a page (without reloading the page)
It is not possible to open several times the help modal {icon name="question-circle"} when editing content.
You need to use it once, save, reload the page and re-use it... and so on.

This is not way to edit content something that should be trivial for Tiki !
tracker item
Wiki parse is broken in custom modules
Adding wiki syntax in a custom modules will broke it:
* Changes are not always saved (editing is lost)
* Throw error
* Reload the page

Check http://bsfez-11581-7774.show2.tikiwiki.org
Try to add/edit one of the top message module.
tracker item
Wiki Structures: TikiLib::create_page: Cannot create page "Foo", it already exists.)
Creating a new page (e.g. -+Foo+- through the form in the wiki structure top bar produces a missleading error message:
{CODE()}
Error. TikiLib::create_page: Cannot create page "Foo", it already exists.)
{CODE}

In addition, another remarksbox is shown below saying:
{CODE()}
Success
Page Foo saved (version 1).
{CODE}

However, the page is created indeed, and within the structure also.

You can reproduce it here:
http://xavi-9794-7136.show2.tikiwiki.org/tiki-index.php?page=D1+Cover
u: admin
p: 12345

Create a page called foobar (or any other name for a new page inside the structure) and you will see the issue reproduced.
{img fileId="1314" thumb="box"}
tracker item
Wiki, Flagged Revisions; The select categories field is not showing all categories
{syntax type="tiki" editor="plain"}
On a Tiki23, I can activate the "Revision approval" feature for Wiki Pages at -+tiki-admin.php?page=wiki#contentadmin_wiki-3+-
Admin => Wiki page => Flagged Revision => Revision approval

This function then requires the user to select the categories that will be governed by this feature using the field "Revision approval categories".

This is workable if you have a few categories (like 10 or 20). However, if you have many categories and subcategories, it becomes very complicated and hard to understand how to manage them.

To add to the confusion, there is an "invisible" limit on the number of categories that will be displayed. By default, you will see only 50 category results because of the setting:
Look&Feel => Navigation => Limits => Maximum number of records in listings: 50

It is very hard to understand why you don't see all the categories if you are not a super power user.
tracker item
Wikiplugin, memberpayment; The period tooltip is not consistent with available options
On a Tiki23 I set a group (admin groups) to have a membership expiration date.
{img fileId="1718" thumb="box"}

Then on a wiki page I set up a memberpayment plugin : https://doc.tiki.org/PluginMemberPayment
I can set the hideperiod parameter with a dropdown of yes or no

Issues:
# The tooltip for "hideperiod " tells me the default is "1" (not yes or no)

Update: Re-tested on Tiki25 still here.
tracker item
Articles, WSoD when editing an article with Hebrew characters in the Heading field
On a Tiki23 I create a first article in "en" then create a "he" translation (new article) with everything in hebrew but __nothing in the body__ (using title and header field).
On save I have a WSoD.
If I refresh the page everything is here.

If I add a body (no hebrew in it, just an image) I got a Tiki system error:
{CODE()}
System error.
חזרה הודעת שגיאה זו:

Incorrect string value: '\xD7' for column `bernardsfez_tiki23`.`tiki_objects`.`description` at row 1
The query was:

update `tiki_objects` set `description`=?,`name`=?,`href`=? where `objectId`=?
Values:

להתאים את סביבת עבודה בדיוק איך שאתה אוהב
tiki-read_article.php?articleId=66
226

{CODE}

The article is saved and visible (while something seems weird in the display)

I tried to check if they were invisible characters or some specific word or letter that cause the issue and I couldn't find.

If I take the same text and remove it form the Heading to paste it in the body, it is working as expected.
---

It couldn't be reproduced on the show instance so I checked my database setting.

In my (Virtualmin) configuration file (my.cnf) I added :
{CODE()}
[client]
default-character-set=utf8mb4

[mysql]
default-character-set=utf8mb4
{CODE}

MariaDB System Variables look good:
{CODE()}
character_set_client utf8mb4
character_set_connection utf8mb4
character_set_database utf8mb4
character_set_filesystem binary
character_set_results utf8mb4
character_set_server utf8mb4
character_set_system utf8
character_sets_dir /usr/share/mysql/charsets/
check_constraint_checks ON
collation_connection utf8mb4_general_ci
collation_database utf8mb4_general_ci
collation_server utf8mb4_general_ci
{CODE}

tracker item
Articles; Source URL field take over the article Tiki URL in View Articles list
On a Tiki23 in articles on the tiki "articles" view the URL of the article is changed for the URL in the article source field if there is one.

It is demonstrated at http://bsfez-11581-8053.show2.tikiwiki.org/tiki-view_articles.php
The first article (playing poker) href point to the correct URL
The second article (This is my title) href point to a wrong URL

It is using the Source URL that was set at : http://bsfez-11581-8053.show2.tikiwiki.org/tiki-edit_article.php?articleId=1#content_edit_article1-5

The following list of article show the correct URL : http://bsfez-11581-8053.show2.tikiwiki.org/tiki-list_articles.php

tracker item
Setting to All the Limit wiki page categories setting broke plugins insertion in a wiki page after upgrading to Tiki23
On a Tiki21.4 the feature Category is enable.
This Tiki has 362 category with many child (child) categories.
Some Categories contains non alphanumeric characters.
Like :
* A) Music, 1) Albums, etc
* 1. Joe, 2. Jack, etc
* Archive : blabla, Archive : dododo

In the Control Panel => Categories. the option "Limit wiki page categories to those under this category" (feature_wiki_mandatory_category) is set to "All".
It is possible to add a plugin using the tools on a customised toolbar or using the help tools (on the toolbar)

---

After an upgrade to Tiki23 It is NOT possible anymore to add a plugin using the tools on a customised toolbar or using the help tools (on the toolbar). The existing plugins are working and copy/paste is working.
If I switch "Limit wiki page categories to those under this category" to none everything is working as expected.

I tried to reproduce on the instance attached to the ticket. But I was stopped in my attempts.
If I create a category with a colon ":" the instance crash with a 500.

It is weird that plugin insertion is broken due to something in the category...
They may be some "invisible" limit of the number of Categories you can have to avoid this bug.
It may be related to the character allowed in a category name.

This will be a problem for people upgrading from Tiki21.4 (LTS) to Tiki 23 and Tiki24 (I guess)
Wiki pages and Categories are popular features.
tracker item
It is not possible to select back "unknown" as page language once a language has been assigned
Once you have selected a language for a page (Editing => Properties or on page creation) other than "unknown" you can’t select back "unknown".

Sometimes it is better to keep a wiki page language as unknown and use the TR tags (plugins) to have a page adapting to different language. Therefor it is important to keep the option to have language=unknown pages.

!!How to reproduce
#Go to the instance
#Login as admin
#Edit the homePage
#Set the properties=>languages to "unknown" save
#Check again it is back to English

#Go to the instance
#Login as admin
#Create a new page
#Keep the properties=>languages to "unknown" save
#Check again language = Unknow.
#Change language to en and save
#Try to change it back to "unknown" and save, it is not possible anymore
tracker item
Modules, "advanced parameters" interaction need clarification
On Tiki23 when using a since last visit module the category filter is not applied.
If I set a module since last visit to display only items from category 125 I will see many more object than expected.


For exemple, there are only 13 items (no child) for the category "communication_(public)" at : https://tiki.org/categories
At : https://tiki.org/Bernard_tests I set a module I this:
{CODE()} {module module="since_last_visit_new" category="125"}{CODE}

I see MUCH MORE than 13 objects, including object for whom it is not possible to categorise them (users?).

---

While the documentation doesn't mention a category parameter, a user can apply it the most natural way for users, see the video:
{file type="gallery" fileId="1698" showicon="y"}

Seems that “Advanced” parameters are in fact parameters applied to the outer modules functionalities (module visibility and appearance) and not the specific module functionalities (what the module do)
tracker item
Newsletter, Subscribe plugin is broken and nothing is displayed when using it
The Subscribe newsletter plugin output white area instead of a form.
Check the instance.

Newsletter, Wikiplugin Subscribe; form to subscribe is displayed ONLY if the user is anonymous
tracker item
chosenGroup parameter is not applied when using a tracker plugin to register
On a Tiki23 I set login to use user tracker information and a corresponding tracker.
User can register and they are assigned to group "Registered".

My use case is that when registering from a specific page the user should be assigned to a specific group.
The group "Mygroup" with the option "User can assign himself or herself to the group" to y (enable)

For this I use a tracker plugin and set it like this : registration="y" chosenGroup="Mygroup" validateusers="y"

The user using this tracker plugin will be assigned to registered no matter what.

Check the instance.

---

In the html I see a hidden input to assign Registered to the variable chosenGroup
{img fileId="1681" thumb="box"}

I tried to hard coded the value (<input type="hidden" name="chosenGroup" value="Mygroup">) at register-groupchoice.tpl to test but it didn't work.
tracker item
Tracker, plugin Trackerfilter; Compute function (sum or avg) calculation are broken
As show on the instance, compute display always a result of "1" and doesn't perform a sum calculation as expected.

Average calculation is working fine so it should be a very hard task.
Something was broken.

Would be great as an "extra" to have the total aligned as the column value (if a col is part of a calculation align it values right).
---
Update 31/01/2022. I updated the instance and check back the case and I confirm the issue.

More details, I'm not using table sorter but the sum parameter from the tracker plugin.
There is no doc available at https://doc.tiki.org/PluginTrackerFilter so my setup relies on the inline documentation in the plugin.

{img fileId="1721" thumb="box"}

Using this I setup 2 trackerfilter to test "sum" and "avg" and both failed.
tracker item
Freetags, Modules, SEFurl; action_similarcontent display broken links for tracker items
On Tiki23 using Freetags, Modules, SEFurl; action_similarcontent display broken links for tracker items.
From what I have seen this is not systematic... I have the feeling it is related to the item title.

{img fileId="1700" thumb="box"}
tracker item
Show PHP error messages