amette_: left #tikiwiki
fabricius: joined #tikiwiki
Tiki|bot: Recent Bug: - http://dev.tiki.org/item6506
robertokir: joined #tikiwiki
fabricius: joined #tikiwiki
redflo: joined #tikiwiki
zlinux: joined #tikiwiki
joined #tikiwiki
trebmuh: joined #tikiwiki
amette_: joined #tikiwiki
fabricius: joined #tikiwiki
RadoS: Moin, I get this error: Indexing failed while processing "50" (type category) with the error "Could not perform index modification: Incorrect string value: 'xE2x86x92 KK...' for column 'data' at row 1"
How can I get more Info about the location of that data? Or more context? The given pointers are too litte to track it back.
torsten1: joined #tikiwiki
amette_: polom
luis_asa: joined #tikiwiki
polom! is anyone else having problems to commit? I'm getting "Can't open file '/svn/p/tikiwiki/code/db/txn-current-lock': Permission denied" error
ah, looks like sourceforge is down.
amette_: left #tikiwiki
joined #tikiwiki
torsten1: joined #tikiwiki
Jyhem: polom
How can I activate the {{user}} and {{itemId}} replacements in wiki pages again ?
RadoS: Soo, I "hacked" "lib/core/Search/MySql/QueryBuffer.php" to give me more info, and it shows that the search indexer chokes on "→", but only on _one single page_, while the same char exists on other pages, too. Now... how to figure out why it poses a problem _just there_?!
Ok, probably I'm not good at reading tiki objects, it seems it's not the current content of a page, but some historic entries...
Can I somehow clean-up the indexing process to start over from scratch?
jimbo: joined #tikiwiki
Hey everybody! Anyone who might be able to assist me with an issue I am having testing the Tiki18 dev build?
jimbo__: joined #tikiwiki
RadoS: Now I even deleted the offending page with all its history, still the indexer chokes on something from its history, where does this _still_ come from?
"Clear all caches" didn't help.
amette: jimbo: we can't know, if we are able to assist, before we know what the issue is.
torsten1: joined #tikiwiki
jimbo__: Right. So my issue is with H5P, I've been trying to get the content to work, using the instructions in the doc. I'm able to upload the .h5p files from h5p.org just fine, but the content type doesn't get populated when I go to create a new H5P.
I've seen that others have been able to use it without issue, so I suspect it is something to do with my tiki configuration.
Jyhem: jimbo__: I necer tried h5p yet. I think fabricius wrote part of the doc.
I rememeber him explaining that Tiki does not create the content types and it is necessary to upload the same content type from somewehere else before it works
jimbo__: Right, that's the .h5p files I'm uploading. These come from the h5p.org website, and tiki uses them as kind of a template for creating new ones.
Jyhem: Maybe don't create but duplicate somehow an existing one? Or upload, then replace with your own, keeping the content typ? I'm just guessing, sorry.
jimbo__: The .h5p files from h5p.org are the existing ones, you can't really create your own until tiki recognizes the uploaded file and let's you select a content type for a new one.
luciash: jimbo__: last time I tried it worked with the strawberies example or something simple it was
jimbo__: maybe try different type
jimbo__: it did not work with the video one iirc for some user
maybe some types of h5p files have issues with Tiki
jimbo__: Yea, that was me a few weeks ago...
luciash: ah :)
jimbo__: and it did not work for you even with the simple one?
jimbo__: But I've tried multiple types, including the accordion (the strawberries example), timeline, and a couple others with no luck. I suspect it's something in my config that's preventing tiki from checking those files.
luciash: ah, darn, that is unfortunate... hmm, no idea what could cause that
can you try different server or localhost?
jimbo__: I'm doing it from a localhost. I guess I'll have to do a deep code dive to figure this out.
luciash: then maybe you can compare and see what is the difference
also check tiki-check.php if it does not ring a bell on something your server might be missing
jimbo__: Okay, I'll try that.
jonnyb: joined #tikiwiki
fabricius: polom
jonnyb: hi fabricius
fabricius: jimbo__ Jyhem - did I hear somethingabout H5P? Any Question?
Jyhem: "How can I activate the {{user}} and {{itemId}} replacements in wiki pages again ?"
Jyhem: polom
fabricius: tiki-admin.php -> search for Argumentvariables
should be in text&plugins
bolow
by the way
jonnyb: hi all
fabricius: hi jonnyb
Jyhem: Ohh, that's it. Thanks ! I tried "variable" but it wasn't there. So close :-(
as well as "dynamic" and other wrong keywords :-(
fabricius: Jyhem: I had the exact same issue a few weeks ago
that's why I knew off hand ;-)
jimbo__: are you there?
Jyhem: luciash: I feel your issue with {$mail_machine_raw} is more general than that. None of the examples in https://doc.tiki.org/Pretty-Tracker#Syntax_tips actually work on https://demo.tiki.org/trunk/tiki-index.php?page=Tracker-form&itemId=2
Nothing gets replaced, not $f_itemId, not {$f_lastmodif}, nothing :-(
luciash: Jyhem: {$f_XX} works on our preprod site
Jyhem: I workarounded the {$mail_machine_raw} by using {$server_name} there anyway
(iirc)
Jyhem: {$f_XX} only works when XX is in the fields field. The others are not there either
Which is annoying when I try to display different input fields depending on some other field's value
luciash: Jyhem: hmm, might be, yep, I think I had name ans surname in the fields param
s/ans/and
-: Jyhem feels like he is rewriting half of Tiki in jQuery on some templates
luciash: Jyhem: so the doc should be updated to say it works only with tpl files do you think?
Jyhem: Yep, looks like a regression to me. I wonder if my emails with {$mail_machine_raw} still work
No, I failed with a tpl file
luciash: huh?
Jyhem: https://demo.tiki.org/trunk/tiki-index.php?page=Tracker-form&itemId=2 uses a tpl file
luciash: I thought you said it was working for you with tpl files
Jyhem: Yes, on preprod in september. I'm a bit anxious now
jimbo__: fabricius: oh hi, yea, I'm having some issues with H5P
luciash: ah, hmm, interesting... ah, right, you have server access for demo sites, I see
jonnyb: joined #tikiwiki
Jyhem: Today is for writing a custom search on words + categories for another project, so I can't test further.
I just got enough signs yesterday to make me suspicious, together with your issue
hopefully, next week I find time for a real investigation and bug report
jimbo: fabricius: Sorry for the two usernames, switching betweed a dev and prod machine. I'm using the dev build for Tiki18, and I've set up everything for H5P per the docs. I upload the .h5p files from h5p.org, but when I go to create a new one, the content dropdown doesn't populate.
fabricius: jimbo:
whazup?
you said s.th. about localhost jimbo
jimbo: yea, I have tiki installed on the machine I'm testing on.
fabricius: I do not think that'll be an issue, but maybe the thngi needs to load libs from the net ... you have i-net access from that local site?
jimbo: yes
fabricius: did you activate H5P?
jimbo: yes
fabricius: in tiki-admin.php?
jimbo: yep
fabricius: tha little tick box in filegal => enhancements?
ah good
so uploaded a ,h5p file ex: straberry timeline
jimbo: I've enabled SEFURL's, since that was mentioned in the docs too...
fabricius: strawberry timeline works
?
jimbo: I've tried the accordion one with no luck, but I'll try the timeline right now...
still nothing.
fabricius: I did create an extra file gallery especially for the H5P files. dont' know if that would be an issue (don't think so, just sayng for the sake of completeness)
jimbo: Yea, I created a separate FG for H5P files
fabricius: so strawberry .h5p uploaded to a file gallery and h5p activated
hmmm
wait a sec ... checking
jimbo: Though I named it 'H5P Content', not sure if that would make a difference
fabricius: I do not think so
do you see this "+ Create H5P" link in the file gallery?
jimbo: Yes. When I click it, the box comes up, but there's nothing listed in the dropdown for content type.
fabricius: and how you try to displa the file galllery?
do you click on wrench left of the file -> popup -> click display?
luciash: Jyhem: sorry, I was wrong, I workarounded the issue using {$url_host}, not {$server_name}
fabricius: -> jimbo any possibly an adprotector, umatrix or something that blocks javascript in place?
jimbo: Yea, when I try to display one of the uploaded .h5p files, I get an error message saying 'H5P Plugin: Cannot find H5P content with fileId: 4157.'
fabricius: ahhh - ok
hm
jimbo: no, I do not have an adblocker installed.
fabricius: wait checking
hmm permission issue?
lets go through the database settings
can you please go to edit the database and we g down from tp?
tiki-list_file_gallery.php?edit_mode=1&galleryId=XYZ
tell me when you are ready, then I ask and you say yes for checked and no for unchecked
jimbo: Ok, ready
fabricius: actually the first three tick boxes have to be checked
file archive can be viewed by on-admins?
...
...
yes or no?
jimbo: gallery visible for non-admins -> yes
fabricius: gallery is unlocked?
jimbo: gallery unlocked-> yes
fabricius: Respect permissions for backlinks to view a file
jimbo: no
fabricius: TICK IT
jimbo: ok
fabricius: and then try again
jimbo: still nothing, tried uploading new .h5p file
fabricius: should not be necessary, but ok
you are in as admin, so no permission issue at this point I'd say
Respect permissions for backlinks to view a file is a very common issue when fgal object is not displayed
jimbo: yea, I double checked and explicitly granted permissions to admin
fabricius: ahhh another comon issue
you ever first before asking for help should:
... clear chaches
and then in case with files or trackers:
... refresh the search index
I guess you never refreshed the search index after uploading the file?
COULD be that
jimbo: I have, but not since the changes you suggested
fabricius: /tiki-search-rebuild?modal=1
hummm getting out of ideas
jimbo: checking...
fabricius: ahh another one:
do you store your files in the databse or in the directory?
jimbo: database
fabricius: I never store files in the database
ahhh
THAT maybe?
anyway: this setting is ONLY default, to make Tiki working under all circumstances in all environments from start
this is strongly not recommended
and you are working with files here
I give you a general hint now for a setup like I do all the time since long for good reason ... note, that I call the installation folder of tiki (that what you download and unzip or that folder where you svn checkout into:
/project/tikiroot
/project/files
/project/files/gallery
/project/files/batch
chmod -r 755 to files
the your path to the files (directory) in tiki.admin.php is following:
../files/gallery
then click on "move files from database to directory"
got it?
when you work productive, no domain shall be "above" project to not have the folder .*/project acessible through another domain through the net by using a path
the domain for Tiki goes directly to ...*/project/tikiroot
...*/project/files/... is only accessible from inside Tiki or from a comandline (ex shell, bash, puty)
ptty
putty sorry
jimbo: got it
fabricius: good
tell us please, if switching to directory storage does the job. if yes you are welcome to add that piece to the docs
jimbo: ok. Running tiki-check.php to make sure it's set up right first, but I'll take care of that if it works
fabricius: honestly, I assume .h5p files have to be stored in the directory
I cannot check quickly, cause I do that by default.
If that's the issue, it has to be written to the docs, to prevent next users to search for solutions for ages aswell.
doc.tiki.org is set to directory aswell
jimbo: Yea, that seems to be the issue. That dropdown is working now.
and doc.tiki.org/H5P has been updated.
Jyhem: :-) Great job, fabricius & jimbo!
torsten1: joined #tikiwiki
amette_: left #tikiwiki
fabricius: joined #tikiwiki
jimbo: hmm... looking at this more, it's mostly working, but there seem to be a few strange things happening...
Such as, for the interactive video content type, I'm seeing what looks like field values that haven't been parsed... [field:group:wizard:interactiveVideo]
Jyhem: Is $objectCategoryIds = $categlib->get_object_categories($objectType,$objectId); still the advised way of getting an object's categories?
zlinux: joined #tikiwiki
Telesight: joined #tikiwiki
Jyhem: Hmmm, apparently not.
https://dev.tiki.org/hello world seems outdated
torsten1: joined #tikiwiki
amette_: joined #tikiwiki
torsten1: joined #tikiwiki
amette_: left #tikiwiki
joined #tikiwiki
torsten1: joined #tikiwiki
joined #tikiwiki
fabricius: joined #tikiwiki
joined #tikiwiki