Loading...
 
Skip to main content

Category: 21.x

21.x
Show subcategories objects

Name Type
File Gallery: When moving files from database to directory, the button label doesn't toggle
{syntax type="tiki" editor="plain"}
{img fileId="1787" thumb="box"}
{img fileId="1788" thumb="box"}
{img fileId="1789" thumb="box"}
{img fileId="1790" thumb="box"}

So tested with current master (25.x) and its the same behaviour.
Moving from db to dir works, but lable dont toggle. And pressing it again dont make files disappear in dir so I assume it might be that the function to move gallery items from directory back to database isn't working right now.

So its consistently wrong from at least from 21.x
tracker item
Files (images) become corrupted after upload (?)
I’ve being fighting with a weird phenomena since I’m trying to upgrade Tikis 20 to Tiki21.

My server is ClearOs 7 and I use php7.2 and file directory a storage.

I upload files, most appear ok and can be displayed.
Once in a while the upload is ok and the image appear in the file gallery but can’t be displayed in a wiki page sometimes the image doesn’t appear in the file gallery itself. ( I see a jpg or a png icon over the file in the file galleries)

Metadata shows:
{CODE()}

Metadata Extraction Time

Tuesday February 25, 2020 14:43:57 IST
File Data
File Type

JPEG
File Size

8916 bytes
Width

80 pixels
Height

80 pixels
{CODE}

To solve this:
#I re upload (new version)
+Sometimes when I upload a new version (or replace since I set archives to none) and it work or sometimes I have a WSoD:
+{img fileId="1362" thumb="box"}
+{img fileId="1363" thumb="box"}
+{img fileId="1364" thumb="box"}
+I also get from time to time :
++Error
++Potential cross-site request forgery (CSRF) detected. Operation blocked. Reloading the page may help.
# If not solved I delete the files in the file gallery and upload a new image (it create a new file object).

When I copy back the folder on my local server (to test on a clone before upgrading) or create a clone on the same server most of them are not displayed (jpg or a png icon).
On my local OSX if I preview the files from the finder I can see the image, but Tiki doesn’t:
{CODE()}
<img src="https://domaine.fr/dl18?display" alt="The image “https://domaine.fr.fr/dl18?display” cannot be displayed because it contains errors.">
{CODE}

Once everything solved, I do a files:check from the Tiki console.
{FADE(label="Console.php output on files:check" icon="y")} php console.php files:check
== Image Gallery ==
Configured to stores files in Database
Files in DB: 0
Files on Disk: 0
No Issues found

== File Gallery ==
Configured to stores files on Disk: ../domain_files, files/
Files in DB: 0
Files on Disk: 53
Found 2 Issues, details below:
The following files are missing
+----+----------------------------------+----------------------+
| Id | Name | Path |
+----+----------------------------------+----------------------+
| 5 | 0d28012a77a423c970d528bfd96091dc | ../domain_files |
+----+----------------------------------+----------------------+
The following files are unknown, exists in the folder, but not in the database
+-----------+----------------------+
| Name | Path |
+-----------+----------------------+
| index.php | ../domain_files |
+-----------+----------------------+
...{FADE}
It look ok (the extra file is certainly because of my numerous attempt during the last 3 days but not related to this issue).

I create a dump of the database and copy the Tiki themes folder and files folder on my local (I delete the old one) using Cyberduck (something I’ve being doing for ages) to create a local clone.

I check the files (OSX preview) and I can see the images properly displayed.
I create a new database and dump in the sql file (the database).
I create a new Tiki (git Tiki 20) and do the install process
I place the files folderand the theme folder where it should be.
I place the theme
I re update DB, re-index files, clear cache (you never know)
And check files using the console and I got the same than on my remote.
Look to me like a perfect clone to me.

But now, start the chaos. (can’t say there is a pattern) :-)
*A few images are not displayed on the wiki page.
*A few of images show the jpg or a png icon over the file in the file galleries. (images that are displayed in the wiki pages)

