Fullscreen
Loading...
 
Skip to main content

Category: 24.x

24.x
Show subcategories objects

Name Type
File gallery, categories; editing a file and assigning a category goes to a WSoD on save (but all is saved)
If you save a page that has a description in Hebrew and categorise it (it wasn't categorised previously) on save a WSoD is displayed but the data is saved.

It happens every 3 pages... and kind of unpredictable.
I put this ticket on side until I find a better way to reproduce.
tracker item
General, Navigation; Enabling site close option return a WSoD (error 500) if you are not logged as admin
On a Tiki24, when I enable admin=>Genral=>Navigation=>Close site only if I'm logged as admin I can see the site. Anonymous trying to reach the site get a WSoD.

This is the error in my PHP log.
I can't reproduce on a show instance.

{CODE()}
Oct 12 20:23:41 server001 php: PHP Fatal error: Uncaught Error: Call to undefined function getcookie() in /home/tsaharoniki/public_html/lib/tikiaccesslib.php:362
Oct 12 20:23:41 server001 php: Stack trace:
Oct 12 20:23:41 server001 php: #0 /home/tsaharoniki/public_html/lib/tikiaccesslib.php(312): TikiAccessLib->retrieveTicketFromCookie()
Oct 12 20:23:41 server001 php: #1 /home/tsaharoniki/public_html/lib/tikiaccesslib.php(1507): TikiAccessLib->setTicket()
Oct 12 20:23:41 server001 php: #2 /home/tsaharoniki/public_html/lib/setup/site_closed.php(19): TikiAccessLib->showSiteClosed()
Oct 12 20:23:41 server001 php: #3 /home/tsaharoniki/public_html/tiki-setup.php(88): require_once('/home/tsaharoni...')
Oct 12 20:23:41 server001 php: #4 /home/tsaharoniki/public_html/tiki-register.php(24): require_once('/home/tsaharoni...')
Oct 12 20:23:41 server001 php: #5 {main}
Oct 12 20:23:41 server001 php: thrown in /home/tsaharoniki/public_html/lib/tikiaccesslib.php on line 362
{CODE}
tracker item
Gibberish is displayed instead of Hebrew, French accents are broken after updating a Tiki
On a real server using Debian 10 + Virtualmin as set following : https://bsfez.com/article58-Install-Tiki-Wiki-from-Git-Virtualmin-and-Debian-10-on-AWS-EC2-instance Hebrew and French accent are now broken in module only (so far).

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

Same on a fresh local Tiki24 Beta

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

On both case I used to upgrade an existing database. (tiki22 and tiki24alpha)


I created an instance on show2 where it is working fine.
I compared http://bsfez-11581-8080.show2.tikiwiki.org/tiki-check.php with mine https://www.bernardsfez.com/tiki-check.php and there are quite the same about encoding.
Version 10.3.31-MariaDB-0+deb10u1 (my server)
Version 5.7.34 (my local)
Version 10.1.48-MariaDB-0ubuntu0.18.04.1 (show instance)

I reverted the last update and things are back to normal (this ticket).
So the use is caused by one of these:
Prevent too-narrow side columns when fixed-width pref is set; update...
Gary Cunningham-Lee authored 1 day ago
dc087cb8
Revert "Fixed custom module name update creates new custom module"
Jonny Bradley authored 3 days ago
f1a4233b
[UPD][FIX] Kanban: added feature user permissions control; UI minor updates and fixes
Andon Andonov authored 4 days ago
bf3b6f1f
[FIX] Fix issue with constant TIKI_PATH already defined with installing tiki
Jorge Sá Pereira authored 4 days ago and Jorge Sá Pereira's avatar Jorge Sá Pereira committed 4 days ago
117d8b00
[FIX] Translate tags on installer page
Henock authored 1 week ago and Jorge Sá Pereira's avatar Jorge Sá Pereira committed 4 days ago
7ec89d7a
[FIX] freetags: Limit the query getting tag suggestions to the $max number...
Jonny Bradley authored 6 days ago
aeb630dd
[FIX] categories: Cache the category tree html, takes a while to build with over 1,000 categories
Jonny Bradley authored 6 days ago
4c75359c
[FIX] modules: Check if there are any divs in a module's output first before using one
Jonny Bradley authored 6 days ago
59278409
[FIX] Fix module printing bugs
Henock authored 1 week ago and Jonny Bradley's avatar Jonny Bradley committed 6 days ago
f795cb4d
[FIX] i18n: Don't ask which language to use for a new wiki page but there is...
Jonny Bradley authored 6 days ago
6a88b93b
[FIX] lastmodif_pages: Make the number of days to search for modified pages...
Jonny Bradley authored 6 days ago
11811b22
[FIX] login: Start a session when showing the login module if...
Jonny Bradley authored 6 days ago
290475a2
[FIX] imagegals: Even more tidyup from image gallery removal (was breaking rename username)
Jonny Bradley authored 1 week ago
fc0a57ec
Fix broken pipelines
Jorge Sá Pereira authored 1 week ago
e1ab4c0f
[UPD] Updated composer.lock
Henrique Borba authored 1 week ago and Marc Laporte's avatar Marc Laporte committed 1 week ago
0ce38db9

tracker item
In a file gallery with several pages, the Slideshow should start from the picture displayed on the page
On file gallery you have a slideshow option (admin => listing).
Once enabled it will display a slideshow button at the top of gallery pages.
In browse mode you can navigate from page to page: http://bsfez-11581-7931.show2.tikiwiki.org/tiki-list_file_gallery.php?galleryId=4


When clicking it start a slideshow that display images ===from the first file in the gallery.===

When you have several pages this is not user friendly and is bad UX. (imagine you have hundreds of pictures)

To demonstrate:
*In the edit gallery Iisting setting I set 2 image per pages (row) to have several pages
* I used small images but bigger images or on mobile the image will cover all the screen (you won't see the screen below the slideshow like in my screenshot)

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

ADDITIONAL INFORMATION;
Seems that the URL and the slideshow should use an offset parameter but it is not working.
Exemple: http://bsfez-11581-7931.show2.tikiwiki.org/tiki-list_file_gallery.php?galleryId=4&offset=4
tracker item
Log-in; Registration goes to a WSoD on Tiki24 (user is registered)
Context: I have a Tiki24 I updated today (3 weeks commits) where a [https://doc.tiki.org/PluginRegisterMemberPayment|Plugin Register Member Payment] stopped to work.

I tested on real life Tiki24 (upgrade).
I tested on a new Tiki 24 install
I tested on a new Tiki 24 install on my local
I re-tested on local using firefox and chrome.

When registering a new user has a white page on submit.

php_error.log empty

apache_ssl_access.log
-+ ::1 - - [19/Dec/2022:13:52:48 +0200] "POST /tiki-register.php HTTP/1.1" 200 - +-

apache_ssl_request.log
-+ [19/Dec/2022:13:52:48 +0200] ::1 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "POST /tiki-register.php HTTP/1.1" - +-

{mediaplayer src="display1918"}

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

I tested on a new Tiki25 install on my local and it is working fine.

Tested on the show instance with the same results, WSoD.
tracker item
Login, Captcha; If set together, Use reCAPTCHA (Google) and CAPTCHA questions are conflicting and don't allow registration
Login, Captcha; If set together, Use reCAPTCHA (Google) and CAPTCHA questions are conflicting and don't allow registration.

On a Tiki 24 and the master instance.
* Enable registration
* Enable Anonymous editors must enter anti-bot code (CAPTCHA)
* Use reCAPTCHA (Google recaptcha 3 and set your account information)
* Enable CAPTCHA questions and add some

On the registration page no questions is presented.
An error is displayed "You have mistyped the anti-bot verification code. Please try again."

Instance shows the issue (you will need to fill FIRST your recaptcha information).
tracker item
Plugin, registermemberpayment; Parameters are not applied for the Plugin Register Member Payment
I see strange behaviour when setting the "PluginRegisterMemberPayment".

On my fist save it show something close (I didn't ask to see the users... but may be because I'm admin...) to the parameters.

Then after a refresh logged as admin or logged as registered user it doesn't show the settings. Using an incognito windows and flushing the cookies doesn't helps. (on the first browser I'm admin and a simple user on the second)

{mediaplayer src="display1855"}

I categorized it as a regression, because it used to work fine and was broken.

Documentation page: https://doc.tiki.org/PluginRegisterMemberPayment

It is reproducible, see the show instance.

By the way if I load the instance page as Anonymous I see an error message "Insufficient privileges". I don't see an information in the doc about not allowing Anonymous to see the plugin, On the contrary the plugin is described as a way to Register and Pay.
tracker item
Trackers, Search; With Restrict non admins to wiki page access only enable, item content shouldn't be visible in Tiki Search
On a Tiki24 I set a tracker with "Restrict non admins to wiki page access only".

Doing so, the item content is visible through plugins (like list and customSearch) for users with corresponding permissions.

However if I use the Tiki search (tiki-searchindex.php) in the results and in the Search control panel, search Items to display in search results, Default where, Entire site is enable anywone can see parts of the trackeritem content for this tracker.

Tiki Search is not a Wiki page, therefore it shouldn't display the items in a tracker where Restrict non admins to wiki page access only" is enable
tracker item
Structures, Wiki pages; It should not be possible to create a page through structure with an "illegal" name
On a Tiki24 freshly updated it is possible to create pages with an illegal name as set on Tiki:

^
Invalid page name
The page name specified contains unallowed characters. It will not be possible to save the page until those are removed: /?#[]@$&+;=<>
^

Using Structure to create a page bypass the check and once created the page exist but is not viewable or editable and structure cannot be modified (impossible to move the elements in the structure).

Reproduced in the show instance, check the last page name of this structure.

http://bsfez-11581-8198.show2.tiki.org/tiki-edit_structure.php?page_ref_id=159
tracker item
Module, Trackers, Multilingual; Since last visit module show code if a trackeritem is Multilingual
On a Tiki24 the since last visit new display the database value (code) for a multilingual tracker instead of the value expected for the actual selected language. I suspect a regression introduce by recent work on the module.

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

Reproduced here: http://bsfez-11581-8140.show2.tiki.org
tracker item
Tracker, Plugin List; The tracker properties popover is not displayed in the plugin List
I set in the tracker properties fields that should be displayed in popover and they are displayed in the tracker interface : http://bsfez-11581-8233.show2.tiki.org/tiki-view_tracker.php?trackerId=1

I created a plugin List using a table output and use a format trackerrender on the title which should allow the popover to be displayed also on the table but it doesn't work.

tracker item
Trackers, Multi-Select, List and CustomSearch; It is not possible to filter properly a multiselect field
On a Tiki24 If I try to filter a Multi-Select field I have wrong results, see the instance. (http://bsfez-11581-8408.show2.tiki.org/tiki-index.php)

I tested with the plugins List and CustomSearch.
I also tested adding the _text parameter to the multi-select field (behavior differ)

I also changed the Tiki, Search, Default Boolean Operator (/tiki-admin.php?page=search) and it didn't change the wrong result output.
tracker item
WIP: Trackers, Item Link; Format for Customising Multiple Fields is now apply ONLY in view mode the selector shows fields as unformatted
On a Tiki24, on a tracker I have an item link.
On the option I select Multiple fields, Dropdown and in Format for Customising Multiple Fields I do some customisation.

When the item is in editing more (tracker edit, inline edit) the display is unformatted when I'm in view mode Format for Customising Multiple Fields is applied.

IE:
Multiple Fields;
* ~~#99F:Country~~
* ~~#99F:Name~~
* Other fields

Format for Customising Multiple Fields;
%1 from %0

Expected to be seen in the dropdown: Bernard from Israel.
Result: Israel Bernard

tracker item
Trackers; Avoiding silent duplication of "children" items when duplicating a single item
''Note that the "Clone tracker items" option name has been changed for "Duplicate tracker items" in Tiki25.''

On tracker control panel it is possible to enable the option "Duplicate tracker items (Allow copying tracker item information to a new tracker item. ) "

When duplicating an item, if this item is used in another tracker through an item link the "children" items will be duplicate too. Victor ? ported to my attention that this code/feature is here since 2012.
While it was added 10 years ago and trackers or tracker usage complexity has greatly improved and changed, other people may be using it this feature as is. (so it need to be preserved)
The code is shared and used by the clone_tracker_item of the pluginListExecute.

I see several issues;
# This is transparent and the user is not aware of this silent multiplication of items .
# Some information are not added to the duplication (like the category)
# Fields with automatic value assignment may received an unwanted (or unexpected) value. (user-selector creator or last editor will be filled automatically).

Here an video to illustrate the issue;

On tracker A I have a product.
On tracker B I have 12 orders with an item link to the products in the tracker A.

After I duplicate a single product in tracker A, it will create also a duplicate for each item it is link to so now I have 24 new product items and as the tracker use a user selector field set to creator, admin is now the value of the field.

{file type="gallery" fileId="1817" showicon="y"}

To answer the problem we need to discuss and have a consensus.

- We need a new option for the user to select if only the targeted item should be duplicated (new behaviour) or if the targeted items + all children should be duplicated (as it is today).
-- Where the option selection should be set ?
* Option1: As it is related to the Duplicate tracker items it should be a child preference of the option on the control panel : tiki-admin.php?page=trackers but then it will be trackers wide
* Option2: As it related to the item-link field, an option to allow duplication if parent item is duplicated. This will allow to have some tracker behaving one way and other trackers the other way.
* Option3: When duplicating an item a check if children exist and if yes a modal/option/selection screen with a checkbox: "Do you want to duplicate also this item children" (y/n checkbox)

- What should be the default ?
- The clone action in the plugin ListExecute ?
tracker item
User registration tracker plugin option shouldn't modify the registration fields set by the admin
Using a Tiki at tiki-admin.php?page=login you can set a tracker to collect users information.
In the group (registered) tiki-admingroups.php you can define what field to display in the registration form.

This work fine.

You can also use a tracker plugin in a wiki page to fill a tracker item and include a registration.
However the input field displayed are limited to :
* Username *
* Email *
* Passcode to register * (if set)
* New Password *
* Confirm password *

And NOT the list of field you set in your Group (as above).
The tracker plugin Registration option shouldn't modify the fields require for the registration and the way the admin has set it.

I created an instance to demonstrate.

While __you are not logged__ if you go to register :http://bsfez-11581-7961.show2.tikiwiki.org/tiki-register.php

The page show ALL the fields I added for registration at :http://bsfez-11581-7961.show2.tikiwiki.org/tiki-admingroups.php?group=Registered

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

Good.

Compare to the registrations fields proposed in the tracker plugin and you see all are missing.
http://bsfez-11581-7961.show2.tikiwiki.org/tiki-index.php?page=HomePage

tracker item
Wiki page, Slideshow, Slideshowslide: Adding SlideshowSlide to a Slideshow plugin broke the slideshow
On Firefox and Safari OSX on the congratulation install page I set the slideshow plugin it worked just fine.

Then I add the SlideShowSlide plugin at some point it stopped to work.
Sometimes I only see a black background (the default slide) and the slideshow cog icon.
Sometimes all the slides are displayed together and the setting (cogs) menu ne s'ouvre pas.
And more...

I updated the Tiki, re-run setup.sh, cleared Tiki cache, restart the browser, cleared the history (cookies), force refresh, use new tab, use incognito tab, etc.
I create a new page and copy a different slideshow working on the show instance.

Not working anymore.

I rolled-back and recreated a new page with a new slideshow on the 2 browsers I was experimenting the page. Nothing work anymore.

If I open a third browser that never saw the page it is working back. ?

SlideShowSlide is not working and at some point it broke reveal.js.
Something is stored/stuck somewhere and it forbid me to use the slideshow plugin.

In the console I can see the following.
{CODE()}
Uncaught InternalError: too much recursion
dispatchEvent https://www.bernardsfez.com/vendor_bundled/vendor/npm-asset/reveal.js/js/reveal.js:1995
layout https://www.bernardsfez.com/vendor_bundled/vendor/npm-asset/reveal.js/js/reveal.js:2333
onWindowResize https://www.bernardsfez.com/vendor_bundled/vendor/npm-asset/reveal.js/js/reveal.js:5681
dispatchEvent https://www.bernardsfez.com/vendor_bundled/vendor/npm-asset/reveal.js/js/reveal.js:1995
layout https://www.bernardsfez.com/vendor_bundled/vendor/npm-asset/reveal.js/js/reveal.js:2333
onWindowResize https://www.bernardsfez.com/vendor_bundled/vendor/npm-asset/reveal.js/js/reveal.js:5681
dispatchEvent https://www.bernardsfez.com/vendor_bundled/vendor/npm-asset/reveal.js/js/reveal.js:1995
layout https://www.bernardsfez.com/vendor_bundled/vendor/npm-asset/reveal.js/js/reveal.js:2333
onWindowResize https://www.bernardsfez.com/vendor_bundled/vendor/npm-asset/reveal.js/js/reveal.js:5681
{CODE}

I updated, re-run setup.sh, cleared Tiki cache, restart the browser, cleared the history (cookies)...
Nothing.
tracker item
Wiki, Permissions, List; after a recent Git update it is not possible to use {{page}} variable if anonymous
Module execution failed if the visitor is anonymous.
Anonymous can't see listpages.php even if they have Wiki admin permissions

This filter is no longer work if the user is anonymous

{CODE()}
{filter field="title" content="~np~{~/np~{page}}"}
{CODE}
Instance coming... (not reproducible with default settings... more tomorrow)
tracker item
Wishlist is offline
If you do not load a specific bug tracker (e.g. by a bookmark), but insted start on the search page for bugs and feature requests, the whish list, under

https://dev.tiki.org/Wishlist

you simply get a 503 ("Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.")...

Thanks
hman
tracker item
Wrong generated link from category links.
This Page: https://tiki.org/SingleSignOn contains a link to LDAP in the "category links" but it links to https://tiki.org/19 and not to https://tiki.org/LDAP. The link is generated so I cant change it and it mostlikely affects other areas too.

{CODE(caption="WikiPlugin" theme="default")}{CATEGORY(id=>9,sub=>true)}
{CATEGORY}{CODE}


tracker item
WYSIWYCA for Wiki Links
Wouldn't it be great if a wiki link (the standard [] syntax) would check whether the current user has rights to the page that it links to? THat way we could turn off the hyperlink if the user cannot open the page anyway...THat would add some processing overhead, but I am sure that would be manageable.

Don't know where to begin, though, I do not really understand the wiki processing in Tiki...
tracker item
WYSIWYG editor removes certain syntax (such as "~np~") from the page
The WYSIWYG editor removes some syntax from the page. Such as "~126~~110~~112~~126~...~126~~47~~110~~112~~126~". It also converts characters, which are specified with the "~NNN~" syntax to ordinary characters.

To reproduce:

- Create a new page with the non-WYSIWYG editor.
- Enter "~126~~110~~112~~126~! XX~126~~47~~110~~112~~126~"
- Save the page. It shows up as intended: "! XX"
- Open the page and switch to the WYSIWYG editor.
- Click on "Save". Now the "XX" shows up as a heading.
- Open the page again and switch to the non-WYSIWYG editor. The "~126~~110~~112~~126~" and "~126~~47~~110~~112~~126~" parts have vanished.

With quoted characters, such as "~126~033~126~" it's similar. They get converted to non-quoted characters when the page is opened in the WYSIWYG editor and are saved that way when the page is saved.

This bug makes the WYSIWYG editor next to unusable.
tracker item
Year view in calendar displays in one condensed row
When the calendar is in year view, all 365 days are displayed in one horizontal row. A look at the page source shows -+ tbody role="presentation" +- contains -+ tr role="row" +-, which contains many, many instances of -+ td class="fc-daygrid-day fc-day fc-day-sat fc-day-past" +- , not just seven instances for the seven days of the week as is done in the semester view.
tracker item
Articles, Unified-index; Indexing errors when a Tiki article has a url source
On a quite big and several time upgraded Tiki all unified-index errors were running without errors.
Since a few month I see an error for each article that has the field source filled with an URL.

2022-11-14T07:55:37+00:00 INFO (6): addDocument article 470 {"memoryUsage":"38.5 MiB"}
2022-11-14T07:55:37+00:00 ERR (3): NOTICE: Trying to access array offset on value of type bool {"code":null,"file":"/var/www/vhosts/xxxx/xxxx/lib/core/Search/ContentSource/ArticleSource.php","line":53}
2022-11-14T07:55:37+00:00 ERR (3): NOTICE: Trying to access array offset on value of type bool {"code":null,"file":"/var/www/vhosts/xxxx/xxxx/lib/core/Search/ContentSource/ArticleSource.php","line":56}


{CODE(caption="lib/core/Search/ContentSource/ArticleSource.php, lines 47:59")}
$rss_relations = TikiLib::lib('relation')->get_object_ids_with_relations_from('article', $objectId, 'tiki.rss.source');
$sitetitle = '';
$siteurl = '';
if ($rss_relations) {
$rssId = reset($rss_relations);
$rssModule = TikiLib::lib('rss')->get_rss_module($rssId);
if ($rssModule['sitetitle']) {
$sitetitle = $rssModule['sitetitle'];
}
if ($rssModule['siteurl']) {
$siteurl = $rssModule['siteurl'];
}
}
{CODE}
tracker item
Trackers, Duplicate; Keep the user selector field as is even when admin is duplicating
''Reviewed with Tiki25''

--If the auto-assign is set to "Creator" and the admin edit an existing item with a null username (creator deleted, error with duplicate feature, etc), the admin username will be assigned and saved. This can happen even if admin doesn't see the field (if he use a modal to modify some preferences or part of the item).--
''Not able to reproduce anymore, may have been fixed''


If the admin duplicate an item that has a another user selected in a user selector field, the new item (the clone) will be saved with the admin for user.

{FADE(label="Instance")}
__Tiki show trunk and Tiki show 24 are not working as expected__ but I could reproduce the bug on a Tiki24 instance:
http://bsfez-11581-7751.show2.tiki.org/tiki-view_tracker.php?trackerId=1

If you want to reproduce you can log as admin/12345 go to the tracker a duplicate an item from a different user using:
http://bsfez-11581-7751.show2.tiki.org/tiki-tracker-clone_item?trackerId=1&itemId=1&modal=1
{FADE}
{img fileId="2021" thumb="box"}
tracker item
Show PHP error messages