is there a way to only allow anonymous to view the main page, but have to login to use anything else? i didn't see a deal in the perms (tiki 3.1) thank you specific to the main page ibrrorg: hi, you can use GROUP wikiplugin or perms per page not sure what that is, if you tell me where to read about it i will go study and can go from there will check the perms per page right now just give tiki_p_view to Registered only and then on Home you edit Perms and allow tiki_p_view to Anonymous too Admin > Groups for the global perms will do! thank you! BTW found a person to look at the job that u'd said to go ahead and post on the fourm ibrrorg: you got priv msg here ;) prv msg? private message in this irc chat hum, strange. if I remove the fat in the definition of tiki_modules, it shows properly as accepting NULL in params with "CREATE TABLE `tiki_modulestest2` (`params` varchar(255) default NULL) ENGINE=MyISAM; OK, columns in the key can't be NULL chealer: great are you using a varchar as primary key? sorry... looking for log and reading it. ildefonso: yes sylvieg: so I guess you'll have to figure why the code tries to leave params NULL anyone awake still ? we got run into a weird 3.x to 4.0 upgrade problem which looks very much like this: http://tikiwiki.org/tiki-view_forum_thread.php?topics_offset=1&forumId=6&comments_parentId=18153 yea, I'm awake.... i did the upgrade and i can still login with my Chromium web browser but the other user gets the "You have to enable cookies to be able to login to this site" error after he logged out, he can't login anymore, even with the same user as me any ideas ? it is weird we get this with version 4.0 still while the forum reports are some years old reading.... luciash : how is the session being managed? ie, where is the session data being stored? (php/db/...) I think that, maybe, it is no longer sending the cookie associated with the session, and thus: it will just complain about it. and, because of the browser where you installed from, there was already a cookie, maybe the session is kept with the same cookie, and thus: will work with it. but it is failing to generate a new one, and will not accept a new session. now, that's weird enough..... yeah well, it says "Session storage location: Default (from php.ini)" so, standard php sessions.... and "Session lifetime: 0" on Admin → General → General settings tab I'm not sure, but I think 0 means unlimited. or -1 ? or -1.... not sure. try to set it to, say, 300. and try again..... in my 3.3 site the session lifetime is 0, but my sessions *do* timeout, around 10 minutes or so... I try to click on any part of the menu, and it just give me the access denied, so, I still don't know what does the 0 means. i think 0 is default and unlimited because it is master value in phpinfo too ok. now, why does my sessions get closed? mmmm... timing now, leaving that untouched, will try to click later. only difference to master value is session.save_path /tmp and session.use_only_cookies On session.save_handler = files , right? yep in my debian system, sessions are stored on /var/lib/php5 I don't think /tmp is a good place to store the session data (may be accessed by any logged in user, or any user with access to open files (php function?)). wow, the file contains the session data in a format that looks similar to the one used by serialize. I have never looked at a session file before :P never worried about it. hum, where can i change the session.save_path in Tiki ? no, it is php.ini ah, it's a webhosting provider with cpanel, but when it is different from master it must be possible to change somewhere mmmm.... in my tw it is equal. on that server it says "no value" for Master Value btw, do you have ssh access to that host? yep if the person tries to login, the session is created, like this sess_ce39c8a8e309fc288ee90d53cf84ab6f and you can ls -l , and later ls -l again and compare, and see if the session for the new user is actually created. one of the differences is that the session that have the user correctly loged in have: tiki-user-tikiwiki|s:5:"admin" somewhere (the admin part can change, off course). there's a lot in /tmp :) is your site "live", or is that a test server. stuff from August even the files are named "sess_........" live yep ok, I think you can safely remove *really* old ones. find may help you, I don't remember the parameter, but you can tell it to delete files older than N time. ok, deleted some, it doesn't seem to help anything the sess_ file is successfully created in /tmp with expires: Wednesday, December 01, 2010 11:29:14 PM says the user's cookie ok. no, it will not help that much (unless your /tmp is out of disk space --- unlikely). it was just to "cleanup" a little. so, the user gets the cookie, and then complains it doesn't have it..... would have to study the login code and see where is that problem, and why is that only happening when upgrading from 3 to 4. I don't know, maybe sylvieg could be more useful on this part, I'm really new to tw development :( . is the error message the same if you give an invalid password? it is really weird, never met this problem yet (for so many years involved in tiki) i don't think so nope so, it goes through the authentication processes, and then fail. it stops after line if (ini_get('session.use_cookies') == 1 && !isset($_COOKIE[ session_name() ]) && $prefs['session_silent'] != 'y') { line 17 in tiki-login.php any idea where $prefs['session_silent'] can be set ? no, but I use grep to find these things. something like: "grep -r "session_silent" *" on your tw root. it can take a long time, or can print lots of sites, in which case, you need to further filter the search, with a "grep -v " (to remove pattern-matching lines), or additional greps, like this: grep -r "session_silent" * | grep -v dont_wanted_pattern|grep and_also_this_pattern anyway, need to go to sleep now. i just try to modify the tiki-login script now adding $prefs['session_silent'] = 'y'; before that check for some reason for that user it seems the COOKIE for session_name is not set though okay, thanks for your help oh, for some reason the other user doesn't get session.use_only_cookies set to On ! and then it fails eh, bullshit, of course it is not set when i use custom phpinfo for not logged in user Recent Bug: Tracker item: #2910 - - non-Admin users cannot assign Category or see the Category tab when ... - http://dev.tikiwiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=2910 Recent Bug: Tracker item: #2911 - - non-Admin users cannot assign Category or see the Category tab when ... - http://dev.tikiwiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=2911 polom hi gary hi luciash after upgrade from 3.x to 4.0 i am not able to login from other browsers than the one i made the upgrade with :-/ any ideas ? it's something to do with cookies / session I read the log, but haven't had that problem. grmbl ! i think i found out why :-( For example, zukakakina.com was upgraded from 3 to 4 but I don't think there's been any login trouble. it doesn't like a space in the path to tiki ! like example.org/Tiki 4/ it must be Tiki4 ! but this worked fine in 3.x ok, that would explain why some sites have the problem and some don't. lost some hours again to find it out :-p users' directory names :-| yea, another nasty bug ;) bbl i can't seem to get my custom plugin to work in 3.3 ... used to work in 2.4 tikiwiki: 03sept_7 * r23607 10/trunk/lib/core/lib/StandardAnalyzer/TokenFilter/EnglishStemmer/PorterStemmer.php: [FIX] Zend recommandation no PHP ending tag tikiwiki: 03sept_7 * r23608 10/trunk/lib/core/lib/TikiDb/ (Adodb.php Exception.php Pdo.php): [ENH] Coding stylle from CodeSniffer tikiwiki: 03sept_7 * r23609 10/trunk/lib/ (126 files in 77 dirs): [FIX] Coding style from CodeSniffer : Opening brace of a class must be on the line after the definition, and Some ending tags removing... I wrote a plugin for 2.x that displays the last n number of blogposts from a certain blogId in a wiki page. I've modified it a bit for 3.3 as it didn't work out of the box. Checking the parameters works, but I don't get any posts to be displayed. wikiplugin_blogposts.php : http://pastebin.com/m1cfdd0f2 Also using tiki-view_blog_pluginblogposts.tpl for the layout : http://pastebin.com/macdd1c6 But i don't see the problem... it is enabled in the editing and plugin preferences, and it gets the parameters. tikiwiki: 03sept_7 * r23610 10/third_party/ (fckeditor/index.php smarty/index.php): [FIX] Zend recommandations : No PHP ending tags tikiwiki: 03jonnybradley * r23611 10/branches/4.x/ (3 files in 3 dirs): [FIX] Only display edit buttons for users you can actually edit tikiwiki: 03sylvieg * r23612 10/trunk/installer/ (2 files in 2 dirs): [FIX]rollback 23595 as jonny fixes differently in 4 re-polom wb tnx hi where can i activate in tikiwiki 3.2 the possibility that user can change their profiles? thks for help... @guest59276: need to turn on the user prefs feature. pls see docs for details: http://doc.tikiwiki.org/user+preferences thks but i can find the preferences in the part of benutzer... sorry, but i do not understand your question. :( aaahhhh..... i got it. the part is, "My tiki" has to be activated. Thks a lot. Hi. Yesterday I reported a problem regarding the display of pages containing Brazilian Portuguese (pt-BR) characters. Well, I made some more tests and found something. Pages containing portuguese characters (ex: ã, é, ç, etc.) are displayed correctly, unless there is a CODE plugin in the page. If a single CODE plugin is inserted, even not containing any of those characters, the browser selects the "Ocidental-ISO8859-1" character set and the characters are displayed incorrectly (as a pair of other characters). Can anyone help me with this issue ? Is there any configuration for the character Is this the right place to ask for help regarding this type of issue ? hello all does someone know please, where can i deactivate webmail for users? thks... @Rodrigo: i cannot duplicate. i have a pt-br page with CODE plugin. all characters appear correctly (4.x) @Guest59276 on Admin: Features. Please see docs http://doc.tikiwiki.org/features+admin @ricks99: If I ask the browser to select the UTF-8 enconding, the page is displayed correctly. But I have to do this mannually for every page that is displayed wrong. It happens in Firefox and Internet Explorer, so it doesn't seems to be a browser bug. I have already configured UTF-8 to be the default character set. What is happening is that when a CODE plugin is found in the page, something makes the browser bypass my default, and choose ISO-8859-1 encoding. don't know, i cannot duplicate. do you have "detect browser language" in i18n admin turned on? on my tiki, pt-br pages are fine. even pages with pt-br characters in the page name. even with code plugin Yesterday I suspected of page names, but it is ok. In my system, the problem is definetely the CODE plugin. If I remove it, and place a BOX, for example, the page is displayed correctly. if I have multiple tiki sites using intertiki however I want to share additional user data between the sites - would customized user preferences be the way to do this? don't know :-( what options are you using with the CODE plugin? regular {CODE()} text{CODE} produces no errors for me None. Just including a {CODE()} some code {CODE} causes the problem. I've tested on Linux and Windows. So it is probably not a browser issue. don't know, sorry. as i said i cannot duplicate. CODE + pt-br working fine on my 4.x tiki sorry You mentioned the "detect browser language" setting. As my tiki is is portuguese, I'm not finding this configuration. Could you point out where can I find it ? @sylvieg : is it possible to commit the changes that you have performed yesterday for the tracker default sort order issue to branch 3.x as well? hello! @Rodrigo: Detectar idioma do navegador on Idioma (tiki-admin.php?page=i18n) Does anybody know beautiful site (design) in TikiWiki? i'm reading the "how to get commit access" and it seems to be the preferred way for a stable branch to get one of you to take care of it :) Ok, I've found it (had to check "Multinguie" first). @Rodrigo: but I'm just "grasping at straws" -- I still cannot duplicate your issue ok, i found it. webmail is an experimental tool in tiki 3.2. thks a lot... ricks99 Kimberlee, intertiki is basically undocumented. It can get log-in info and maybe user prefs but I'm not sure what else. vnuchaev: did you look at http://themes.tikiwiki.org? I didn't work either. Do you think could be something related to the PHP / Apache / MySQL setup ? If so, why would pages without the CODE plugin display correctly ? That's what is confusing me. @Rodrigo: possible. i think it is specific to your setup, though, since I cannot duplicate. is this a public tiki? do u have a URL that I can see? No it is an local intranet, unfortunately I have other stuff (Mantis - bug tracking, a local intranet system written in PHP) running on the server, but have never seen any problem regarding character set. Beestje: I just committed in proposed @ricks99: Do you have any public site (in pt-BR and TikiWiki 4.X) that I can test ? @Rodrigo: to confirm that it isn't a problem with your *browsre*, try this link: http://twbasics.keycontent.org/4.x/tiki-index.php then select the # update it Português Brasileiro translation site is running 4.x Rodrigo: do you have AddDefaultCharset UTF-8 in your server conf - sometimes it helps Everything is fine with the site. The upper code block is enclosed in a CODE or BOX ? Rodrigo: check http://tikiwiki.org/utf-8 just inm case @Rodrigo it is using {CODE()}...{CODE} Ok. Thanks for your help one more time. I'll study the link carefully and see if there is something wrong with my configuration. @sylvieg : thanks! Going out for lunch now ! good luck Rodrigo @ricks99: Thanks. If I find the problem, I'll post here. Now rick needs help... On the "Close site when server load is above the threshold " option, what *exactly* does "Maximum average server load threshold in the last minute" mean? # of conneections? memory consumed? bandwidth? something else? ricks99: i think it is the same number as in the footer footer? yes i mean, footer of what? the php.ini? footer of tiki the stats under the powered by o.... but what does it actually "mean"? how is it computed. what does a threshold of "3" mean in the "real world"? no idea :-p wikipedia ? heheh if i knew everything i would be some god well, 3 is the magic number. fewer than 3 legs and the stool falls over, more than three and it wobbles. ;-) and not wasting my time here ;) but then we would miss you :) my bottom bar only shows "execution time, memory usage, and db queries" oh it must be some speciality then in php which displays the load is this an apache cnf or php.ini? http://en.wikipedia.org/wiki/Load_(computing) follow the source ;) so, unless u know the # of processors available, on your server, the number is essentially meaningless. i'm on a shared host, processors are allocated dynamically to all users. i have no way of knowing this. does this imply that i cannot use the "close tiki fi..." feature? http://www.google.com/search?q=how+to+display+server+load+in+php no idea ricks99: yep, we have it set up on tw.o i think like that for a shared host, though, server load is basically useless. i think i really want a way to monitor the # of db connections and close tiki before it maxes out tw.o running on a dedicated server? right? Welcome to the official Tikiwiki English Irc channel, tw.o is better known as http://tikiwiki.org or the official website of the project. no idea, ohertel ask him but you are right it is pretty useless on shared hosting tx for ur help luciash tikiwiki: 03sylvieg * r23615 10/branches/4.x/ (2 files in 2 dirs): [bp/r 23357][MOD]CATEGORY: 3 params showname, showdescription, showtype tikiwiki: 03sylvieg * r23613 10/branches/4.x/lib/modules/modlib.php: [FIX]modules: to avoid db error params can not be NULL. http_build_query can return NULL or empty strind depending on system: TODO: fix why params column can not accept NULL tikiwiki: 03sylvieg * r23617 10/branches/4.x/lib/wiki-plugins/wikiplugin_tracker.php: [FIX]tracker: a little bit more about page selector wow, sylvie commit storm :) tikiwiki: 03sylvieg * r23614 10/trunk/ (7 files in 5 dirs): [MRG] Automatic merge, branches/4.x 23593 to 23613 tikiwiki: 03sylvieg * r23619 10/branches/proposed/tiki-export_tracker.php: [bp/r 23593][FIX]tracker: fix export when sort field is not the default one for a tracker tikiwiki: 03sept_7 * r23621 10/trunk/installer/ (shell.php tiki-installer.php): [FIX] coding Style : more class definition tikiwiki: 03sept_7 * r23620 10/trunk/ (35 files in 18 dirs): tikiwiki: [FIX] Coding style : no PHP ending tags, no function in for loop, lass tikiwiki: declaration start on own line... All this from CodeSniffer tikiwiki: 03jonnybradley * r23616 10/branches/4.x/ (lib/userslib.php remote.php tiki-logout.php): [MOD] Refactoring of logout code (use in installer to come next) tikiwiki: 03jonnybradley * r23618 10/branches/4.x/ (installer/tiki-installer.php templates/tiki-install.tpl): tikiwiki: [FIX] Use logout function in userlib instead of including tiki-loghout.php - suspected of causing the installer to loop back to the start on some configurations. tikiwiki: Also keep track of install_type and send to change password form if a 'scratch' (i.e. clean) install. tikiwiki: 03lphuberdeau * r23623 10/trunk/templates/tiki-edit_languages.tpl: [FIX] Unescaped values caused injections (and made it unusable) tikiwiki: 03sylvieg * r23624 10/branches/4.x/lib/wiki/xmllib.php: [FIX]xml import: if page already exists: cumulate on history + error if structure already exists tikiwiki: 03sept_7 * r23625 10/trunk/lib/ (4 files in 3 dirs): [FIX] DOS->UNIX tikiwiki: 03sept_7 * r23626 10/trunk/lib/ajax/ajaxlib.php: [FIX] Coding style I've just set up Eclipse for PHP developers + Subclipse How do you all debug ? did anyone use the zend server CE edition? i debug manually but sylvie and jonny is using php x-debug iirc tikiwiki: 03sept_7 * r23627 10/trunk/lib/tikidate-php5.php: [FIX] COding style from CodeSniffer probably somewhere, there was ah, there ? or there ? tikiwiki: 03sylvieg * r23628 10/trunk/ (5 files in 2 dirs): [MOD]tracker: possibility to use a pretty display in tiki-view_tracker_item.php luciash: the fixes spet7 is doing are zend style fixes and what is CodeSniffer ??? New Forum Posts: Importar Calendario - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=15&comments_parentId=35451 the discussion about apostrophes is useless... if he uses ´ instead of correct ' in PHP, no wonder it doesn't work the fr language does not follow that... but french is computer language like php, right ? *is not or coding language ;) or even html using it for html attributes like alt is stupid it's like trying to use alt=¯nonsense¯ btw, what benefits it brings to Tiki to follow these Zend coding habits ? just that some CodeSniffer is happy ? or will it improve performance ? no benefit getting rid of ending ?> can avoid problems well, then i wonder why the changes to classes having opening bracket on new line are desired consistency :-) i agree with ?> but the other changes doesn't seem really worth it better would be some auto-formatter of commits well, if it gets false positives out of the way, it makes it easier to catch the real issues (less noise) it's nice to see rolandtanglao here! tikiwiki: 03Jyhem * r23629 10/branches/3.0/lang/fr/language.php: [FIX] Really explain what the option does (in 4.x #23447) hey guys ... I think i'm doing something wrong in 3.2 ... I can't seem to add polls as a module on the right hand side, its active, I created one poll, but when I go to modules, its not there are polls activated? yep did you you give proper perms to the module? ex: do you see as admin, but not as Anonymous well, as admin I can edit it i don't see it as admin in the modules list when i try assign it to the right hand side hmmm did you give perms to vote? yep ... see I can't even assign it to be a module on the right hand side of the page, I can only admin it and access it in the admin section Does the assignment on the right produce an error, or it is merely not visible? Is it visible if placed on the left side? its not visible in the module list dropdown :) I should maybe be using 3.3 before I come with problems like this which may already be fixed :) Yup, that's a reason to "can't". if this is a module you created, you need to assign it from the USER MODULES tab. click the green + That's an odd problem in any version. :-( its the polls module, official module :) what is the name of the module? i dont have a "polls" module in my tiki http://xyz/tiki-admin_polls.php that is how you create a poll -- not a module you need to: 1. create the poll 2. create a module 3. put the poll in the module 4. assign the module to the left/right column ah, gotcha found it :) thanks guys :), long live tikiwiki! o/ tikiwiki: 03sylvieg * r23630 10/branches/4.x/lib/tikilib.php: [FIX]language: browser langauge must be limited to available language(ex: en_uk can be the browser language and not selected) New Forum Posts: Problema con titulos en modulos - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=15&comments_parentId=35454 tikiwiki: 03sylvieg * r23631 10/trunk/ (9 files in 6 dirs): [MRG] Automatic merge, branches/4.x 23613 to 23630 How can I get a code snippet for displaying a Network Solutions seal between the tags on a Tiki site? I checked the custom site header in Admin > Look & Feel, and that code ends up between the tags. 4.x allows you to add content to section. prior versions, you'll need to edit the header.tpl @ricks99: kthx yw tikiwiki: 03sylvieg * r23632 10/branches/4.x/lib/tikilib.php: oops - forgot the global tikiwiki: 03sylvieg * r23633 10/branches/proposed/lib/tikilib.php: [bp/r 23630, 23632][FIX]language: browser langauge must be limited to available language(ex: en_uk can be the browser language and not selected) tikiwiki: 03sylvieg * r23634 10/branches/4.x/lib/structures/structlib.php: notice tikiwiki: 03jonnybradley * r23635 10/trunk/db/ (4 files): [FIX] Remove duplicated insert statement I saw a regression in 4.x in last few weeks If you do a section edit, after saving the page, it doesn't send you to your section It just puts PageName# in the URL, instead of PageName#SectionA Did anyone see this? Any idea what commit could be responsible? marclaporte: did you try without ajax? tikiwiki: 03sylvieg * r23636 10/branches/4.x/templates/categobjects.tpl: backport also sefurl - partiel 23363 polom tikiwiki: 03pkdille * r23637 10/trunk/ (10 files in 5 dirs): [MOD] lesser magic: some more prefs in admin general template New Forum Posts: Delete a tracker item from within a wiki page. - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=35458 tikiwiki: 03sylvieg * r23638 10/trunk/ (4 files in 4 dirs): [MRG] Automatic merge, branches/4.x 23630 to 23636 hello, I am looking for contact information of tikiwki consultants in Sao Paulo, Brazil. New Forum Posts: Duplicate key error on language editing - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=35459 tikiwiki: 03pingus * r23639 10/mods/trunk/features/aulawiki/ (3 files in 3 dirs): [MOD] tiki_p_create_ws_resour cannot remove/change ws objectperms anymore