←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
Caarriejoined #tikiwiki
joined #tikiwiki
[00:19]
.... (idle for 19mn)
benoitgjoined #tikiwiki [00:38]
........ (idle for 37mn)
redflojoined #tikiwiki [01:15]
...... (idle for 27mn)
marclaportejoined #tikiwiki
jjg0th: ping
[01:42]
jjg0th: see comments at https://dev.tiki.org/wish4268 [01:48]
................. (idle for 1h21mn)
goj_killedByISPjoined #tikiwiki [03:09]
.......... (idle for 49mn)
benoitgjoined #tikiwiki [03:58]
luciashpolom
can http://doc.tiki.org/PluginSmarty be used to test if variable is empty ?
i am running out of options as nothing works as expected to test if page has a record in tracker (page selector field)
i was hoping TRACKERITEMFIELD plugin will work the same to test page selector as it does with user selector but it turns out only user is supported to test whether it has record in a tracker
then i turned to the new TRACKERIF plugin but it is a joke - it does not work at all
then i tried smarty directly in a custom module but that one does not seem to work either when included in wiki page via MODULE plugin
[04:08]
........................... (idle for 2h12mn)
benoitgjoined #tikiwiki [06:25]
Bsfezjoined #tikiwiki [06:38]
........................ (idle for 1h58mn)
fideljoined #tikiwiki [08:36]
Bsfezjoined #tikiwiki [08:40]
........ (idle for 36mn)
xavijoined #tikiwiki [09:16]
Bsfez1joined #tikiwiki [09:19]
................ (idle for 1h19mn)
goj_killedByISPjoined #tikiwiki [10:38]
vmachinejoined #tikiwiki
left #tikiwiki
[10:45]
........... (idle for 52mn)
fabriciusjoined #tikiwiki [11:37]
....... (idle for 31mn)
jjg0thhi
how can I make tiki wiki support .docx mime types?
[12:08]
................ (idle for 1h19mn)
rodrigoprimojoined #tikiwiki [13:27]
........ (idle for 36mn)
ricks99joined #tikiwiki
polom, y'all
[14:03]
fidelpolom [14:05]
RobertPlummerleft #tikiwiki [14:15]
......... (idle for 43mn)
Jenserjoined #tikiwiki [14:58]
radek82joined #tikiwiki [15:10]
dhazeljoined #tikiwiki [15:20]
Bsfezjoined #tikiwiki [15:21]
Jenserhi there
is there a way to move all the files that are already in my tiki db (uploads, attachments...) to a folder?
(running 9.0)
most of the files are attachments
and as it looks, they are not moved when using the function "move from database to folder" in file archive setup.
any ideas?
[15:32]
ricks99afaik, the "move" function doesn't actually move/delete files from the db. just changes the referneces
so that Tiki will check the file directory instead of the db
[15:37]
Jenseryou can choose the space to save stuff
folder or db...
and right under this field, there's a move button
2
both directions
hitting them puts the files to the specified folder
the other one deletes them after reimporting to the db
(i think)
but thats only 5 small files in my case
but there are lots of attachements, i'd like to store in the folder, too
[15:37]
ricks99on the admin: attachments, you can move to/from db/file
check docs for details: http://doc.tiki.org/Wiki%2BConfig#Wiki_Attachments
[15:43]
Jenserthanks, gonna have a look
dumb question
where to find this settings in the newer versions
[15:45]
ricks99did you click the MANAGE ATTACHMENTS button? should take you to the admin page [15:50]
Jenseri'd like to find this button oO [15:50]
ricks99on admin: wiki, as shown in docs: http://doc.tiki.org/Wiki%2BConfig#Wiki_Attachments [15:51]
Jenserdoc is for 1, 2, 3, 4
or maybe i'm blind
[15:52]
ricks99dont think it has changed much. see: http://twbasics.tikiforsmarties.com/Configuring+the+Wiki
i see it clearly on my tiki 9
[15:54]
Jenseri think i found it
worked
but
does only work for wiki page attachments
not for tracker item attachments
[15:56]
jjg0thhow can I make tiki wiki support .docx mime types? [15:59]
Jenserwhere to find them?
got em
[15:59]
ricks99because that is the wiki attachment page.
for trackers, you need to go to admin: trackers
[16:00]
Jenserthis explains everything [16:00]
ricks99:-) [16:00]
Bsfezjoined #tikiwiki [16:00]
Jenserthumbs up!!! [16:01]
fidel_joined #tikiwiki [16:06]
jjg0thWhen I download .docx files from the wiki (in file gallery) it is recognized as a .zip file (mime type either default or application/zip). How can I configure tiki wiki such that the mime type is correct? [16:20]
Bsfezjoined #tikiwiki [16:20]
jjg0thI already made a bugreport about this...
When I try to download files directly from the web server the mime-type for the .docx files seems to be correct (it tries to open them as word files)
so it seems to be a tiki wiki issue
I saw there was a lib/mime/ (?) folder, however there is no .docx entry anywhere there
why does nobody fix this? It must be a major issue for all windows based customers....
[16:20]
ricks99jig0th: i think it is an issue with your webdav setup. i store docx in my file gallery with no issues [16:25]
jjg0thbut webdav has nothing to do with mime types
the mime type is determined when a http client request the file
it is not stored with the file
[16:28]
ricks99sorry. i thought you were uploading to file gallery via webdav [16:29]
jjg0thI was yes
but that has nothing to do with the mime type when I download
[16:29]
ricks99i have 100s of docx files (uploaded regular) and no issues with mime type [16:29]
jjg0thdid you change something? [16:29]
ricks99no.
working fine in tiki 6, and 9
[16:29]
jjg0thI can tell you what works and what doesn0t [16:30]
ricks99works fine for me [16:30]
jjg0thif I download something directly e.g. wikiserver/file.docx then it is recognized as a .docx file
that tells me that the webserver has the correct mime type set
if I however download a file from the file gallery it reports application/zip
that tells me the error is on the tiki site
or am I wrong with my conclusion?
[16:30]
ricks99i can download docx from my file gallery. no issues [16:31]
jjg0thhmm, repeating your statement 3 times doesn't help more after the first time
any idea why I get the behaviour I get
resp. how to fix it?
[16:32]
ricks99as i said, i think it ihas to do with webdav. if you upload normally to the file gallery, does it work [16:32]
jjg0thI use cyberduck, I tried other webdav clients but they didn't work, also cyberduck seems to be one of the most popular and people here are already a bit used to it
no it doesn't work
[16:33]
ricks99dont use webdav
you uploaded a docx regulary and it didn't work?
have you tested w/ different browsers and pcs? maybe the issue is with your pc's config
[16:33]
jjg0thoh now it works
for some things it does for some not
or maybe it depends on my pc
but I need webdav
[16:34]
ricks99ricks99 very confused [16:34]
jjg0thhow else do I upload several files at once or edit them directly? [16:34]
ricks99batch upload [16:35]
jjg0the.g. some people have a folder with 400 .docx files
nah
for that they would need an ftp client, no?
[16:35]
ricks99dont know how i can help then, sorry. suggest that you review your webdav configs [16:35]
jjg0ththere is nothing to configure there
also as I said it cannot be a webdav issue
since the mime type is not stored with the file
but requested at download time
so it shouldn't matter
so tiki wiki somehow additionally stores a mime type
and lets application that upload things determine it?
that seems stupid?
[16:36]
ricks99sorry, i can't help further. docx works fine for me on my tikis wihtout webdav [16:38]
jjg0this it not possible to turn this off resp. let the apache server determine the mime type?
or tiki wiki itself (with correct mime types)
you mean with batch upload?
the webpage says that it is a security issue and there are problems
how does batch upload work?
[16:38]
ricks99you ftp to a folder, then batch import to tiki. see docs for details [16:39]
jjg0thwhat about the concerns mentioned there? [16:39]
ricks99? [16:40]
jjg0ththat was my main reason, because I didn't want you guys telling me, you knew what you were doing when you read about it, so don't complain [16:40]
ricks99sorry, but i don't understand [16:40]
jjg0thalso it is impossible to setup an ftp directory
the IT guys won't setup free acess to the server it needs to be auhorized
I.e. we want to know who uploaded something
but with ftp you don't have access to the wiki user database
[16:40]
ricks99i'm sorry, but i cannot duplicate your issue -- i don't use webdav. i suggest that you post to support forum, dev list, or find a consultant [16:41]
jjg0thI did post it
so I'll just wait for now
[16:42]
ricks99ok
sorry i couldnt help more
[16:42]
jjg0thyour last comment was good btw, so we don't waste time :)
thx anyway :)
[16:42]
ricks99k [16:42]
jjg0thanother question: is it possible to have a custom menu with a structure inside it?
structures are very easy to modify/etc and menus rather hard
[16:43]
ricks99y. you can make a menu from a structure. see docs for menu module [16:43]
jjg0thyes but can I make a menu from a custom menu and make a structure entry inside that menu'
If I make the whole menu a structure i cannot "link" to global sites
[16:43]
ricks99if you have a structure, tiki can automatically generate a menu based on that structure
is that what you're asking?
[16:44]
jjg0thno
I made an admin menu
that contains all the stuff useful for admins
e.g. links to often used configuration pages
part of that menu should be a wiki history page, this "subpart" is more like a structure
I.e. it changes a lot and should be easy to modify like structures
but how do I make part of the menu a structure?
if the whole menu is a custom menu
[16:44]
ricks99menus and structures are different things. are you asking how to make multi-level menu?
ricks99 sorry, im not quite following you
[16:46]
jjg0thI make an example
Admin menu -> wiki history -> 2012 -> protocol
if Admin menu is a structure, everything ca n be edited nicely and it can be added as a menu module with structure id "admin menu"
but then I cannot do this:
Admin menu -> config -> group (where group links to group configuration)
because with structures you cannot link to an url
[16:46]
ricks992 ways:
1. you can have multiple menus within a single module
2. use structures and on the page, use a redirect to the admin url
[16:48]
jjg0thsoredirect?
redirect?
[16:48]
ricks99use the redirect plugin [16:49]
jjg0ththx!
1. makes me even more curious
how do I make multiple menus in a single module?
[16:49]
ricks99create a custom module and use the module plugin to add multipel MENU modules [16:49]
jjg0thoh [16:50]
ricks99ricks99 *loves* the MODULE plugin -- it is his favorite [16:50]
jjg0thso not menu module but custom menu module
nice idea
[16:50]
ricks99a custom/user module with the menu module inside [16:50]
jjg0thhmm, now I just have to figure out a way to migrate my menu ^^ [16:50]
ricks99i do it all the time
you can export/import menus
[16:50]
jjg0thlemme try
ideally I would like to see no "separation" between menu 1 and menu 2 (structure)
[16:52]
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "934212d53f698bb0f47d7b1c98b9865a64b724fa" on line 1 "<!-- TPL: 934212d53f698bb0f47d7b1c98b9865a64b724fa -->{menu id=53 type= }" .... [16:57]
ricks99did you enable the "use wiki syntax" option on your custom module? [16:59]
benoitgjoined #tikiwiki [16:59]
CIA-75tikiwiki: 03lphuberdeau * r42490 10/branches/9.x/lib/core/Search/ContentSource/ArticleSource.php: [MOD] Including type in the article content during indexing [16:59]
jjg0thnow it works [17:01]
ricks99y. if you want to use wiki syntax and plugins in a module, you must enable the "use wiki syntax" option. see docs for details on this and other module hints [17:02]
jjg0thhow do I make two below each other instead of horizontally [17:03]
ricks99lots of ways....
could add a div
could cusotmize the css
[17:03]
jjg0thah ok [17:03]
ricks99could force line breaks
etc
[17:03]
jjg0thwhat is the div parameter?
to enlist everything vertically
[17:05]
ricks99if you want vertical menus, just use type=vert. pls see docs for details on all possible options [17:05]
jjg0thI mean between several menus
not inside a menu, that is aligned vertically by default anyway
[17:06]
ricks99just make a narrow div [17:07]
..... (idle for 21mn)
jjg0thjoined #tikiwiki
re
what did I miss?
I'm still trying to get this "multiple menu" thing working
anyone in here familiar with .docx vs. .zip mime type issues
related to webdav file upload
[17:28]
marclaportejjg0th: about docx issue: can you reproduce the problem on demo.tiki.org ? [17:35]
I asked Sylvie in an email about this, and she replied: "The wrong detection of mime type is more a server problem than a tiki problem so far I know." [17:41]
jjg0thhow to connect hmm
demo.tiki.org, user: admin, directory=?
ok it works now (without ssl)
marclaporte: file galleries don't seem to work properly on demo.tiki.org
[17:41]
marclaporteduplicating the problem on demo.tiki.org is a good start so other devs can see, and we can give them SSH access to debug [17:50]
jjg0thmarclaporte: I cannot test it, the file gallery doesn't seem to work and it looks completely different to my own file gallery in tiki 9
I can upload files
but I cannot download what I upload
Unable to access file: 2b4367f1519f5b0041bcd8fd5b37d557
[17:50]
marclaporteOK [17:52]
jjg0thnow cyberduck crashed [17:52]
marclaporteI will reset http://demo.tiki.org/9x/ to a fresh install and we take it from there? [17:52]
jjg0thoh nice
ok :)
[17:53]
marclaportedemo.tiki.org has the fileinfo extension activated. Does your PHP instance as well? [17:54]
jjg0thfileinfo extension?
I don't remember that setting
is it a server setting?
or a tiki wiki setting?
[17:54]
marclaporteLook in tiki-phpinfo.php
for a section like fileinfo support enabled version 1.0.5-dev
http://demo.tiki.org/9x/ has been reset
[17:55]
jjg0thyes it is enabled
1.0.5-dev
[17:57]
marclaporteso things to watch out for: storage in DB (default) vs in FileSystem (if so, I need to set server perms)
ok, that is good
So please setup demo.tiki.org/9x/ to reproduce the problem
[17:57]
jjg0thI have storage in filesystem [17:59]
marclaporteIf you need to store files in FileSystem, please use: /www/htdocs/w00ec615/9x/binaryfiles
/www/htdocs/w00ec615/9x/binaryfiles/
[17:59]
jjg0thI still cannot connect to demo.tiki.org/9x
8x works
[17:59]
marclaporteyou need to activate webdav & all since it's a clean install [17:59]
jjg0thoh
ok that works
strange
it works on demo but not for me
marclaporte: If I download a file directly (e.g. /var/www/file.docx) on my wiki server it tries to open it as a word file, but if I download it from the file gallery it tries to open it as a zip file
[18:00]
fabricius_joined #tikiwiki [18:12]
marclaportejjg0th: demo.tiki.org is running the latest 9.x
There are many bug fixes since 9.0
Can you try with a daily build? http://dev.tiki.org/Daily+Build
There are several comments on your bug report: http://dev.tiki.org/wish4268
What OS is your server?
especially check the comment "Related commits that will be in Tiki 9.1"
[18:24]
jjg0thfedora
I will tell my IT guy to update the tiki to the latest version
but then it should have failed on 8x on demo.tiki.org no?
on the 9x build of the demo site: are the mimetypes for word set in lib/mime/?
[18:33]
marclaportejjg0th: no
jjg0th: no one committed code to that respect AFAIK
So in retrospect, all is good with latest 9.x on demo.tiki.org ?
[18:36]
jjg0thon demo.tiki.org it works
but I suspect it would also work on 8.x and that the problem is elsewhere
or was something related commited in the last month?
my wiki is not much older than that
it is younger actually
so I think it is not a tiki wiki issue but it also doesn't seem to be an apache issue, so I'm just confused atm
maybe I have some obscure setting that is responsible for everything
[18:38]
marclaporteI'll be back in a few hours [18:40]
jjg0thko, I go home then
ok
can you also reset 8x? :)
[18:40]
marclaportesure [18:42]
jjg0ththx!
see you later, you are really helpful :)
[18:42]
marclaporteit will be /www/htdocs/w00ec615/8x/binaryfiles/
try now
[18:42]
jjg0therror page not found home
*Home
[18:45]
xavileft #tikiwiki [18:48]
Bsfezjoined #tikiwiki [18:54]
rodrigoprimojoined #tikiwiki [19:06]
............... (idle for 1h11mn)
gothre [20:17]
jacmoejoined #tikiwiki [20:21]
...... (idle for 28mn)
gothmarclaporte: at the moment I'm setting up a wiki at home, I will then import the database and check if it works at home
if yes, I will load an earlier svn revision and try again, if it still works it must be an issue with apache
[20:49]
.... (idle for 18mn)
marclaporteback
marclaporte is resetting demo 8x again
[21:07]
.... (idle for 17mn)
g0thhi
unfortunately I cannot test cyberduck (no windows here)
[21:26]
Guest51461but: when I load the database to my apache server I see mime type application/zip too [21:26]
gothtrying to set mime-types now...
even after setting them it still shows as application/zip
I try to setup a fresh new tiki server now
[21:26]
marclaportejjg0th: http://demo.tiki.org/8x/ is freshly re-installed so you can set webdav for testing /www/htdocs/w00ec615/8x/binaryfiles/ [21:37]
gothI know, thx
have to reboot on windows
[21:38]
marclaporteyou are testing latest 9.x with Jonny two relate commits? [21:38]
gothit doesn't work for me even with 9.x
so something must be wrong
the mime-type shows application/zip
but the icon is like a word file
[21:39]
marclaporteahhhh [21:40]
goth(actually the files are not here at all)
because I didn't copy the local files, just the db
[21:40]
marclaporteJonny's commits are about fixing the icon but I don't know if it helps for the rest [21:40]
gothbut it works on demo.tiki.org!!
I wonder what server setup they use there
because for me it doesn't seem to work, but I couldn't test it
I just could test with the existing stuff from the mysql db, not how to uplod new files
I thought the mime-type was checked at the request time and not stored in a database (???)
what server is demo.tiki.org?
[21:41]
marclaporteyou can now review and edit mimetype: http://demo.tiki.org/9x/tiki-upload_file.php?galleryId=4&fileId=1 [21:44]
goththat's nice [21:44]
marclaporteoh wait [21:44]
gothbut: we don't want the user to manually set all the mime types [21:44]
marclaporteI have have an idea [21:44]
gothideally tiki wiki should set the mime type according to the web server configuration [21:45]
marclaporteYou are already aware of "Fix mime types based on file suffix" it seems [21:46]
gothyes
but that's for images?
it didn't change anything
note that demo.tiki.org seems to work perfectly
I'm trying to figure out what is different there (?)
[21:46]
marclaporteto compare two Tiki installs (in terms of Tiki config),, you can do export profiles and compare the two [21:48]
gothexport profiles? [21:48]
marclaporteok, activate "Fix mime types based on file suffix" on your Tiki [21:48]
gothI did that [21:48]
marclaporteoh, ok [21:49]
gothbut iirc that's just for images [21:49]
marclaporteah
are you also trying to make the .docx content be indexed?
[21:49]
gothnot yet
would be nice but I would need to install some additional program on the server
that's not a big issue
the bigger issue at the moment is opening .docx files
because like 90% of all files are .docx or .xlsx files
[21:49]
marclaporteok [21:50]
gothand we don't want to do "this" each time: 1. download it, 2. find the download folder, 3. open the file.... [21:50]
marclaportemarclaporte wants .docx to be indexed for a project [21:51]
gothfor this you just need some docx to text program iirc
and working mime types I guess ^^
[21:51]
marclaporteindeed
http://stosberg.net/odt2txt/
[21:51]
gothbut thats not for docx ^^ [21:52]
marclaporteI know it's not a real solution, but if you edit the mime type, does it work?
meh, you are right. D you know of any?
[21:52]
gothhttp://wvware.sourceforge.net/
according to the tiki documentation
http://dev.tiki.org/Binary+File+Handling#MS_Word
more specifically I gues wvText
[21:53]
marclaportehttp://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki/branches/9.x/lib/filegals/filegallib.php?view=markup any idea why xlsx and pptx are not there? [21:55]
gothdon't ask me
I don't understand much about tiki
I don't understand even .php
I'm just trying to get .docx files to open properly *g*
[21:56]
marclaportehttp://wvware.sourceforge.net/ last update 2006: I suspect it doesn't understand more recent file formats like .docx
:-)
[21:57]
gothhmm
.docx/etc are all actually zip files
maybe you could unzip them and run some file2text script on the .xml files inside the zip
[21:57]
marclaportehttp://doc.tiki.org/Export+Profiles [21:58]
gothhow do I reset my main tiki root?
I did cp -r tiki newtiki
but I can't configure the new one because it uses the old configuration
[21:58]
marclaportedb/local.php [21:59]
gothhow do I reset it?
rm db/local.php?
btw
http://docx2txt.sourceforge.net/
[22:01]
marclaporteyou can remove or edit db/local.php it contains DB connection info
If you add .docx, .xlsx, .pptx to /lib/mime/mimeextensions.php and lib/mime/mimetypes.php, does it help?
[22:11]
gothdunno
but I found something interesting
if ($fileData['filetype'] != "application/octet-stream") {
return $fileData['filetype'];
}
in lib/filegals/filegallib.php
if that was not there it would proceed to the next case
in particular it would do: case 'docx' : $filetype = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document';
but my files don't have application/octet-stream
my guess is: this is this "fix mime type" thingy for images
actually I'm certain
I'm trying to determine where the filetype is set
since nobody seems to be able to help I got to go through the source
[22:14]
marclaportethat's the spirit!
Wouldn't /lib/mime/mimeextensions.php and lib/mime/mimetypes.php be a good place to check?
[22:18]
panamauspanamaus thinks so ;) [22:20]
gothI fear that the webdav client tells tiki wiki the file type
but yeah maybe webdav doesn't report anything of that sort and mime*.php does it
but: demo.tiki.org works!
I don't understand (???)
db/tiki-secdb_9.0_mysql.sql:INSERT INTO `tiki_secdb` (`filename`, `md5_value`, `tiki_version`, `severity`) VALUES('./lib/mime/mimetypes.php', 'af4c742c8fbb001d53c182a66939510c', '9.0', 0);
[22:21]
too complicated for me
I didn't realize mime types were so interconnected between everythig
like omnipresent
no chance for me to fix this easily
what server is running on demo.tiki.org? what modifications were made?
[22:37]
marclaporte: who knows about this? [22:43]
marclaporteLeu does
his email is here: http://tiki.org/demo.tiki.org
He can tell you distro an details
it's standard 9x from SVN
[22:46]
gothI mean the apache server
leu at thisdomainname??
[22:56]
marclaporte@tiki.org [22:59]
.... (idle for 19mn)
goththx, I wrote an email
gnight
[23:18]
..... (idle for 22mn)
fabriciusjoined #tikiwiki
polom
[23:40]
marclaportefabricius: you win the award for most creative transportation to go to a Tikifest [23:55]
fabriciusloool
I will document the Tour on a Tiki website
[23:56]

←Prev date Next date→ Show only urls(Click on time to select a line by its url)