←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |
Who | What | When |
---|---|---|
Caarrie | joined #tikiwiki
joined #tikiwiki | [00:19] |
.... (idle for 19mn) | ||
benoitg | joined #tikiwiki | [00:38] |
........ (idle for 37mn) | ||
redflo | joined #tikiwiki | [01:15] |
...... (idle for 27mn) | ||
marclaporte | joined #tikiwiki
jjg0th: ping | [01:42] |
jjg0th: see comments at https://dev.tiki.org/wish4268 | [01:48] | |
................. (idle for 1h21mn) | ||
goj_killedByISP | joined #tikiwiki | [03:09] |
.......... (idle for 49mn) | ||
benoitg | joined #tikiwiki | [03:58] |
luciash | polom
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) | ||
benoitg | joined #tikiwiki | [06:25] |
Bsfez | joined #tikiwiki | [06:38] |
........................ (idle for 1h58mn) | ||
fidel | joined #tikiwiki | [08:36] |
Bsfez | joined #tikiwiki | [08:40] |
........ (idle for 36mn) | ||
xavi | joined #tikiwiki | [09:16] |
Bsfez1 | joined #tikiwiki | [09:19] |
................ (idle for 1h19mn) | ||
goj_killedByISP | joined #tikiwiki | [10:38] |
vmachine | joined #tikiwiki
left #tikiwiki | [10:45] |
........... (idle for 52mn) | ||
fabricius | joined #tikiwiki | [11:37] |
....... (idle for 31mn) | ||
jjg0th | hi
how can I make tiki wiki support .docx mime types? | [12:08] |
................ (idle for 1h19mn) | ||
rodrigoprimo | joined #tikiwiki | [13:27] |
........ (idle for 36mn) | ||
ricks99 | joined #tikiwiki
polom, y'all | [14:03] |
fidel | polom | [14:05] |
RobertPlummer | left #tikiwiki | [14:15] |
......... (idle for 43mn) | ||
Jenser | joined #tikiwiki | [14:58] |
radek82 | joined #tikiwiki | [15:10] |
dhazel | joined #tikiwiki | [15:20] |
Bsfez | joined #tikiwiki | [15:21] |
Jenser | hi 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] |
ricks99 | afaik, 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] |
Jenser | you 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] |
ricks99 | on the admin: attachments, you can move to/from db/file
check docs for details: http://doc.tiki.org/Wiki%2BConfig#Wiki_Attachments | [15:43] |
Jenser | thanks, gonna have a look
dumb question where to find this settings in the newer versions | [15:45] |
ricks99 | did you click the MANAGE ATTACHMENTS button? should take you to the admin page | [15:50] |
Jenser | i'd like to find this button oO | [15:50] |
ricks99 | on admin: wiki, as shown in docs: http://doc.tiki.org/Wiki%2BConfig#Wiki_Attachments | [15:51] |
Jenser | doc is for 1, 2, 3, 4
or maybe i'm blind | [15:52] |
ricks99 | dont think it has changed much. see: http://twbasics.tikiforsmarties.com/Configuring+the+Wiki
i see it clearly on my tiki 9 | [15:54] |
Jenser | i think i found it
worked but does only work for wiki page attachments not for tracker item attachments | [15:56] |
jjg0th | how can I make tiki wiki support .docx mime types? | [15:59] |
Jenser | where to find them?
got em | [15:59] |
ricks99 | because that is the wiki attachment page.
for trackers, you need to go to admin: trackers | [16:00] |
Jenser | this explains everything | [16:00] |
ricks99 | :-) | [16:00] |
Bsfez | joined #tikiwiki | [16:00] |
Jenser | thumbs up!!! | [16:01] |
fidel_ | joined #tikiwiki | [16:06] |
jjg0th | When 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] |
Bsfez | joined #tikiwiki | [16:20] |
jjg0th | I 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] |
ricks99 | jig0th: i think it is an issue with your webdav setup. i store docx in my file gallery with no issues | [16:25] |
jjg0th | but 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] |
ricks99 | sorry. i thought you were uploading to file gallery via webdav | [16:29] |
jjg0th | I was yes
but that has nothing to do with the mime type when I download | [16:29] |
ricks99 | i have 100s of docx files (uploaded regular) and no issues with mime type | [16:29] |
jjg0th | did you change something? | [16:29] |
ricks99 | no.
working fine in tiki 6, and 9 | [16:29] |
jjg0th | I can tell you what works and what doesn0t | [16:30] |
ricks99 | works fine for me | [16:30] |
jjg0th | if 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] |
ricks99 | i can download docx from my file gallery. no issues | [16:31] |
jjg0th | hmm, 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] |
ricks99 | as i said, i think it ihas to do with webdav. if you upload normally to the file gallery, does it work | [16:32] |
jjg0th | I 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] |
ricks99 | dont 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] |
jjg0th | oh now it works
for some things it does for some not or maybe it depends on my pc but I need webdav | [16:34] |
ricks99 | ricks99 very confused | [16:34] |
jjg0th | how else do I upload several files at once or edit them directly? | [16:34] |
ricks99 | batch upload | [16:35] |
jjg0th | e.g. some people have a folder with 400 .docx files
nah for that they would need an ftp client, no? | [16:35] |
ricks99 | dont know how i can help then, sorry. suggest that you review your webdav configs | [16:35] |
jjg0th | there 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] |
ricks99 | sorry, i can't help further. docx works fine for me on my tikis wihtout webdav | [16:38] |
jjg0th | is 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] |
ricks99 | you ftp to a folder, then batch import to tiki. see docs for details | [16:39] |
jjg0th | what about the concerns mentioned there? | [16:39] |
ricks99 | ? | [16:40] |
jjg0th | that 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] |
ricks99 | sorry, but i don't understand | [16:40] |
jjg0th | also 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] |
ricks99 | i'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] |
jjg0th | I did post it
so I'll just wait for now | [16:42] |
ricks99 | ok
sorry i couldnt help more | [16:42] |
jjg0th | your last comment was good btw, so we don't waste time :)
thx anyway :) | [16:42] |
ricks99 | k | [16:42] |
jjg0th | another 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] |
ricks99 | y. you can make a menu from a structure. see docs for menu module | [16:43] |
jjg0th | yes 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] |
ricks99 | if you have a structure, tiki can automatically generate a menu based on that structure
is that what you're asking? | [16:44] |
jjg0th | no
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] |
ricks99 | menus and structures are different things. are you asking how to make multi-level menu?
ricks99 sorry, im not quite following you | [16:46] |
jjg0th | I 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] |
ricks99 | 2 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] |
jjg0th | soredirect?
redirect? | [16:48] |
ricks99 | use the redirect plugin | [16:49] |
jjg0th | thx!
1. makes me even more curious how do I make multiple menus in a single module? | [16:49] |
ricks99 | create a custom module and use the module plugin to add multipel MENU modules | [16:49] |
jjg0th | oh | [16:50] |
ricks99 | ricks99 *loves* the MODULE plugin -- it is his favorite | [16:50] |
jjg0th | so not menu module but custom menu module
nice idea | [16:50] |
ricks99 | a custom/user module with the menu module inside | [16:50] |
jjg0th | hmm, now I just have to figure out a way to migrate my menu ^^ | [16:50] |
ricks99 | i do it all the time
you can export/import menus | [16:50] |
jjg0th | lemme 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] | |
ricks99 | did you enable the "use wiki syntax" option on your custom module? | [16:59] |
benoitg | joined #tikiwiki | [16:59] |
CIA-75 | tikiwiki: 03lphuberdeau * r42490 10/branches/9.x/lib/core/Search/ContentSource/ArticleSource.php: [MOD] Including type in the article content during indexing | [16:59] |
jjg0th | now it works | [17:01] |
ricks99 | y. 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] |
jjg0th | how do I make two below each other instead of horizontally | [17:03] |
ricks99 | lots of ways....
could add a div could cusotmize the css | [17:03] |
jjg0th | ah ok | [17:03] |
ricks99 | could force line breaks
etc | [17:03] |
jjg0th | what is the div parameter?
to enlist everything vertically | [17:05] |
ricks99 | if you want vertical menus, just use type=vert. pls see docs for details on all possible options | [17:05] |
jjg0th | I mean between several menus
not inside a menu, that is aligned vertically by default anyway | [17:06] |
ricks99 | just make a narrow div | [17:07] |
..... (idle for 21mn) | ||
jjg0th | joined #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] |
marclaporte | jjg0th: 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] | |
jjg0th | how 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] |
marclaporte | duplicating 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] |
jjg0th | marclaporte: 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] |
marclaporte | OK | [17:52] |
jjg0th | now cyberduck crashed | [17:52] |
marclaporte | I will reset http://demo.tiki.org/9x/ to a fresh install and we take it from there? | [17:52] |
jjg0th | oh nice
ok :) | [17:53] |
marclaporte | demo.tiki.org has the fileinfo extension activated. Does your PHP instance as well? | [17:54] |
jjg0th | fileinfo extension?
I don't remember that setting is it a server setting? or a tiki wiki setting? | [17:54] |
marclaporte | Look 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] |
jjg0th | yes it is enabled
1.0.5-dev | [17:57] |
marclaporte | so 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] |
jjg0th | I have storage in filesystem | [17:59] |
marclaporte | If you need to store files in FileSystem, please use: /www/htdocs/w00ec615/9x/binaryfiles
/www/htdocs/w00ec615/9x/binaryfiles/ | [17:59] |
jjg0th | I still cannot connect to demo.tiki.org/9x
8x works | [17:59] |
marclaporte | you need to activate webdav & all since it's a clean install | [17:59] |
jjg0th | oh
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] |
marclaporte | jjg0th: 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] |
jjg0th | fedora
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] |
marclaporte | jjg0th: 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] |
jjg0th | on 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] |
marclaporte | I'll be back in a few hours | [18:40] |
jjg0th | ko, I go home then
ok can you also reset 8x? :) | [18:40] |
marclaporte | sure | [18:42] |
jjg0th | thx!
see you later, you are really helpful :) | [18:42] |
marclaporte | it will be /www/htdocs/w00ec615/8x/binaryfiles/
try now | [18:42] |
jjg0th | error page not found home
*Home | [18:45] |
xavi | left #tikiwiki | [18:48] |
Bsfez | joined #tikiwiki | [18:54] |
rodrigoprimo | joined #tikiwiki | [19:06] |
............... (idle for 1h11mn) | ||
goth | re | [20:17] |
jacmoe | joined #tikiwiki | [20:21] |
...... (idle for 28mn) | ||
goth | marclaporte: 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) | ||
marclaporte | back
marclaporte is resetting demo 8x again | [21:07] |
.... (idle for 17mn) | ||
g0th | hi
unfortunately I cannot test cyberduck (no windows here) | [21:26] |
Guest51461 | but: when I load the database to my apache server I see mime type application/zip too | [21:26] |
goth | trying 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] |
marclaporte | jjg0th: http://demo.tiki.org/8x/ is freshly re-installed so you can set webdav for testing /www/htdocs/w00ec615/8x/binaryfiles/ | [21:37] |
goth | I know, thx
have to reboot on windows | [21:38] |
marclaporte | you are testing latest 9.x with Jonny two relate commits? | [21:38] |
goth | it 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] |
marclaporte | ahhhh | [21:40] |
goth | (actually the files are not here at all)
because I didn't copy the local files, just the db | [21:40] |
marclaporte | Jonny's commits are about fixing the icon but I don't know if it helps for the rest | [21:40] |
goth | but 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] |
marclaporte | you can now review and edit mimetype: http://demo.tiki.org/9x/tiki-upload_file.php?galleryId=4&fileId=1 | [21:44] |
goth | that's nice | [21:44] |
marclaporte | oh wait | [21:44] |
goth | but: we don't want the user to manually set all the mime types | [21:44] |
marclaporte | I have have an idea | [21:44] |
goth | ideally tiki wiki should set the mime type according to the web server configuration | [21:45] |
marclaporte | You are already aware of "Fix mime types based on file suffix" it seems | [21:46] |
goth | yes
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] |
marclaporte | to compare two Tiki installs (in terms of Tiki config),, you can do export profiles and compare the two | [21:48] |
goth | export profiles? | [21:48] |
marclaporte | ok, activate "Fix mime types based on file suffix" on your Tiki | [21:48] |
goth | I did that | [21:48] |
marclaporte | oh, ok | [21:49] |
goth | but iirc that's just for images | [21:49] |
marclaporte | ah
are you also trying to make the .docx content be indexed? | [21:49] |
goth | not 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] |
marclaporte | ok | [21:50] |
goth | and we don't want to do "this" each time: 1. download it, 2. find the download folder, 3. open the file.... | [21:50] |
marclaporte | marclaporte wants .docx to be indexed for a project | [21:51] |
goth | for this you just need some docx to text program iirc
and working mime types I guess ^^ | [21:51] |
marclaporte | indeed
http://stosberg.net/odt2txt/ | [21:51] |
goth | but thats not for docx ^^ | [21:52] |
marclaporte | I 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] |
goth | http://wvware.sourceforge.net/
according to the tiki documentation http://dev.tiki.org/Binary+File+Handling#MS_Word more specifically I gues wvText | [21:53] |
marclaporte | http://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] |
goth | don'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] |
marclaporte | http://wvware.sourceforge.net/ last update 2006: I suspect it doesn't understand more recent file formats like .docx
:-) | [21:57] |
goth | hmm
.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] |
marclaporte | http://doc.tiki.org/Export+Profiles | [21:58] |
goth | how 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] |
marclaporte | db/local.php | [21:59] |
goth | how do I reset it?
rm db/local.php? btw http://docx2txt.sourceforge.net/ | [22:01] |
marclaporte | you 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] |
goth | dunno
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] |
marclaporte | that's the spirit!
Wouldn't /lib/mime/mimeextensions.php and lib/mime/mimetypes.php be a good place to check? | [22:18] |
panamaus | panamaus thinks so ;) | [22:20] |
goth | I 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] | |
marclaporte | Leu 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] |
goth | I mean the apache server
leu at thisdomainname?? | [22:56] |
marclaporte | @tiki.org | [22:59] |
.... (idle for 19mn) | ||
goth | thx, I wrote an email
gnight | [23:18] |
..... (idle for 22mn) | ||
fabricius | joined #tikiwiki
polom | [23:40] |
marclaporte | fabricius: you win the award for most creative transportation to go to a Tikifest | [23:55] |
fabricius | loool
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) |