arildb: excellent. thank you! arildb: right. that's not too bad for 7.x though bbl arildb: should I follow-up to tiki-devel? chealer: I am writing an email now. Please send a reply when you get it chealer: How do you include a smarty template in something like a foreach menu in smarty, a nested smart call? is it include? (I must not be searching for the right thing, sheet has me going mad) arildb: I got it. that's good, thanks :-) I imagine strict mode should become a default on Linux at some point if it is on Windows since 5.0 I'm not on MySQL 5.5 yet RobertPlummer: you mean you think it's not like outside a loop? I don't remember having to do that but I would just have called include. ah yes, it is include! thanks! Maybe. There are more benefits too, e.g. if Tiki were to support a different database, e.g oracle or SQL Server. chealer: It's night time here. Thanks for your help on this issue. arildb: your backport seems perfect :-) good night anyone still awake to help rick with a db issue.... i have a db table in utf8 with (R) symbols.... using the Tiki SQL plugin to read the table and display content on a wiki page.... but Tiki is showing the (R) as encoded characters, weird, instead of actual symbol. Any ideas what I'm doing wrong? hi here :) I think that I,ve found a strange and funny bug : If I write : ((something|0)), the display will be : "something" ( and not "0" ) probably wanna give an overview of it here and then someone will refer u to bugtracker. i don't know anything about the bugs so i can't help sorry :( no worries OTR I just want to let them know here before turn around this bug these day and possibly after, open an entry in the bugtracker (I think version is 6.x, probably 6.2) now i do know that the ((something|0)) is naming a page something and piping zero as it's display in a text statement so to speak so why it doesn't list 0 in the text i don't know --- does the same thing for me in 7.1 though perhaps some kind of weird null thing but really any scenario should be anticipated?! don't know but good luck. the folks in here when they're around work WONDERS for me! ;) yes, "strange and funny" :) thanks, I'll keep the chan im touch im/in tiki 7.1: i just authenticated my social network stuff (Twitter and Facebook) and now my whole site is blank. Is there some way to access my site and fix this? I mean EVERY page is gone! https://offgridops.org/foreclosurepedia/tiki-index.php they are all white with nothing on them i guess is a beter way to put it Can someone tell me how to access thru cpanel the social network module and delete it so i can have the wiki back or perhaps another suggestion? or do i just need to reinstall it !help You can get a more complete list of commands that work with this bot at http://tiki.org/TikiBot . !blank pages !help blank pages You can get a more complete list of commands that work with this bot at http://tiki.org/TikiBot . !Manually uninstall Module any suggestions at all to manually delete the social networks mod so i can get my wiki back? ill check back in the morning, leaving this on, and hopefully someone will help me otherwise i have to revert to mediawiki thanx OTR: you can prolly check db table modules or something using phpMyAdmin and unassign it there any idea what it would be listed under? btw this is the wiki i wrote you about to do the coding on so no point trying to log in ah, i see nothing labeled social networks. i installed the facebook auth deal and blam all crashed to white pages i don't remember from top of my head but it must be modules or tiki-modules db table and the module name probably shoutbox ? that one has integration with FB and Twitter yup i was setting up the social networks stuff just delete the shoutbox in the modules db maybe? if you were in admin panels and applied something there, then maybe it is in tiki-preferences db table rather than modules i am sorry, too tired now to investigate more (it is 7am here and i didn't sleep yet) hit the hay i will probably just reinstall reinstalling will contact u via email arildb, I was just informed that I should not congratulate you this morning. Merbster: why? ...guess you mean the football result yesterday.... :-( arildb, I don't care about football I just wanted to tease you a bit ;) anyone who knows the black arts of the LDAP auth mode? chealer, aer you here mate+ ? polom polom chiba! :) Hi SJ-Jay polom polo fabricius! :) Is there any way in trackers to have a field that automatically displays a link to the tracker item creator's user page? In other words, I want a link like tiki-user_information.php?view_user=My User Name where My User Name matches user selector (auto assigned to the item creator). ...for each item added in the tracker. It'd be easiest if the user selector field had parameter that made the item a link pointing to the user page or user information page. But this isn't coded apparently. hi fabricius hi SJ-Jay and chibaguy basically I'd like to find an auto-method to let people contact the user that adds each tracker item. like user selector that auto-assigns the user name, but this time with a contact link of some kind. chibaguy: I may need something similar chibaguy: but not necessarily to the creator, but for the people of a team who "take" the tracker items A page selector field can be used, but this requires the user to enter the page name, which will create errors, no doubt. chibaguy: we are developing a helping/support ticket system Yeah, fabricius, that's a similar case. chealer, u there? :) chibaguy: We want (longterm) to filter either "cases" of people who transmitted several tickets and/or cases of support-members who took the ticket and are involved in the support of a case or different cases of the same person for the start, I'd say the existing filter methods should be enough Perspectives - I did forget the URL-parameter to open a content (here: /tiki-forums.php) in a certain perspective (here: ?perspective=4) does anybody know offhand? - I'll check the docs awell fabricius, I think it has to be perspectiveId thx actually I don't think I know :P But fabricius when you set perspective like that it is only temporary fabricius, example: You go from Wikipage A with no perspective. to Wikipage B where link to wikipage B sets perspectiveId to 4 fabricius, when you go back to page A from B (without perspectiveId in url) you will end up back in the "normal" perspective Yupi, tiki-forums.php?perspectiveId=4 works! thx Merb I categorised the individual forums to the "community area", but could not set the forums at all to the "community category/perspective pair" - so I need the URL parameter I don' t know if forums can be categorized but I know forum posts can't OOOps I see a problem arises :-D fabricius: u can also do permanent perspective switch using tiki-switch_perspective... and setting for each perspective their own HomePage as tiki-index maybe but as we learned, there are no problems existing, but only slutions in this case each would have its own forum or something hi luciash, do you know anyway to have a tracker item automatically provide a contact link to the user who added the tracker item? in 7.x (oe was it for 8 ?) there is some return parameter also, which you could use to specify which page to return after the perspective switch yupi, maybe that would work - I am using the new perspective binder - maybe I'll have to test this a bit more and there is more work in it, than I thought firsthand a return parameter? chibaguy: i think using pretty tracker it should be easy Hmm. chibaguy, I think the docs of pretty trackers needs some simplification it seems daunting and overwhelming but the concept is quite simple chibaguy, basically: create a wikipage that has permission to be used as tracker template. Then you supply wiki param to your tracker and set the value to the name of the wikipage that contains your template if you don't want wiki parsing you can use tplwiki as parameter instead of wiki. you can even use tpl files by using tpl as parameter instead of wiki or tplwiki Thanks, Merbster. I've implemented pretty tracker a couple of times, but seem to need to think about it hard each time. ;-) I've been messing around with them alot lately Like having to read the sheet music instead of playing by ear. ;-) haha :P It's been some years since I read music sheets and played an instrument I wish there were more examples of what people have done/are doing with trackers and pretty trackers, etc. Merbster: tplwiki is new in trunk ? luciash, I have been using it on 7.1 ah, didn't know i am still 6.x mostly ;) We see parts of conversations or some new code, but no idea of what it's used for. chibaguy: new code, not clear for what its used? I mean svn commits involving tracker fields, things like that. chibaguy / Merbster - a good and easy enough documentation about pretty tracker would be absolutely great Maybe I just need to look harder for docs, but .... chibaguy / Merbster Pretty tracker will arise as important issue in my projects, maybe soon chibaguy / Merbster - if I could get a hand to get this explained (for ex. setting up an example with somebody) I could help with the rewriting then I think the pretty tracker explenation on doc.t.o is way to technical for normal users. too many details on how it works, instead of a 5 step guide to "getting it up and running" :P Merbster: yeah I like step by step HowTos I want to start making up videos, as soon as I have the few websites running, I am on at the moment I guess for me the problem is I've used pretty trackers a few times, but a long time in between, so I have to work through it again each time, with my own notes and diagrams, comparing my fields to the example fields, etc. It's tedious. Would like to get some hints by s.b. who already made up some videos - no support/education, but just some chat with somebody experienced pretty tracker can be 3 step guide: create wiki page Foo with {trackerlist trackerId=1 wiki=foo_template}, create wiki page foo_template with {$f_X} field(s) where X is ID of the field, assign perms to that page to be used as template (tiki_p_use_as_template) As I worked in adults education for a couple of years (not anymore since a while) I find it not so tedious, but would need a first induction by one of the technicians or 2 steps if you use category with the perm For ex. I am using perspectives pretty much and explained the use to many people, but I could start with that not before Marc took some time and explained them to me in an online meeting part of the problem has been, that on my server some settings have been wrong and the perspectives literally did not work at all, what I could not realise, because I never used them before ... heh, that reminds me of problems with Tiki when you don't know if your methods are wrong, or if there are bugs in the code you are trying to use. That has made me crazy a few times. 2, 3, 5 steps not so much a matter, once you have it quite clear ... after words it should be easy to extend the knowledge and use just by using yeah chibaguy thats why coders, admin, documantation editors etc. need to work together - what happens quite in a good way in the Tiki community Actually that has been a major theme throughout my time using Tiki. It adds kind of an x factor to anything you want to do with Tiki. lol, ninja factor I guess it's the price to pay for quickly-changing code. my convincement of Tiki is not only due to the software itself, it's the way the community works together luciash, or chibaguy does any of you guys now anything about tiki ldap? Any of you guys trained in regex-fu ? :P /\s*,?dc=\s*([^,]+)/i <- I am wondering what this one is matching SJ-Jay: sorry, nope SJ-Jay: Merbster: sorry, no. :( i wiss chealer was here! :D wish* Merbster: my guess is that one is intended to match any number of spaces before optional "," then "dc=" and again none or any number of spaces and then any number of characters (at least one) except another "," luciash, Thank you. Do you have a good ressource for learning regex ? because I have only found guides that are about as descipherable as old egyptian texts. Merbster: which is recorded in $1 Merbster: that what is in the ( .... ) Merbster: not from top of my head but google is your friend ;) Merbster: best is learn by try on sites where you can test your regexps luciash, you are probably right. Merbster: i've used http://www.regexp.cz/ Merbster: but that one is in Czech ;) Merbster: almost Egyptian text for you ;) hahahaha luciash, atleast you are _trying_ to be helpful :D just providing hints ;) isn't there a url-parameter to switch to a perspective AND page/section AND stay there? didn't find in the docs like /tiki-switch_perspective?perspectiveId=XYZ&page=tiki-forums.php - what is apparently not working forgot the .php http://www.google.cz/search?aq=0&oq=regexp+test&sourceid=chrome&ie=UTF-8&q=regexp+tester fabricius: nope, that's why you need the trick with homepage set for each perspective fabricius, the page url parameter takes wikipage names, not php files -> /tiki-switch_perspective.php?perspectiveId=XYZ&page=tiki-forums.php - what is apparently not working hmmm - so if I use forums as homepage for a perspective, it would work? -> trying fabricius, if you want to point to a specific wiki page in a specific perspective it'd be something like tiki-index.php?page=somePage&perspectiveId=4 fabricius: yes fabricius: because after perspective switch it is always redirected to tiki home page yes, but I have made up an area for community and all forums should have the same top bar than the community area thx luciash arrrghhll fabricius: r u all right ? :) nooooo ;-) what means in the above context "set forum homepage first"?? huh ? sry, I had to activate the possibility to change userpreferences first, as I divided three websites that I had on one installation - was a bit confused as I had german as default, but english as site languge hmmmm still, when I switch to a certain forum, I am redirected to the default perspective I do not get there luciash: I do not get the Forums as homepage for a specific perspective I am in /tiki-edit_perspective.php Use Tiki feature as homepage: forums: set forum homepage first urglll fabricius: setting a feature as the homepage has been buggy, itself. I don't know if it is more successful via perspectives. chibaguy: I need a reliable way, to keep a certain top bar menu for all the forums !!! I have an idea Do you mean exactly the same topbar menu? I don't understand why it would change. because our head is round to allow our brain to change the direction of thinking chibaguy: I have certain (4) main areas heh, I thought it was round because friction with the world knocked off the corners. ;-) loooool perhaps a combination of factors. :-) chibaguy: first aid, professional informations, associations, community - each with individual menus and each with another color scheme then I have the default perspective, wich includes the landing page, new (articles), blog, general informations forums is clearly belonging to the community area (green top bar with community specific menu) Can you have two menus, one that is specific to the perspective, and one that is global? but when I switch to a certain forum or forum thread, ... I get the grey landing page top bar with a nonappropriate menu I have a top bar in the default perspective (main, landing, news etc.) and four more top bars for each area aka category/perspective pairs Oh, so there is no logic to cause the forum menu to display? fabricius, you can show menus depending on page adress. and also if you are good with smarty templates you can check categories of the current page and change a menu based on those caetgories so perspective 1 has a red topbar with first aid menu, perspective 2 with orange topbar and prof.' information menu etc. fabricius: i meant just to set up the global main homepage for each perspective different Merbster: my idea two minutes ago was to setup a topbar especially for the forums and hide the others for the forums fabricius, you do know that perspectives makes you able to change almost all settings of tiki? luciash: I think I understood that, but it seems not to work - maybe a user (me) missconfiguration or a buggy use Tiki feature as homepage feature Merbster: yes, alomost all, but not all ok. good :P one problem (just different logic than formerly) now might be, that in Tiki 7 we do not have a "Top Bar" in the top bar area anymore, but only any module in the top bar area - so we "lost" the possibility just to change the menu Id for a perspective But anyway - my forums are reluctant to stay in either the community perspective or alternatively in an uncategorised "forumspecific" perspective Can you make a module whose data has the code to change the menu Id per perspective? So I will try to do it with a section specific menu So not to use the menu module, but a custom user module? chibaguy: I do not know how, but that would be nice - but then I would have to do use theme-options (what I will anyway, but firsthand for the first development steps i switched colors by menu_Id in css) odd, but quick and dirty ;-) chibaguy: a custom user module would be ok aswell, maybe even smarter - do you know the code to change menu Ids based on perspective in the menu custom code section? but that still would not solve my problem with the forums, that minimum should altogether stay in a certain perspective (if I could not longterm assign individual forums to different perspectives) chibaguy, fabricius, Merbster : is this understandable enough ? → http://doc.tiki.org/tiki-index.php?page_ref_id=3881 luciash, that is awesome sauce right there. thanks, luciash :-) luciash, did you make a link from the pretty tracker page to your "Quick Guide" or whatever you'd call it? Merbster: not yet, feel free to link it :D luciash, I would do it, but I am kind of busy debugging the ldap module. Merbster: ok, i am still logged in, i can do it luciash, thank you very much :) woohooo thats cool - thx a lot luciash luciash, thanks for that page, but I think the problems I've had with pretty trackers happen after things get more complicated. Anyway, I'll give them another try soon, and try to be more specific about problems, perhaps for future docs. when some time, we should add another example for one a bit more complicated pretty tracker - like a form or so andmaybe a list of these template operators like {$f_1} and so and some wors, what the most important do but this example is really very good, to explain what pretty tracker is and how the principle of its usage works fabricius: that's right. It's very good for that. link added to http://doc.tiki.org/tiki-index.php?page_ref_id=3364 polom y'all hi ricks99 hi ricks99 I was thinking "y'all" really fills a need because in English "you" doesn't indicate singular or plural. yes, "y'all" is 3rd peson plural, Southern ;-) in the north, it is "youse" well, 2nd person, to be pendantic. at least in oregon. ;-) 2nd. you're right ;) back to the forums issue - are there any more hints, or can/should I head off to do the solution with feature (section) specific module? fabricius: do you want to add a menu for forum pages, or replace the default menu? (2 menus or just 1?) I have discovered that the ldap module included in tiki version higher than version 6.3 doesn't handle special characters i.e. the danish O "Ø" chibaguy: just 1 - I want to replace the default menu in the topbar area included background color actually it's since tiki 6.1 no one here now that has touched the ldap / user authentication code? fabricius, happy reading! :P Merbster: thx :-D polom tikiverse yo coaboa I have a db encoding issue... i have a db table (non-Tiki) in utf8 with ( R ) and TM symbols.... In Tiki, I'm using the Tiki SQL plugin to read the table and display content on a wiki page.... fabricius, there must be some statement possible, in a custom module data, like 'if perspective Id is 1 (and if section is forums), then menu 1, else menu 2, and repeat this for each perspective, and then else default menu. but Tiki is showing the ( R ) as encoded characters, weird, instead of actual symbol. Any ideas what I'm doing wrong? chibaguy: I think that must be possible, yes chibaguy: those operators for stuff like that ... is that smarty or Tiki markup? Just look for some example code, maybe at themes.tiki.org/Template tricks smarty filter smarty filter - so an"area" of smarty code maybe I can find stuff for that on the smarty website!? http://themes.tiki.org/tiki-index.php?page=Template%20Tricks&pagenum=2#Adding_content_only_for_a_preference I have the idea to write some stuff (and do some video) all around structuring and organising a Tiki website like contextual menu methods, perspectives, categories, workspaces, areas, etc. etc. thx chibaguy @fabricius: you're welcome to add it to Smarties and take it beyond the basics hehe or to Tiki Essentials :-) @ ricks99 for smarties and essentials I would like to translate - the books please do :-) anyone have an idea about my encoding issue with SQL plugin ^^^ ? ricks99: I had to accept some bad times and need first to start here back in my hometown - new job, renovate my cottage and no money ... ricks99: but I am pretty sure, that over the late autumn and winter I will have lots of time to sit in front of my oven with lots of cups of tea and could do such a project that would be great! olaf-michael did give me a lend of the smarties, but when I will start, I will need an electronical script for each When you're ready, just ping me directly and we we'll work it out how did you write the book? open office / open office and scribus / tech ... ? tex, sorry FrameMaker for the paper version. Then did FM -> HTML (via Sigil) for epub goddamnit, doc is db down again just when i need to save my edits ;) phew, after another relaod it saved finally luciash, do you get the system error message and then reload and get the normal page again? That's happened to me a number of times, with tiki 7. The db can be connected to, it just misses somehow on the first try. i want to hide the plugin edit helper icons in doc.t.o to see how the page looks without them ... impossible ? Not just doc.t.o for me. also on a server with just 32MB of memery. chibaguy: yes memory 32MB is not enough from my experience at least 64M works, but to be safe 128M is ideal yeah, that's true. lphuberdeau: Did you get my im yesterday? lphuberdeau: I was looking for any input you had on refactoring the spreadsheet admin view. #\s# a regex like this will match what? anything inside # # ? I found out why ldap.php doesn't work with tiki versions newer than 6.1 and it's because we have a Ø in our CN name. Merbster: imho one space only luciash, do you ahve time to compare 2 x 5 lins of code that contains this regex? (can be tab or newline also) I weill serve pastebins ofc. doc needs some admin love Merbster: give it a try rehi luciash, http://pastebin.com/JWTmrmvh <- this is the new one included in tiki 7.1 luciash, http://pastebin.com/uhhgXqpD <- this is hte old one from tiki 6.1 to make tiki 7.1 use ldap to auth against our active directory, I need to add the regex stuff. or else it will fail when it contains Ø we tried with a CN name containing a space and it worked So that regex must do something special. :S Merbster: the Ø is very common in denmark, isn't it? what does it mean? resp. sounds like? could be similar to our Ö ? fabricius, basically OE fabricius, yes it is. the German Ö you can also write OE jupp I think it's lame. we don't need those three special chars and it gives alot of headaches for us IT guys. :-D try explaning an accountant why he can't have http://mySuperØffeHomepage.com Merbster: it really matches "# #" because the english speakers invented the internet? because america decided for english instead of german as national language 150 years ago? Merbster: it doesn't match "#Ø#" or something else because conrad zuse and these guys haven been danish? just kidding luciash, what about the == 0 same problem with our "Umlaut" Ä Ö Ü and with the "sharp s" ß I don't see how 2 strings and a regex match can every be == 0 Merbster: http://www.google.cz/search?sourceid=chrome&ie=UTF-8&q=preg_match+php.net aah I read the code as all 3 things should == 0 all 3 things AND'ed together :P god damn nested parantheses :P :) chibaguy: lol Is there a way to see what the prefence in the admin panel is named in the database? Merbster: when you change and apply it it gives feedback with the pref name ah yes tiki 7.1: installed social networks and all tiki pages went blank. tried to manually delete shoutbox (upon recommendation if you check the logs about 0200 this morning) and no go. anyone have any other ideas. thanx the twiter and facebook auth stuff https://offgridops.org/foreclosurepedia OTR: how much memory does your server have for php? OTR: it rather looks like you have something put in custom HEAD code if you view the rendered page source no idea is there somewhere in cpanel i can go and check? OTR: it ends rendering after the styles in head so as i really dont have much in it is it easiest just to reinstall? ur up way too early too! ;) OTR: :-p The memory level is reported in one of the tiki install screens. I don't think it's in cpanel anywhere. OTR: well, you could check in db via phpMyAdmin in iki-preferences table if some custom code values look suspicious yeah i can't check anything on tiki as i cant access it *tiki-preferences in cPanel there should be link to phpMyAdmin OTR: did you put some facebook code in your Custom HEAD Code in Look&Feel ? OTR: or anything else with { or }? nope. i just added the dev codes to the twitter and facebook social networks plugins OTR: it usually locks you out if you put the { and } in the custom code areas without surrounding them using Smarty {literal}...{/literal} because it thinks it is a smarty syntax in plugins or modules ? while it is usually JavaScript code yeah, i'm just gonna reinstall as nothing is really in it and i don't wanna risk surgery :) email enroute ok :) prefs.php just contain default pref values, they will be overridden by DB values when it is used right? Hi, I have detected a problem with international characters in the WYSIWYG editor. Anybody here that can help? @luciash: all sent, heading to work will be back later The bug is like this: 1) Create a page: My ÆØÅ page 2) Create a link tp the wiki page ÆØÅ page on another page, say MyLinkPage 3) Save 4) Edit MyLinkPage again 5) Save ....The link to the ÆØÅ page is then broken. The norwegian characters are not preserved. Any thoughts Error found in 6.x 7.2 (SVN) and 8.0 SVN Annoying for norwegian users. I suspect the same error will appear for any non-english characters danish too! ;) chealer, u still not there? really need some LDAP help I have a fault with modules limited to more than one section in the default perspective (here Id=0 not Id=default): only *wiki* works, only *cms* works, but *wiki;cms* does not show the module in "wiki", but only in "cmS" SJ-Jay: There's also an LDAP forum at tiki.org, if you don't get a response here and can wait for a response. ;-) http://tiki.org/tiki-view_forum.php?forumId=17 I don't know how responsive it is there, though. arildb, how does the url look? arildb, the url of the link after you saved the page "æøå siden 2" turns into href="tiki-index.php?page=æøå+siden+2" i.e. garbage The text in the link is cottect: æøå siden 2 correct arildb, can you edit the href of the link manually? chibaguy, thanks! will have a look at it ;) I am suspecting the module is not handling multibyte characters properly. So, if you know ehere in the code: check for usage of any str* function. Maybe the mb_str* function should be used arildb: presumably your db charset is utf-8 Merbster: Yes, I can edit the llink manually. The problem is that it will be corrupted again next time I save the page with the link arildb, I am thinking that maybe æøå is not url encoded correctly luciash: Yes UTF-8 %c3%a6%c3%b8%c3%a5 <- this is æøå url-encoded Merbster: That is the displayed text, and that is corerct. It's the URL that gets corrupted arildb, yes. I get that, but you still need to url-encode an url à is nto a valud char in urls Werbster: I am linking a valid wiki page name. The module should do this conversion arildb, first step of solving the problem is finding it's cause Merbster: Yes, ...anybody here familiar with the WYSIWYG editor? arildb: and you have Wiki link format set to complete ? luciash: Not sure what you mean arildb: what module ? arildb: i mean on Wiki Admin panel tiki-admin.php?page=wiki Wiki link format luciash: WYSIWYG...it's in the wiki content and using links from another wiki page I get the error. Not in the admin panel luciash: ok,, checking arildb: ah, you get that only when using Wysiwyg ? arildb: must be Wysiwyg arsing bug then sylvieg, u there? *parsing luciash: That's where I see it, and that's what the users use. Haven't tried the wiki editor arildb: we use lot of czech characters in page names and do not get the bug in Wiki editor in 6.x luciash: "Wiki link format set to complete". Should that be an option in wiki admin? I can't find it luciash: 6.x, 7.2 (SVN) and 8.0 (SVN) arildb: yes, it is there on the first tab "Wiki link format" luciash: Yes, set to Complete. Also "Prevent special characters in page names" is not set arildb: fine, just to be sure arildb: it must be Wysiwyg bug then luciash: I will try the same test using the wiki editor hi Merbster, SJ-Jay CHEALER!!!! :D maaan we've been waiting for you.. hehe \o/ it might be early for LDAP and regexes... chealer, your name figures at the top of ldap.php :P I hope you know something about it. chealer, did you see the links I sent to luciash ? to pastebins Merbster: hah. I unfortunately do know *some* stuff we found a bug with ldap.php chealer, you want the pastebin links again? (they're 5 lines each) Merbster: I see them luciash: Works KO in the wiki editor chealer, why did you remove the regex? (if it is you) arildb: KO or OK :) ? luciash: ...typo KO OK there :) thought so jonnyb is the master of Wysiwyg development... maybe he'll know when he shows up here luciash: thanks, I'll keep an eye out for him (︶︹︺) <-- chealer look how sad i am.. damn.. didn't work ok.. look how angry i am! --> (>_<) Merbster: prefs.php does contain defaults, yes chealer, I figured as much I have just learned that you should ALLWAYS verify your assumptions in regard to programming that would be false in trunk lphuberdeau, Ok I will remember that when I start to add funcitonality myself. @luciash: shot email out. last email deals w/the new site install for situation tiki 7.1: new install tracker w/3 items: get this error message at bottom of page amongst others in php error msgs: PHP (5.2.17) NOTICE (E_NOTICE): File: templates_c/en^%%59^596^59602972%%text.tpl.php Line: 6 Type: Undefined offset: 2 is this serious or just normal stuff? thanx OTR, your PHP errorlevel is wrong, notices and warnings can usually be ignored. or I wouldn't call it wrong but it shows everything so what level should i have it report at being that i am not a coder? a level that should i come here y'all would need OTR, then leave it :P But then you will allways have the error box showing notices (atleast if the page you are on results in notices/warnings) as usual THANK Y'ALL so much! man, you guys are GREAT! will remove it if it doesn't impact me Merbster: I didn't, killianebel did: http://sourceforge.net/apps/trac/tikiwiki/changeset/31339/trunk/lib/auth/ldap.php chealer, do you know what might be wrong when it no longer synchronizes the user's AD groups? - it has been working before. We didn't notice when it stopped synchronizing groups though Merbster: it is not clear why the regex was removed, but it's equally unclear why it was there. chealer, I agree. But the effect of removing it, removes support for Ø in the CN name We used to run with a tiki 7.1 with ldap.php file from tiki 6.1 and it was working Now I got time to solve it properly and did a diff on hte two files and besides som error handling for "explicit" it's the only real change of the two files Merbster: I don't use LDAP myself, that would need debugging. Merbster: you have a good start, now you should find which one of the variables is not getting set in 6.x are which option chealer, evyerthing has been working perfectly in 6.x Or which option it's 7.x that is the problem with ldap I got the æøå problem fixed (by including the regex in the 7.1 file) but as I said. groups are not being synchronized now. *sigh* it is searching for groups with CN of my ful lname instead of using initials (which is username) Merbster: oh, yeah. yes, the regex in 6.x prevented some LDAP options from being set. it appears that removing it gets an option set in 7.x fixing your encoding issue chealer, But. the ldap bind fails when the regex is not there Merbster: however, it seems that setting this option causes a different problem. so I suggest you first find which option is affected by the regex. damnit. I have spent most of the day on this and I have a deadline in 8 days and still atleast 15-20 pretty trackers that needs making. chealer, sorry if I seem negative, I really appreciate your help :) hmmm. ok SJ-Jay just made a breakthrough Merbster, actually i made 2 breakthroughs today the UI of ldap has changed and some options usually under LDAP tab is under "LDAP External groups tab" and we don't use external groups. and there is no documentation of this change chealer, so far the only thing that regex does is make us able to use ÆØÅ. Apparantly the groups problem was related to the UI change (which apparantly screwed over our prior settings) Merbster: welcome to our LDAP code... chealer, thank you for your help atleast. Iwill document what I found on doc.t.o. Merbster: OK, I don't understand your problem, but I don't wish that much to understand it, happy if you solved it :-S re hi luciash (sorry, internet went off here - reconnected now to my remote screen session) chealer, I don't understand it either. :P But hey, I don't know how a beertap works either and I don't care, as long as the beer flows! I guess the regex stuff belongs on dev.t.o. and not on doc.t.o where should I document the "bug" with ldap not supporting æøå chars? Should I just add it as a bug on the bugtracker? and which bugtracker is the most used one? - the one on tiki.org or sourceforge's ? the one on sourceforge stopped being used in 2003 I think lphuberdeau, thank you :) getting Uncaught exception 'PDOException' with message 'could not find drive on doc.t.o :( ricks99, sounds a bit scary I'd say !help shaun_: just ask ricks99: where exactly? I am completely new to setting up a webpage or wiki. With that being said. I ran across the "tiki for smarties website". I downloaded 6.4 LTS Tiki and EasyPHP 5.3.8.0. I fallowed the steps just as they were laid out. Installed Tiki. Now its time to configure. When I attempt to log into the Tiki for the first time as admin. Internet explorer says that the page cannot be displayed. @chealer: http://doc.tiki.org/PluginSQL ricks99: I'm not seeing that there (anonymous) shaun_ so you can see the welcome page and the login box of tiki? coaboa > yes. have you tryed a different webbrowser? Same effect? if i log in with an account i know is not there, it does tell me its not a valid account. only with admin does it give me a page that's un-accessable. I will try chrome and see if it happens again. I have been using Internet Explorer 8. @chealer: I'm getting it reliably (other pages are ok)( ricks99, you enabled sql on doc.t.o? that does not sound safe no. i have not enabled anything. just trying to get to the doc page coaboa > same result with chrome. did you run setup.sh? hi coaboa. he's on Windows... oh. coaboa > Yes, I am on windows. @shaun_: if it is the exact same URL, pls confirm that you are *not* running IE in offline mode ricks99: worked in Chromium too. I got it when logging in. @lph: Tx for your help on dev list. Two separate SQL plugins worked perfectly. ricks99: um, he said he had the same result with chrome :-? I have verified I am not viewing in offline mode. o. sorry. didn't see that. :( protected mode is also off. Are there some services i should make sure that are enabled that were not outlined in the installation walkthrough? shaun_: nothing but Apache and MySQL, no. To confirm: exact same URL works in FF, but gets 404 in IE & chrome? According to EasyPHP, those are up and running. I also created the databases, and ran the installer for tiki. and locked the installer. I did see something about enabling .HTaccess.... this is something i did not do. There were not specific instructions, and i wasnt entirely sure i needed this. ricks99: I don't think he's necessarily getting a 404 error, he said "the page cannot be displayed" What is the URL you are trying to access? http://127.0.0.1/tiki/tiki-login_scr.php is success full... after typing admin admin. http://127.0.0.1/tiki/tiki-login.php cannot be displayed. And this only happens with IE ?? with all. OK. turn on TIki error reporting. Re-run the installer and skip the the last step and select ALL reporting tikiwiki: 03chealer * r37006 10/trunk/tiki-setup.php: Attempt setting locales to the system default. Try setting LC_COLLATE to a UTF-8 collation in particular. This is a start and could have undesired side effects. Please contact me if you see any. shaun_: I guess he meant "skip TO the last step" I'm having trouble running the installer again. I locked it. Its asking me to use my file browser and unlock the file. I don't know how to unlock it. I figure it out. I was thinking too hard about it. so, everything wokring now? Well i got the installer working agian. i had to delete the "lock" file. How do i enable the tiki error reporting? before running the installer again? fabricius, weren't you experimenting with conditional menues? @shaun_: run the installer and go to "configure general settings" page Thank you. I was reading your instructions too literally. I apologize. I have enabled all errors. Verified that my log in is still broken. Where shall i gather the error messages from. look at bottom of page which page / url ? the tiki page that fails I don't remember how I include plugins in smarty there is no page displayed. its as if i was disconnected from the internet and the page was unable to load. this is the problem i'm having when i try to log in as admin. ricks99: he said Internet explorer says that the page cannot be displayed. he must be getting a real HTTP error ah.... need to check server log then check ur sever logs. theres obviously something else going on, beyond simply TIki configuration There are some errors in the apachee logs. If I want to include the JQ plugin in a menu module how can I do that? @Merbster: can include plugins in smarty via {wiki}{JQ(.....)} {/wiki} iirc ricks99, I will try. thanks [Thu Sep 01 16:26:33 2011] [error] [client 127.0.0.1] File does not exist: C:/EasyPHP/www/mysql [Thu Sep 01 16:28:24 2011] [error] [client 127.0.0.1] File does not exist: C:/EasyPHP/www/favicon.ico Its looking in the wrong places. a missing favicon.ico won't stop the page from displaying mysql should be c:/easyphp/mysql. and favicon.ico should be c:/easyphp/www/tiki/favicon.ico [Thu Sep 01 17:29:26 2011] [error] [client 127.0.0.1] script 'C:/EasyPHP/www/tiki-admin.php' not found or unable to stat this is also wrong and should be c:/easyphp/www/tiki/tiki-admin.php you need to reset your base location. looks like an easyphp misconfiguration How do i do this? not sure. Need to check easyphp docs I think this is apachee specific. I just loaded the EasyPHP admin console and couldnt find any section to change these paths. Is it possible to use smarty if-then-else to insert a piece of JQ that hides the module itself? I am trying to hide a menu depending on which category the page you are currently on is member of. In the module definition that includes the menu I can check on $objectCategoryIds and hide the content of the module. but the module itself (with borders and header) is still there. tikiwiki: 03lphuberdeau * r37007 10/trunk/ (4 files in 4 dirs): [MOD] Moving export item to ajax controller, item filters are out for the moment, lots of debug info gone as well and progressbar missing, but the code should behavior should be more consistent tikiwiki: 03lphuberdeau * r37008 10/trunk/templates/tiki-export_tracker.tpl: [FIX] Leftovers lphuberdeau: in http://doc.tiki.org/search%20index the language field is marked as "static value" for things like forum post, tracker item, what does that mean? the field is set to unknown generally for tracker item does it not take what is set from the language field? doc might be outdated for some bits trackeritems should have the correct language if there is a language field ok, forums are an issue for me... I need them by language and afaict there is no ability to do that. I only need them at the forum level, not at the topic/post level, and I don't need translation features. Any advice? (but even though I only need them at the forum level, when searching for forum posts by language they should selective show) well, you have to associate a language to the forum somehow and then you can index that with the post is adding a language dield to tiki_forums advisable or is some other approach better? that would do ok, I'll do something lphuberdeau, does categories field display from search index check for view_category (in a listing) perm? not sure I am thinking that on indexing it should be all the same in the index.... but perms are indexed too so... ok there is a chance I suppose, this is interesting well, perms are indexed for the document view not sub-fields that would actually need to be handled by the rendering ok, then maybe not much chance them, and woul dneed to be handled by the rendering slow... well, not really that slow it's just when you actually render that value and you're not going to render 1 million at a time that 's true. on this topic I sort of have a feature request (but not urgent nor high priority) to index category parent together witht he category, so that I can display the categories divided up by parent for example. I suppose I could do it all at the rendering stage as well I don't really understand the feature you mean like sorting by category path? visually, the end result would be sort of like sorting by category path, just with more control over what is shown or not.(maybe only certain parents or whatever) basically right now {$result.categories} does not have any information beyond the category itself tikiwiki: 03robertplummer * r37009 10/trunk/lib/sheet/grid.js: [FIX] Removed uneeded data lookups lphuberdeau: well a smarty function to getCategoryParent will do the trick I suppose tikiwiki: 03robertplummer * r37010 10/trunk/ (4 files in 3 dirs): tikiwiki: [ENH] Modified the layout to resemble parent/child structure tikiwiki: [NEW] Each sheet, child or parent, calls tiki-sheets_listing.tpl tikiwiki: 03robertplummer * r37011 10/trunk/tiki-view_sheets.php: [FIX] Added logic for if not editable at first to keep it read only till user clicks the edit button tikiwiki: 03robertplummer * r37012 10/trunk/lib/sheet/grid.php: [ENH] Added the ability to lookup sheet parent from child tikiwiki: 03lphuberdeau * r37013 10/trunk/ (7 files in 5 dirs): [MOD] Move dump tracker lphuberdeau: i think i will instead write a Search Formatter instead to format an array of categories into a multidimensional array grouped by parent catIds as keys. tikiwiki: 03mlustenberg * r37014 10/trunk/lib/test/editlib/ (EditLibTest.php ParseToWiki_CharacterTest.php): [ENH] more tests for EditLib tikiwiki: 03chealer * r37015 10/trunk/lib/categories/categlib.php: (log message trimmed) tikiwiki: CategLib: revamp getCategories(): tikiwiki: Assume that no caller actually wanted a pure sort by name and change $sortByName to $localized, defaulting to true tikiwiki: [ENH] Optimize localized calls by adding one cache per language rather than re-sorting tikiwiki: translate tepath and categpath when localized tikiwiki: [FIX] Properly preorder tikiwiki: [FIX] Change siblings sort to use SORT_LOCALE_STRING instead of cmpcatname() (take_away_accent()) hack. This could cause sorting regressions on non-UTF-8 systems. Please see r37006 and contact me if you see one. tikiwiki: 03robertplummer * r37016 10/trunk/ (lib/sheet/sheetlib.php templates/tiki-sheets_listing.tpl): tikiwiki: [FIX] Brought more info to get_sheet_info tikiwiki: [FIX] Got rid of isChild attribute, now use parentSheetId from get_sheet_info tikiwiki: 03robertplummer * r37017 10/trunk/tiki-import_sheet.php: [FIX] Migrated to new sheet lib Polom not really Tiki related, but I'm reinstalling jitsi on a new laptop (kubuntu 11.04 64bits) and it says I need either sun-java6-jre or openjdk-6-jre I wonder which one is best tikiwiki: 03chealer * r37018 10/trunk/ (15 files in 5 dirs): [REF] Just remove some default arguments Jyhem_laptop: OpenJDK is in development. for stability Sun's is best. I didn't know that chealer. they are both -jre one is by IBM/open source, the other one is by sun with a complex licence technically they do the same thing lphuberdeau: Good to know as well. developers for both will claim theirs is faster lphuberdeau: In spreadsheet I switch from using parentSheetId in mysql to using relationlib, you are the creater correct? #creator lphuberdeau: Anyway, so simple yet so useful. yes, very simple indeed lphuberdeau: I especially love how you can switch the context, from parent child to child parent. or, uh... "to" to "from" chealer I solved my problem. shaun_: excellent. can you share the solution? tikiwiki: 03chealer * r37019 10/trunk/templates/tiki-listpages_content.tpl: [FIX] Smarty notice "Undefined index: categpath" and unnecessary newline chealer > you were correct in believing it was a strange EasyPHP error. i uninstalled everything and started from scratch. then i installed easyphp. found this great site... and fallowed all the steps in detail. http://www.canowhoopass.com/guides/easyphp/setupmysql.php shaun_: hum, strange. it's ricks99 that suggested that though :-) well, for what it's worth, I installed openjdk and jitsi seems to work :-) shaun_: I'm curious to know exactly what was wrong, but I'm happy that you're going now :-) When that was complete, i unzipped the tiki wiki like normal to c:\easyphp\www\tiki\ well... i never manually edited the configuration files. because, as advertised;) it works right out of the box right. tikiwiki: 03chealer * r37020 10/trunk/tiki-listpages.php: [FIX] Smarty notices "Undefined index: categpath", "Undefined index: categname" after finding the canowhoopass.com walkthrough, the e-mail and everything works. i was also able to log in as admin admin and change the password with out a hitch. Well, thanks again for our help, i hope this helps someone else. Tell ricks99 thanks for pointing me in the right direction, he lead me to solving this problem. shaun_: OK, good luck with Tiki! tikiwiki: 03chealer * r37021 10/trunk/lib/categories/categlib.php: tikiwiki: getCategories(): actually index by category OID. oops tikiwiki: [REF] get_category_path_string(): document and optimize tikiwiki: get_category(): switch to Cachelib cache "allcategs" tikiwiki: 03chealer * r37022 10/trunk/lib/categories/categlib.php: [REF] remove static category_cache, unused after r37021 somebody mentioned jonnyb is the wysiwyg expert. However, he mentioned he is busy a few days. Anybody else here that has some knowledge of the wysiwyg editor? tikiwiki: 03chealer * r37023 10/trunk/lib/categories/categlib.php: getCategories(): fix caching (r37015 regression). OOPS arildb: mlustenberg apparently, but he's not on IRC chealer: thanks. I'll have a lookout tikiwiki: 03lphuberdeau * r37024 10/trunk/ (8 files in 5 dirs): [MOD] Moving the events/todo `humm.. Is it a regression on 7. When I open a page that belongs to a structure it was used to display the structure navbar by default ... http://doc.tiki.org/Blog Hi: I used in custum html head area : {include file='filename.tpl'} which worked in R35883 but nut in a current trunk (eg. R 37004). Has the syntax changed? *custom coaboa: just a guess.. try with double quotes... It was a bug some times ago hi, I'm using version 5, and I'm wondering if there's a way to use the current user's emai as the sender email tikiwiki: 03mlustenberg * r37025 10/trunk/lib/ (3 files in 2 dirs): tikiwiki: [FIX] EditLib::parseToWiki() Fixed line break handling for bold and italic text tikiwiki: Remarks: works for , , , tikiwiki: Note: spans are not yet fixed sylvieg: double quotes just prduce the same white screen. Could this be a parser issue? When I directly enter the code-content of the file I wanted to be included in the custom area it works. have to go good night all is there a way to avoid plugin validation (e.g. pluginHTML) on certain pages? e.g. certain pages I know only admins can edit anyway tikiwiki: 03sampaioprimo * r37026 10/trunk/tiki-editpage.php: better format for translatable string tikiwiki: 03robertplummer * r37027 10/branches/7.x/lib/ (2 files in 2 dirs): [FIX] Brought colors from wiki plugin to pre tag to codemirror tikiwiki: 03chealer * r37028 10/trunk/ (4 files in 3 dirs): [REF] getCategories(): add $filter argument, allowing to only get a specified category or its children tikiwiki: 03chealer * r37029 10/trunk/lib/categories/categlib.php: tikiwiki: [REF] get_category_path_string_with_root() tikiwiki: [REF] getCategories(): index tepath element by category OIDs Has the 3.x LTS release been EOL-ed? tikiwiki: 03chealer * r37030 10/trunk/tiki-browse_categories.php: tikiwiki: [FIX] "Fatal error: Uncaught exception 'Exception' with message 'Invalid category identier' in /var/www/tiki/trunk/lib/categories/categlib.php on line 119" when trying to watch a category tikiwiki: Extra argument to get_category_path_string_with_root() due to presumed copy-paste error (from r24473) tikiwiki: 03chealer * r37031 10/trunk/ (2 files in 2 dirs): tikiwiki: [FIX] HTML special characters encoding tikiwiki: [FIX] Smarty notice "Undefined variable: p_info" tikiwiki: [REF] Optimize paths display tikiwiki: don't set Smarty $path to "Top", nothing expects a string