I tested this behaviour and got similar results cloning to Tiki20x and to Tiki21x.
In time and after re-uploading problematic files I narrowed the issue to a few images and I re-upload them manually in my clones.

We are talking about a few files (53) and I’m enough experimented and wanted to report properly the problem (and I’m stubborn :-) ) to solve one by one the issues. I doubt Tiki admin upgrading have the same "patience"...
tracker item
Files tracker field type non-modal option prevents uploading a file
I create a tracker with a ''Files'' field

If the option of the field ''Upload In Modal'' is ''No'', it is impossible to upload a file.

The message I get is:
^ 194x258_Marc Laporte.jpeg (Potential cross-site request forgery (CSRF) detected. Operation blocked. Reloading the page may help.) ^

Reloading makes no difference.

I tried in 18.x also and I got no error message but I got the "Loading" turning circle forever, which is a bit different but it does not allow uploading either :-(
tracker item
Fix the wiki syntax parser to exclude closing parenthesis from the external URLs links
When URL is entered in a parenthesis it takes the closing one and includes it in the external link:

(E.g. Google -- https://google.com/)

The expected result would be that the ")" is not included as part of the link.
tracker item
Footnote sameas tag does not function
In Tiki21 it appears that the ~np~{footnote sameastag="widget"}~/np~ does not function in Tiki21.x
It does function in my Tiki18, I have not tested 19 and 20.

I will create a show instance.

Also you can see the live issue on my wiki at https://thepatriotwoodwiki.org/Glossary-of-Woodworking-Joints

See "Butt" for the original footnote tag, and see "Box" for the sameas tag not functioning.
tracker item
Editing a Page: Footnote UI (Plugin Helper) Fails to Open After First Entry
Using the Footnote UI while editing, I can enter a footnote the first time only during a single editing session. If I try to use the Footnote UI a second time during the same editing session, the UI fails to open.
I have to save the first edit completely, then edit again, and use the Footnote UI to add an additional footnote.

So, the UI will only open once, per editing session.
Bug will be shown on "show instance".
tracker item
Form element "select" are missing "custom-select" in CSS class to refine UI of themes using Bootstrap
The form element "select" in forms of Tiki Forum and in other features of Tiki is missing the term (selector) "custom-select" as part of the CSS class to render it correctly in the Bootstrap theme design.

Making this simple change would greatly improve and unify the UI of Tiki with the currently available Themes.

See attached screen shot of added term in inspector for Tiki Forum feature.

{img fileId="1380" thumb="box"}
tracker item
Forums, Multilingual; Forum names in the breadcrumbs (used in forums) are not translated
Forums tools and names support Tiki Multilingual feature but the breadcrumb that doesn’t display translation.
tracker item
Forum pagination is broken when there is more than one page for a thread on tiki.org
At https://tiki.org/forumthread70022-mpdf-Generates-Black-PDF-docs at the bottom it shows:
Page: 1/2 [Next]

The link to see the second page is on the Next string.
When you click it you can see the second page... But you can’t return back as there is no more pagination.

UPDATE 22/01/2019: Not fixed.
When you click it you can see the second page... But you can’t return back as there is no more pagination links.

UPDATE 22/01/2019: Another exemple at https://tiki.org/forumthread71032-Social-Login-unable-to-auto-create-user there are 5 pages and you have to load them all one after the other if you want to look at page 5. (no direct link for the last page)
tracker item
Forum post preview deletes post content
Currently in the tiki.org forums ("Last update from SVN (20.2svn): Monday 02 December 2019 04:56:58 JST- REV 73848"), when you preview a post/reply, the page refreshes in its original state before you wrote the post/reply. The post/reply content is lost.

Just happened to me on 21.x - dull {sign user="jonnybradley" datetime="2020-03-23T12:16:01+00:00"}
tracker item
Forums - if the 'Topic' field is configured as mandatory, it does not work
When a user clicks 'post' but forgets to enter the 'Title', it ends up in an error message and the message is lost:

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

I do not know why the message says "...title __AND MESSAGE__..." as I entered a test message.

br,
Mike
tracker item
Fresh install sets default directories for file storage which do not exist on fresh installs
On a new 21.x install, after light configuration, in page "tiki-admin_system.php" I have a recap of places where files are stored. Two of these places do not actually exist.

This means the features will fail out as activated of the box :-(

^Directories to save
* files/forums/ (Directory is not writeable)
* storage/fgal/ (Directory is not writeable)
* img/trackers
* img/wiki
* img/wiki_up^

tracker item
File Galleries: very long gallery name causes fatal error
When the name of a new gallery is very long, an error occurs:
{img fileId="1357" thumb="box"}
tracker item
Gallery file deleted after edit
This bug only happens when the file gally is storing files in the directory structure.

If you upload a file through the file gallery and then click: list view -> edit properties -> save

The file now appears to be deleted.
tracker item
GanttChart changes in StartIsMilestone and EndIsMilestone don't get saved across editions
For some reason, GanttChart changes in StartIsMilestone and EndIsMilestone don't get saved across editions.

What needs to be changed? Profile ((pr:GanttChart)) defines them so far as checkboxesm but maybe it's not the right field type. Should the param value stored in Tiki be yes, y, or true or something else?
Or maybe the issue is somewhere else?

Help is appreciated to get this (currently broken) feature up & running by default when applying the demo profile.

Thanks!

You can reproduce this issue by means of applying the ((pr:GanttChart)) profile.
tracker item
GDPR: Email Validation for Tracker Item Creation
Tracker form can be used as contact forms and subscription forms.

Especially when it comes to subscription form the GDPR regulation from 2018 makes it necessary to do some kind of validation - usually with a validation email similar to the validation email Tiki optionally sends out when a user registers.

If I would use Tracker forms for validation of subscriptions or registrations (ex for conferences) the tracker should have the option to automatically send a validation email and a filter (index!) to display validated and non-validated items and further more an option to manually validate ... in case there has been personal or phone contact between office and registrant.

There is a validation option in Trackers, but that seems to address another problem and is not usable for the described type of use cases.
See here: ((doc:Tracker-Field-Validation))

Feedback welcome and thanks for considering,
regards
Torsten
tracker item
geolocated tracker items not shown in map any more in Profile GeoCMS Maps since 21.x
doing some quick tests with tiki 21.x, I just noticed that geolocated tracker items are not shown in map any more in Profile GeoCMS Maps since 21.x
They still show fine in 20.x svn as of today {sign user="xavi" datetime="2020-02-22T13:10:20+00:00"}
Some extra tweak is needed in the profile for the feature to work in 21.x? some regression?
hth

Reproduced here:
http://xavi-9794-7275.show2.tikiwiki.org/tiki-index.php?page=Map-of-Tracker-items
u: admin
p: 12345
(using trunk, since 21.x is not available in the dropdown to reproduce in show2.t.o)
index rebuilt already
See for instance this tracker item which is geolocated,
http://xavi-9794-7275.show2.tikiwiki.org/tiki-view_tracker_item.php?itemId=1&from=Map-of-Tracker-items

and all of them are displayed as usual when applying this "GeoCMS Maps 18" profile in previous tiki versions.
---
Still present this issue with trunk updated by git as of today {sign user="xavi" datetime="2020-07-26T18:10:00+00:00"}
tracker item
H5P directory is not writable: storage/public/h5p + missleading success and error messages combined
when testing how to use ((h5p)) in Tiki, I saw this message several times when setting up the whole process:

-+H5P directory is not writable: storage/public/h5p+-

The first times, the folder hadn't been created. (sorry I tested many things, and I didn't record - nor recall - all the steps I did).
The last time I saw that message, the folder had been created indeed by Tiki, and with permissions for apache to write in it. So this last time might have been a false positive error message.

Reproduced in a show2.t.o, while showing also many other error messages combined with success messages (there is room for improvements in usability, I reckon):
http://xavi-9794-7160.show2.tikiwiki.org/tiki-ajax_services.php?controller=h5p&action=embed&fileId=1
u: admin
p: 12345

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

^
Error

H5P directory is not writable: storage/public/h5p

Success

Your site was successfully registered with the H5P Hub.

Success

Library cache was successfully updated!

Error

The system was unable to install the Drag N Bar component from the package, it requires a newer version of the H5P plugin. This site is currently running version Drag N Bar, whereas the required version is Drag N Bar or higher. You should consider upgrading and then try again. (code=api-version-unsupported)

Error

The system was unable to install the Drag and Drop component from the package, it requires a newer version of the H5P plugin. This site is currently running version Drag and Drop, whereas the required version is Drag and Drop or higher. You should consider upgrading and then try again. (code=api-version-unsupported)

Error

The system was unable to install the Drag Question Editor component from the package, it requires a newer version of the H5P plugin. This site is currently running version Drag Question Editor, whereas the required version is Drag Question Editor or higher. You should consider upgrading and then try again. (code=api-version-unsupported)

Error

The system was unable to install the H5PEditor.Wizard component from the package, it requires a newer version of the H5P plugin. This site is currently running version H5PEditor.Wizard, whereas the required version is H5PEditor.Wizard or higher. You should consider upgrading and then try again. (code=api-version-unsupported)

Success

Added 11 new H5P libraries.

Error

Click here to rebuild index
^
tracker item
H5P Feature not fully operational
After installation of H5P, some H5P objects are not installable. Some others run correctly.

For instance : "Image Hotspots" can't be installed with the error message : "Validating h5p package failed."

Created in h5p.org site, then uploaded in Tiki, such a file can't run in Tiki 20.
Error message : "H5P Plugin: Cannot find H5P content with fileId: 12."
Found in PHP errors : "No AJAX service matches request parameters (404)"

Searching in H5P.org, it seems that our php library for this plugin needs an update.

Tested with a fresh installation 20.1 on xampp 7.3.9 AND demo.tiki.org/20x




tracker item
H5P feature partially breaks File Gallery when activated
__Please mind that the described H5P related bug occurs whilst not using H5P, but using the file gallery when H5P is activated. Deactivating H5P makes the bug disappear.__

# Upgraded existing Tiki 19 to Tiki 21.x (future, currently trunk) at 16 Oct 2019.
+
# Activated H5P
## created an extra new file gallery for H5P
## did not (yet) set ''Site Key'' and ''H5P UUID'', as I do not yet heard about them
## did not yet upload any H5P files and not yet try to use H5P in this Tiki instance
## the folder in tikiroot ''storage/public/h5p'' is existing, likely created automatically during upgrade
+
# When I got to the preferences of an arbitrary file in an arbitrary existing file gallery, maybe change some preference like editing the description or even do no change at all and then I save this file, two things happen:
## The file is saved/updated correctly (ex: description updated
## Tiki does __not__ refer back to the file gallery, but instead to a ''WSOD'' blank page with an error message. I have to manually alter the url in the browsers address line or to use the browsers back button to get back to my Tiki.

__This is the error message:__

{CODE()}
Parse error: syntax error, unexpected ')' in /www/htdocs/Path-To-Tikiroot/lib/core/H5P/H5PTiki.php on line 947
{CODE}

tracker item
H5P Plugin: Cannot find H5P content with fileId
I got a weird message form ((doc:PluginH5P)) in tiki saying that the fileId number of the h5p file I uploaded to Tiki was wrong: "H5P Plugin: Cannot find H5P content with fileId: 770.", and fileId 770 is the fileId number of that brand new h5p file I uploaded to the file gal.

Reindexing didn't help.
tracker item
Hard to see the PDF generation remarksbox (wait...)
When you create PDF using Tiki (mPDF) using the wikitopline it take a little time and page is not staying on position but moving top.

If the wikitopline is not on the top of the page (and usually it is moved it down or remove it with bootstrap and mobile) the user won’t see the feedback unless he scroll to find it.

The problem is that from the user point of view it is like nothing is happening and he will likely think the feature is not working.

It could be a modal over the screen so all case (mobile) are covered.
tracker item
H5P Collage Flies out of Constrained Area in Cached Wiki Page
Using H5P Collage, when the file is inserted into page using for example:

{CODE(theme="default")}{h5p fileId="32"}{CODE}

The collage looks fine, but when the page is cached, the images fly out of the constrained area and convert to full size images.

Please see show instance.
tracker item
I can't include wikiplugin inside wikiplugin in a file template
In a pluginLIST template I would like to have a pluginTracker inside a pluginFade using wikiplugin
Any of these work :
{CODE(theme="default")}{wikiplugin _name="fade" label="Edit item" icon="y" }Some text{/wikiplugin}{CODE}
{CODE(theme="default")}{wikiplugin _name="tracker" trackerId="18" url="this-page?itemId=$result.object_id" }{/wikiplugin}{CODE}

This does not work :
{CODE(theme="default")}{wikiplugin _name="fade" label="Edit item" icon="y" }
{wikiplugin _name="tracker" trackerId="18" url="this-page?itemId=$result.object_id" }{/wikiplugin}
{/wikiplugin}{CODE}
tracker item
Image galleries to file galleries migration script fails
On a site with image galleries, there is a button in page tiki-galleries.php which claims ''Migrate Images to File Gallery''

When I click on it, a new File gallery is created and named ''Migrated Image Galleries'' (that is perfect!)
For each image gallery, a file gallery with the same name as the image gallery is created as a child of ''Migrated Image Galleries'' (still perfect!)

__But__ no images are actually migrated to these new file galleries. The new file galleries are empty and the old image galleries are still there.

Using the command line version gives the same lack of result:

{CODE(theme="default")}php console.php gallery:migrate
All files migrated!
feedback: L'image a été réduite : %s x %s -> %s x %s
error: Duplicate file found as `Nouveau Fichier`. Upload rejected.
error: Duplicate file found as `Beatrice1.jpeg`. Upload rejected.
error: Duplicate file found as `kitty.jpg`. Upload rejected.
error: Duplicate file found as `160x55_INESSStccn.jpg`. Upload rejected.{CODE}
But nothing was actually migrated.

Files are stored on the file system, in case that makes a difference.

This prevents people from getting rid of deprecated ''image galleries'' feature.

See issue reproduced on: [http://jyhem-9952-7324.show2.tikiwiki.org/]
* Log in as admin
* Go to [http://jyhem-9952-7324.show2.tikiwiki.org/tiki-galleries.php] and click on ''Migrate Images to File Gallery''.
* See a new file gallery showed up in [http://jyhem-9952-7324.show2.tikiwiki.org/tiki-list_file_gallery.php] with sub-galleries with proper names. The new file galleries are empty instead of containing the migrated images.

This also creates the file galeries without migrating the files:
{CODE(theme="default")}root@seed22:/var/www/jyhem-9952-7324# php console.php gallery:migrate
Undefined index: show_filename on line 175 of /var/www/jyhem-9952-7324/lib/filegals/filegallib.php
Undefined index: show_filename on line 177 of /var/www/jyhem-9952-7324/lib/filegals/filegallib.php
Undefined offset: 31 on line 737 of /var/www/jyhem-9952-7324/lib/metadata/datatypes/exif.php
Undefined index: show_filename on line 175 of /var/www/jyhem-9952-7324/lib/filegals/filegallib.php
Undefined index: show_filename on line 177 of /var/www/jyhem-9952-7324/lib/filegals/filegallib.php
Undefined index: show_filename on line 175 of /var/www/jyhem-9952-7324/lib/filegals/filegallib.php
Undefined index: show_filename on line 177 of /var/www/jyhem-9952-7324/lib/filegals/filegallib.php
Undefined offset: 31 on line 737 of /var/www/jyhem-9952-7324/lib/metadata/datatypes/exif.php
All files migrated!{CODE}
tracker item
Show PHP error messages