***: amette has joined #tikiwiki fabricius|meetin: Urgent question:
I am doing an online tutorial now, did apply the WYSIWYG profile and the website crashed
too many redirects
error 310
does anybody know?
it is a 7.2 SVN about a few weeks old ***: amette has quit IRC (Quit: :wq)
amette has joined #tikiwiki Jyhem_laptop: no idea about the reason. Things to try to recover: tiki-admin_system.php?do=all tiki-logout.php nkoth|nelson: too many redirect you can see from which url to what url the redirects are in firebug or the browser http tools
cd .. fabricius|meetin: logout worked
thx so far
cleared cache now CIA-12: tikiwiki: 03oeversetten * r38254 10/branches/8.x/lang/nds/language.php: [tra] bit more Low German fabricius|meetin: nkoth|nelson: "...firebug or the browser http tools..." what should I look for - I did not use this for that before nkoth|nelson: in firebug, open up the Net panel CIA-12: tikiwiki: 03jyhem * r38255 10/branches/8.x/ (db/tiki.sql installer/tiki-installer.php): [FIX] Ensure collation is utf8_unicode_ci for new installs fabricius|meetin: I have "webdeveloper", I think that is not firebug
just getting firebug (had it before - will have installaed it in a minute or so) nkoth|nelson: no, but webdeveloper might do, there is a Net tab and log in it see if it logs
actually justclicking the net tab itself might show it fabricius|meetin: I did not find a "net tab", but an error console
but no more redirects, due to jyhems link nkoth|nelson: ok, maybe it is goo dnoe
good now/ The Net tab is under Web Console. fabricius|meetin: but thx anyway - such tips always show me what I still have to learn
evry step I go ahead shows me two more steps I will have to climb
but ... from time to time I sit down and rest and look aver the trees, the buildings and one day far far away over the hills ... ;-) ... getting pathetic now
thx nkoth|nelson and Jyhem nkoth|nelson: you're welcome Jyhem_laptop: I think there was something wrong in your session which was correct before the profile roll-out ans wrong after. logging out killed your session variables.
No idea what it could be or how to avoid it. But rolling a profile is not an everyday occurence ***: goj has quit IRC (Ping timeout: 252 seconds)
namitsoo has quit IRC (Ping timeout: 252 seconds)
RobertPlummer has quit IRC (Ping timeout: 255 seconds)
goj has joined #tikiwiki
arildb has quit IRC (Quit: Leaving)
lphuberdeau has quit IRC (Ping timeout: 258 seconds)
Protogenes has quit IRC (Disconnected by services)
Protogenes has joined #tikiwiki
Jyhem_laptop has quit IRC (Ping timeout: 240 seconds) CIA-12: tikiwiki: 03chealer * r38256 10/branches/8.x/lib/tikilib.php:
tikiwiki: [FIX] get_user_preference(): Anonymous couldn't get a preference of another user.
tikiwiki: [FIX] userHasPreference(): Anonymous lookup would check his own preferences.
tikiwiki: r36779 regression. Oops. Thanks Marc Laporte ***: amarado has joined #tikiwiki amarado: hi CIA-12: tikiwiki: 03chealer * r38257 10/trunk/ (lib/registration/registrationlib.php tiki-adminusers.php): [REF] User creation: remove addslashes() for $apass (unneeded) amarado: anyone here? CIA-12: tikiwiki: 03chealer * r38258 10/trunk/lib/registration/registrationlib.php: [REF] register_new_user_local(): remove preference definitions already set in add_user() (set_user_default_preferences()) ***: amarado has quit IRC (Client Quit) CIA-12: tikiwiki: 03chealer * r38259 10/trunk/lib/registration/registrationlib.php: [REF] register_new_user_local(): remove some user preferences defaults definitions (shouldn't be needed) ***: kstingel has joined #tikiwiki kstingel: I'm about to start work on a "Publish ePub" plugin ... any suggestions on where in the SVN tree I should put it?
... since it may take me a while to complete, I'm hesitant to drop it straight into 'trunk' luciash: kstingel: u can on experimental branch or create custom user space like chibaguy did kstingel: how do I create a custom user space? .... just create a folder under Users with my name as the folder name? luciash: kstingel: unfortunatelly i have no experience with this
kstingel: maybe it is on dev tips on the dev.tiki.org
svntips page i mean kstingel: thanks anyway ... will check the site ***: fabricius|meetin is now known as fabricius|back
lphuberdeau has joined #tikiwiki
fabricius|back is now known as fabricius fabricius: good night everybody ***: fabricius has quit IRC (Quit: *fuuuppppp gone*)
nkoth|nelson has left
fabricius has joined #tikiwiki fabricius: Jyhem: I am nearly convinced, that the problem earlier on tonight is related on an htaccess problem ***: fabricius has quit IRC (Quit: *fuuuppppp gone*)
Bernard1 has joined #tikiwiki
Bernard1 has quit IRC (Quit: Leaving.)
marclaporte has joined #tikiwiki
ChanServ sets mode: +o marclaporte
Merbster has joined #tikiwiki marclaporte: polom ***: arildb has joined #tikiwiki
marclaporte has quit IRC (Read error: Connection reset by peer)
marclaporte has joined #tikiwiki
ChanServ sets mode: +o marclaporte
fabricius has joined #tikiwiki fabricius: polom ***: lphuberdeau has quit IRC (Ping timeout: 252 seconds) Tiki|bot: New Forum Posts: Missing tiki-db.php - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=42474 ***: Protogenes has left "I'm a happy Miranda IM user! Get it here: http://miranda-im.org"
marclaporte has quit IRC (Read error: Connection reset by peer)
marclaporte1 has joined #tikiwiki
Wilkins_ has joined #tikiwiki
marclaporte1 has quit IRC (Read error: Connection reset by peer)
marclaporte has joined #tikiwiki
ChanServ sets mode: +o marclaporte fabricius: hi I need a short quick help
where I find the exact serverrequirements for tiki? I am actually in a phonecall with a hostingprovider Merbster: fabricius, http://doc.tiki.org/Requirements ***: goj has quit IRC (Disconnected by services)
goj_killedByISP has joined #tikiwiki
goj_killedByISP is now known as goj fabricius: have it thx
have been looking parallel - multitasking
thx for quick answer Merbster
maybe s.b. has a clue: I did make an installation on a goDaddy account
and it turns out, that I cannot use SEF-Url
switching on SEF-Url (with or without activated htaccess) I am getting an error 310 (too many redirects) when I type mydomain.con/Homepage (same with lower case pagename)
mydomain.com/tiki-index.php brings me correctly to the HomePage
deactivating SEF-Url takes the error away, but typing /HomePage then redirects me to /tiki-index.php ... not SEF, as off
what could use this problem -> the account is NOT on an IIS Server, it is on Linux
# ***: sylvieg has quit IRC (Ping timeout: 248 seconds) CIA-12: tikiwiki: 03oeversetten * r38260 10/branches/8.x/lib/prefs/ (freetags.php wiki.php): [FIX] Electrostatic instead of Eletrostatic ***: sylvieg has joined #tikiwiki
ChanServ sets mode: +o sylvieg
SJ-Jay has joined #tikiwiki CIA-12: tikiwiki: 03oeversetten * r38261 10/branches/8.x/lang/nds/language.php: [tra] low german progress ***: Caarrie|sleeping is now known as Caarrie|away
arildb has quit IRC (Read error: Connection reset by peer)
arildb has joined #tikiwiki
lphuberdeau has joined #tikiwiki fabricius: have to go - bye ***: fabricius has quit IRC (Quit: *fuuuppppp gone*)
arildb has quit IRC (Read error: Connection reset by peer)
arildb has joined #tikiwiki
ricks99 has joined #tikiwiki ricks99: polom y'all ***: SJ-Jay has quit IRC (Ping timeout: 244 seconds) CIA-12: tikiwiki: 03jonnybradley * r38262 10/third_party/jquery/ (2 files in 2 dirs): [FIX] update jquery-ui-selectmenu to latest "dev" ***: lphuberdeau has quit IRC (Ping timeout: 240 seconds) CIA-12: tikiwiki: 03jonnybradley * r38263 10/branches/8.x/lib/jquery_tiki/tiki-jquery.js: [FIX] object_selector: selectmenu sizing issue and no-id bug (thanks nkoth) ***: redflo has joined #tikiwiki
RobertPlummer has joined #tikiwiki
lphuberdeau has joined #tikiwiki RobertPlummer: polom tiki devs
just installed ubuntu 11.10....
Must say, I'm very surprised to be happy about it. ***: Merbster has quit IRC (Quit: Leaving)
arildb has quit IRC (Read error: Connection reset by peer)
arildb has joined #tikiwiki lphuberdeau: I'm waiting a bit longer before upgrading ubuntu
chealer: I'll get around to bug fixing a bit later today, any issues you want me to tackle first? ***: chealer has quit IRC (Ping timeout: 248 seconds)
kstingel1 has joined #tikiwiki
kstingel has quit IRC (Ping timeout: 245 seconds)
kstingel1 is now known as kstingel
nkoth|nelson has joined #tikiwiki
radek82 has joined #tikiwiki CIA-12: tikiwiki: 03robertplummer * r38264 10/trunk/ (3 files in 3 dirs):
tikiwiki: [NEW] Moved code from timesheet to tracker lib that allows update from request var, refined code a bit, and added the base by id
tikiwiki: [ENH] Timesheet items to use namespace methods
tikiwiki: [ENH] Timesheet to remove namespace items after save luciash: polom RobertPlummer: polom luciash -: luciash is very upset about how his ubuntu look and feels after upgarde to 11.10 :-/ luciash: everything sucks now from the usability point of view
scrollbars are usability joke, no possibility to change GUI fonts, no posibility to add/remove/move gnome applets, no possibility to setup panels
i wonder how i am supposed to change all of that now
#ubuntu channel sucks too :-p lphuberdeau: luciash, I believe the default is not gnome luciash: they said it is gnome 3 + unity something
and that i can change that by logging to "Gnome classic" session ... but that changes barely nothing except the genial left icons bar
what annoys me most are the "catch-me-if-you-can-scrollbar-handles"
:-p -: luciash is going to switch to xfce again - fastest workaround to this crap imho luciash: s/imho/ihho/ ;) lphuberdeau: try installing gnome shell
which is the not-unity one luciash: ok, i will give it a shot
thanks for hint (have seen it somewhere already) ***: Narkster has quit IRC (Quit: No Ping reply in 180 seconds.)
Narkster has joined #tikiwiki RobertPlummer: lphuberdeau: I'm wondering what you think, it makes for easy looking code... Using TikiLib::lib("")->method(); , what do you think about using that frequently? lphuberdeau: well, I use it when there is a single call to the lib, otherwise, I like making the lib a local var because it makes for shorter lines RobertPlummer: lphuberdeau: very good.
lphuberdeau: See the new methods in trackerlib this morning?
lphuberdeau: For transforming $_REQUEST to tracker items. lphuberdeau: first work day this week, playing catch-up
made that in 8.x? RobertPlummer: lphuberdeau: trunk, not 8 lphuberdeau: good RobertPlummer: lphuberdeau: I'd been using something like that in invoice, and again in timesheet, thought it'd be good to bring it over to the lib to get better use of it. CIA-12: tikiwiki: 03robertplummer * r38265 10/trunk/tiki-timesheet.php:
tikiwiki: [ENH] Made default list only show the tracker items that are associated with your user
tikiwiki: [ENH] Made the username save under "Done by" field. luciash: ok, gnome-shell didn't change anything, xfce saves the day
the bad news is, the scrollbars are still the bad ones even in xfce - must be gtk thing nkoth|nelson: lphuberdeau: re-unified search, I tried searching using wild cards * and ? and they have no effect. Are they not implemented? lphuberdeau: the doc never says they are, so they are not
in fact, they are prevented
lucene is not very efficient with those, and will just throw exceptions in some cases nkoth|nelson: any reason why? I was thinking perhaps I could have an "advanced search type or something that would allow a native lucene query as described in http://framework.zend.com/manual/en/zend.search.lucene.query-language.html
so it's not reliable? lphuberdeau: plus, it's very engine specific, and unified search is not meant to be lucene-only RobertPlummer: lphuberdeau: I did not know that. lphuberdeau: so the feature set is intentionally general RobertPlummer: cool! lphuberdeau: http://dev.tiki.org/Unified%20Search RobertPlummer: lphuberdeau: ubuntu 11.10 us here! I've got it installed, and it is wicked fast!
(is) lphuberdeau: I think the lucene search syntax is horrible and just showing it to end users is a sin RobertPlummer: lphuberdeau: agreed, it is ugly. lphuberdeau: plus, there is a lot of transformation done by tiki which just won't work if you get humans trying to build the query
you need to see unified search for what it is, lucene is an implementation detail luciash: RobertPlummer: maybe it is wicked fast but it sucks from usability point anyway :-p RobertPlummer: luciash: Have you tried it?
I hated 11.04
HATED!
11.10 seems like they ironed out the bricks. luciash: i hated 11.04 too (because the scrollbars crap was introduced there), but now 11.10 i hate even more :-p RobertPlummer: luciash: ah, I like unity now. luciash: RobertPlummer: yep, just upgraded to it :-/ nkoth|nelson: lphuberdeau, ok, so I have a necessary requirement for wildcards, because often the search will be for words that start/end/include certain characters... RobertPlummer: luciash: 11.04 wasen't really a major upgrade, 11.10 I feel was a much larger leap. luciash: RobertPlummer: i don't like it because you need to move your cursor above the tiny scrollbar handle to make it expand first before you can actually use it nkoth|nelson: lphuberdeau: any suggestions lphuberdeau: nkoth, unified search is not built for that luciash: RobertPlummer: yep, leap to "you cannot change anything now" RobertPlummer: lphuberdeau: I just use my scroll/touchpad. and I'm mostly keyboard driven.
luciash: Just switch back to classic. You can turn off those features.
They just aren't in the same place. Tiki|bot: New Forum Posts: user restriction - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=42478 luciash: RobertPlummer: how ? already tried to switch to classic, and it is barely the same - no change
s/barely/mostly/ CIA-12: tikiwiki: 03robertplummer * r38266 10/trunk/tiki-timesheet.php: [ENH] Made sheet update using openSheet rather than a new instance every time. Makes much faster. RobertPlummer: luciash: there is an app called ubuntu tweak, try that. luciash: RobertPlummer: thanks, i will give it a try Tiki|bot: New Forum Posts: register to tiki from a different site? - http://tiki.org/tiki-view_forum_thread.php?forumId=3&comments_parentId=42479 CIA-12: tikiwiki: 03robertplummer * r38267 10/trunk/ (templates/tiki-timesheet.tpl tiki-timesheet.php):
tikiwiki: [ENH] Moved over to smarty buttons + auto args
tikiwiki: [ENH] Added new button that allows you to view your and all timesheet items
tikiwiki: 03jonnybradley * r38268 10/branches/8.x/lib/core/Tracker/Field/Factory.php: [FIX] tracker: Report error about missing pref dependencies for tracker fields ***: jonnyb has joined #tikiwiki CIA-12: tikiwiki: 03robertplummer * r38269 10/trunk/templates/tiki-timesheet.tpl: [ENH] Added "Done by" to list view
tikiwiki: 03jonnybradley * r38270 10/branches/8.x/lib/wiki-plugins/wikiplugin_tracker.php: [FIX] tracker plugin: Fail more gracefully when handler not returned from factory jonnyb: thank polom it's Friday CIA-12: tikiwiki: 03lphuberdeau * r38271 10/branches/8.x/lib/jquery_tiki/tiki-jquery.js: [FIX] Submit the action indicated on the form rather than the one that loaded the dialog (fixes the translation dialog) ***: chealer has joined #tikiwiki CIA-12: tikiwiki: 03jonnybradley * r38272 10/branches/8.x/templates/styles/mobile/tiki.tpl: [FIX]mobile: Add {error_report} and sync other changes from root tiki.tpl
tikiwiki: 03robertplummer * r38273 10/trunk/ (templates/tiki-timesheet.tpl tiki-timesheet.php): [ENH] Moved to a tabs view, bunch of fixes, and moved some buttons around ***: Jyhem_laptop has joined #tikiwiki CIA-12: tikiwiki: 03jonnybradley * r38274 10/branches/8.x/lib/wiki/editlib.php: [FIX] wysiwyg: Restore removal of wiki plugin wrappers when switching from wysiwyg to wiki in html mode
tikiwiki: 03robertplummer * r38275 10/trunk/ (3 files in 3 dirs): [ENH] Added feature and feature check for timesheet ***: ricks99 has quit IRC (Quit: Get the best-selling Tiki books (paperback and ebook) at http://www.lulu.com/spotlight/ricks99)
jonnyb has quit IRC (Quit: nite nite) lphuberdeau: nkoth, any precision about the fields disapearing? CIA-12: tikiwiki: 03sampaioprimo * r38276 10/trunk/ (16 files in 11 dirs): [MRG] Automatic merge, branches/8.x 38220 to 38272 nkoth|nelson: lphuberdeau: no, if it happens again I will alert
that one is really strange ***: redflo has quit IRC (Quit: Leaving.) lphuberdeau: I'm trying to play with the interface, but I really don't get anything strange so far nkoth|nelson: lphuberdeau: I tried playing with it yesterday as well but didn't get anything as well - I think playing with it is not an easy way to come across it. CIA-12: tikiwiki: 03robertplummer * r38277 10/trunk/ (3 files in 3 dirs):
tikiwiki: [FIX] Added feature check for tracers
tikiwiki: [NEW] Added menu schema items for timesheet ***: jonnyb has joined #tikiwiki
RobertPlummer has quit IRC (Ping timeout: 260 seconds) chealer: polom jonnyb: hi chealer chealer: hi jonnyb and lphuberdeau CIA-12: tikiwiki: 03nkoth * r38278 10/branches/8.x/customsearch_ajax.php: [FIX] handle quotes in search queries to customsearch
tikiwiki: 03xavidp * r38279 10/branches/8.x/lib/wiki-plugins/wikiplugin_sort.php: [FIX]Fix the sorting to avoid separating upper case from lower case in the first letter lphuberdeau: chealer: seems like your change in accesslib broke the permission check on blogs... at least, you're the last one to touch that function CIA-12: tikiwiki: 03chealer * r38280 10/branches/8.x/lib/setup/user_prefs.php:
tikiwiki: User preferences: initialize $user_preferences for anonymous too. Anonymous may fetch the preferences of other users.
tikiwiki: Fixes "Warning: array_key_exists() expects parameter 2 to be array, null given in [...]lib/tikilib.php on line 3590" from r38238 lphuberdeau: the problem is that often, the object is not supplied to the function call, and the implementation as it is will fall back on the global permissions, rather than those in the global variables, as it used to be the case
I really don't understand the two first arguments sadly, so I can't possibly fix it chealer: lphuberdeau: cool. I think the TRACKERSTAT issue is the one where you have most exclusive expertise :-) If you could at least analyze the problem, I put it on http://dev.tiki.org/Tiki8#Possible lphuberdeau: I've never even looked at that plugin
but I can look into it ***: marclaporte has quit IRC (Quit: Leaving.)
marclaporte has joined #tikiwiki
ChanServ sets mode: +o marclaporte
Wilkins_ has quit IRC (Ping timeout: 240 seconds) CIA-12: tikiwiki: 03xavidp * r38281 10/branches/7.x/lib/wiki-plugins/wikiplugin_sort.php: [bp/r38279][FIX]Fix the sorting to avoid separating upper case from lower case in the first letter chealer: lphuberdeau: I assume we're talking about https://sourceforge.net/apps/trac/tikiwiki/changeset/37420 ? lphuberdeau: didn't look at the whole commit CIA-12: tikiwiki: 03xavidp * r38282 10/branches/proposals/6.x/lib/wiki-plugins/wikiplugin_sort.php: [bp/r38279][FIX]Fix the sorting to avoid separating upper case from lower case in the first letter lphuberdeau: might have been sylvieg then, who had a recent commit too chealer: lphuberdeau: I did touch check_permission() in r37420, but that shouldn't cause any non-trivial behavior change
unless I made some obvious error ***: marclaporte has quit IRC (Ping timeout: 258 seconds)
Jyhem_laptop has quit IRC (Ping timeout: 260 seconds) lphuberdeau: well, the function is obviously broken, although I can't say since when
the trackerstat issue also seems to be related to categories
the one filter that works is based on status, all other stats are category related
actually, not status, but a simple drop-list field chealer: lphuberdeau: and I don't see such an obvious error lphuberdeau: well, the function does not behave as it did in previous versions and all calls to it have not been modified to reflect the change chealer: lphuberdeau: I agree that function could use some documentation, it seems a little strange lphuberdeau: Perms::get('', '') will give you global perms (the real ones) CIA-12: tikiwiki: 03nkoth * r38283 10/branches/8.x/customsearch_ajax.php: [FIX] refix r38278, handle quotes in search queries to customsearch, avoid storing escaped string for recalling search lphuberdeau: but $access->check_permission('tiki_p_read_blog') expects to read the globalized permisions on the prior line
which are object permissions rather than global permissions
and that is why object/category permissions are no longer respected in blogs
introduction of type and object as parameters to that function is flawed chealer: lphuberdeau: yeah, r37416 seems much more likely to change effective permissions. I'm not sure what's the problem though lphuberdeau: the function is quite fully broken
I can rewrite it
since the trackerstat one is category-related, I believe it falls in your ballpark ;) chealer: oh yeah, r37402 introduced these
lphuberdeau: you mean when you call $access->check_permission('tiki_p_read_blog') you're supposed to have "imported" object permissions before? lphuberdeau: no
you would need to provide the object/type to the function chealer: I didn't look (try to reproduce) at the permission problem BTW lphuberdeau: its just that the default behavior of the function changed
which is a horrible thing chealer: lphuberdeau: by "globalized permissions", do you mean something different than global permissions? lphuberdeau: the $tiki_p_stuff variables are just global variables that can contain any type of permission
$tikilib->get_object_perm() overrides them
Perms::get() on the other hand return just what you asked for without temporal dependencies
fixed CIA-12: tikiwiki: 03lphuberdeau * r38284 10/branches/8.x/lib/tikiaccesslib.php: [FIX] Restore correct default behavior which relied on global variables when no object was specified jonnyb: chealer: your fixes for tiki-switch_theme.php in trunk seem to fix some bugs in with the themegenerator in 8.x - can you think of any reasons not to backport it all? chealer: lphuberdeau: OK. does $objectPermissions-> support both tiki_p_foo or just foo? lphuberdeau: both chealer: uh, yeah, thanks for understanding what I meant :-)
lphuberdeau: thanks, that looks good
jonnyb: all... I made pretty big changes, some of which I'm not even sure about. but some are fixes and could be backported if we're confident jonnyb: i just copied the contents of tiki-switch_theme.php from trunk into 8.x and it seems to work ok - i like what you've done with it! :) (lots less code, thanks) chealer: jonnyb: https://sourceforge.net/apps/trac/tikiwiki/changeset/38217/trunk/tiki-switch_theme.php in particular appears to be a fix, but I'm not confident about it. you're the one who knows, so if it doesn't look wrong to you, backporting would be good jonnyb: no, that's not enough on it's own... chealer: jonnyb: there's also a part of https://sourceforge.net/apps/trac/tikiwiki/changeset/38216/trunk/tiki-switch_theme.php
"Attempt rationalizing. changing themegenerator_theme now calls set_user_preference() (previous situation assumed to be an omission)" jonnyb: yes, i'm trying part of that one now... i guess a minimal fix might be safer chealer: "changing" (not resetting) themegenerator_theme would not call set_user_preference() jonnyb: yes, changing the themegen one has no effect in 8.x at the moment chealer: again, if that doesn't look wrong to you, that could be nice to backport
I think these are all themegenerator-specific fixes I did
(presumed) fixes
bbl jonnyb: think i've got it - without touching any of the rest of the code (themegen is still experimental) - thx CIA-12: tikiwiki: 03jonnybradley * r38285 10/branches/8.x/tiki-switch_theme.php: [FIX] switch theme: Fix theme generator switch. Partial backport of chealer's fine work in trunk (thanks) nkoth|nelson: anyone has had much experience solving utf8 search problems? Any pointers? chealer: jonnyb: exactly, thanks jonnyb: i'll clean up the inevitable conflict! :P
hi nkoth|nelson - not really, how do you mean? nkoth|nelson: enter search term, not getting result.... CIA-12: tikiwiki: 03jonnybradley * r38286 10/branches/8.x/lib/wiki-plugins/wikiplugin_carousel.php: [FIX] carousel plugin: Use the $.fn.tiki handler to set up correct path for the images jonnyb: nkoth|nelson: index rebuilt properly? all my problems with it have been due to the reindexing failing silently
for instance if a plugin in a page causes an exception it breaks down half way through - i've tried to add some try/catches where i've found issues but i wouldn't be surprised if there are more
i have a patch somewhere for adding a log output to it to help debugging... nkoth|nelson: indexing looks fine, it's the searching that is not matching. If i search for the english part of the text it works
but if I can log, it will help my investigation jonnyb: nkoth|nelson: patch is here - http://dl.dropbox.com/u/1927369/110923_add_logging_to_search_indexer.patch
probably a bit out of date now
was thinking of committing it (with logging disabled) but never found time to test properly arildb: Hi, I am trying to undestand the Tiki permission tables a bit more.
Here's my understanding
users_grouppermissions - stores the global group permissions
users_objectpermissions - stores the category and object permissions
users_permissions - ??? Not sure about this one.
Can somebody please explain the table users_permissions?
lphuberdeau: maybe? jonnyb: hi arildb - i don't think users_permissions is used lphuberdeau: should be gone from 8.x arildb: jonnyb: I get data in it though lphuberdeau: it was simply the list of permissions arildb: so, it should be empty and not used? jonnyb: oh yes, it's an array in userslib now lphuberdeau: arildb, keep in mind you should not try to read those tables directly jonnyb: in a clean install lphuberdeau: there are a whole lot of rules to permission checking jonnyb: yes, it's empty in a clean install (but still there...) arildb: lphuberdeau: I would like to match the permission settings in 2 different systems. Is there an easier way, than to compare the permission data tables?
match as in check if the same permissions are set lphuberdeau: well, if you only try to compare, it should work out
but interpreting is tricky arildb: lphuberdeau: That's the plan. Not to set/alter any values
I just need a basic comparison
So, I can ignore users_permissions it seems lphuberdeau: yes
the two tables you mentioned are the only ones where assignments are stored arildb: ok. thanks chealer: thanks for r38286 jonnyb jonnyb: np chealer - just trying to get the parameters working now ;) chealer: jonnyb: the parameters... you mean the plugin ignores its parameters now? jonnyb: seems to (the yes/no ones) and the units ones need to be css unit strings ***: lphuberdeau has quit IRC (Read error: Connection reset by peer)
kstingel has quit IRC (Ping timeout: 260 seconds) arildb: I have another db table question: What is the pupose of tiki_categorized_objects? It only has 1 attribute catObjectId. tiki_category_objects seems to maintain the relation between the categories and the objects. So what does tiki_categorized_objects do? jonnyb: another good question arildb - might be another legacy table i think... i think it was to speed up finding categorised objects (maybe still is) ***: marclaporte has joined #tikiwiki
ChanServ sets mode: +o marclaporte chealer: jonnyb: hehe, OK arildb: jonnyb: It receives data. Speed up...maybe that was the idea, but I have a hard time seeing how it can gain much speed compared to the indexed tiki_category_objects. It sure adds complexity if that is the case
using a distinct catObjectId will yield the same result, it seems
on tiki_category_objects chealer: arildb: yeah, it's for performance. it tells you if an object is categorized jonnyb: stuff was categorised before the object system was "modernised" so probably left over from the bad old days ;) arildb: chealer and jonnyb: OK. At least the purpose seems to be explained. Seems like a removal candidate to me jonnyb: i'm finding plugin params with the value "0" gets stripped out, and i'm sure i fixed that once before (it equates to empty() so gets removed) - any ideas where? chealer: it's definitely not essential nkoth|nelson: ok, finally got it to work by setting the default Search Analyser to new Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8());. lphuberdeau, I know the English analyser has advantages but any reason why the UTF8 analyser should not be an option? -: jonnyb did notice that the English analyser doesn't get used for en-uk :( arildb: chealer and jonnyb: I made a check in the test system I am working with. SELECT distinct catObjectId FROM tiki_category_objects returns 27 rows. SELECT * FROM tiki_categorized_objects returns 40 rows. That indicates that it either is out of sync (i.e. creating problems), or it has some other purpose, too. Accoring to your explanation, it seems like a problem is the most likely answer chealer: arildb: when was that system installed? arildb: chealer: recently. It's using 8.x. It's a test system I use chealer: arildb: I fixed a lot of problems with categories in trunk last month. I think that included places that didn't maintain tiki_categorized_objects. so it could be fixed. but there may be more problems left arildb: chealer: If so, the removel of this table should probably be done now. I will check the dataset a little more
chealer: joining it with tiki_objects results in 27 rows (same as tiki_category_objects). So it seems not to be maintained
joining tiki_categorized_object and tiki_objects
chealer: I doubt the permance gain outweighs the added complexity in this case. So, to me, a removal of the table seems the best solution ***: Jyhem_laptop has joined #tikiwiki
radek82 has quit IRC (Quit: Leaving) chealer: it would definitely be nice to do something about it. removing redundancy from the database is good ***: marclaporte has quit IRC (Quit: Leaving.)
Jyhem_laptop has quit IRC (Ping timeout: 252 seconds) arildb: chealer: from changelog.txt
r6204 | lfagundes | 2005-12-06 19:08:05 +0100 (mar, 06 déc 2005) | 3 lines
[MOD] Refactor: abstract object concept from categories to a general structure tiki_objects.
tiki_categorized_objects is there now just to match the checkbox "categorize this object", but maybe we can remove it
so, a removal was suggested in 2005, and definately overdue. I will take a look at it CIA-12: tikiwiki: 03jonnybradley * r38290 10/branches/8.x/templates/tiki-list_file_gallery.tpl: [FIX] fglas: Curious missing underscore nkoth|nelson: jonnybradley: is there only supposed to be one underscore for _keepall?
looks to me like the ) from text went to the keepall...
jonnyb^ arildb: chealer: tiki_categorized_objects is used in quite a number of places. I am not very familiar with the category internals. So, I am not really up to this cleaup task right now jonnyb: nkoth|nelson: aha, think you're right... chealer: arildb: Please accept this silver Tiki archeologist certification :-) arildb: chealer: archeologist certification...he he...yes, maybe I have been digging a bit lately chealer: arildb: categlib is a scary place. but it's reported some have come back from it, with [partial] success ;-) CIA-12: tikiwiki: 03jonnybradley * r38291 10/branches/8.x/templates/tiki-list_file_gallery.tpl: [FIX] fglas: Curious missing underscore found and removed (Thanks nkoth, well spotted) nkoth|nelson: chealer: I heard all about your adventures in categlib :) jonnyb: nkoth|nelson: now trying to work out why the context menu is broken in browse mode :( nkoth|nelson: jonnyb: what context menu? jonnyb: on files chealer: it's also reported that these people still need to cleanup some breakage they caused though ^_^ jonnyb: i'm only getting archive, and two share options (no properties or upload etc) chealer: hi nkoth|nelson :-) arildb: chealer: So, are you saying you are going to dive back into the depths of categlib? nkoth|nelson: I would suggest to avoid dangerous places before key celestial events (major releases) chealer: arildb: I was actually in the depths of preference internals when something made me diverge to categlib. I'd really better stick to finishing that preferences cleanup I started back in August before going back to categlib ***: changi|ffa is now known as changi changi: hi there arildb: chealer: ok -: changi ready to do some tiki for a couple of hours
chealer hears a loud and profound sound chealer: oh, it's changi approaching! :-) jonnyb: hi changi chealer: arildb: seriously, I cleaned up a pretty nice chunk of categlib. if someone wants to do more, I can advise and review changi: so trunkdev is now stable enough ? nkoth|nelson: jonnyb: you mean that popup menu for a file? I'll check... arildb: chealer: I will take a second look at the usage of tiki_categorized_objects, but as nkoth|nelson suggested, it's probably not good to do any major revising at the moment jonnyb: yup - seems the perms get lost somewhere chealer: well, as long as it's on trunk
refactoring categlib is definitely *not* something we want to do in 8.x!
changi: did you see my last mail to -devel? about cache
oh, nevermind changi: chealer: did you see my answer :) chealer: changi: OK... so how do we deal with this memcache problem?
changi: adapt the cron job? changi: chealer: i thing that we have now a big server and memcached is not necessary
s/thing/think
chealer: it's a drop and recreate database + php installer/shell.php
i don't want to add sort of sql queries
chealer: we should try to re enable it and change the prefix
did we try that yesterday ? chealer: changi: I'm not a performance person and you're the one managing the server. if you think it's unneeded, let's disable it
changi: yesterday I only disabled memcache. I let you decided how you wanted it.
s/decided/decide/ changi: ok lets try to enable it and change the prefix
and see if we have issues chealer: OK changi: memcached enabled chealer: changi: good. RobertPlummer fixed the textarea issue when you left. changi: no issues for the moment
trackers are working well chealer: changi: did we experience other actual bugs with memcache? changi: thx Robert
chealer: i think the main issue was that we mixed dev and trunkdev prefix
that why it wasn't working chealer: yeah. allright changi: what about trackerstats ? chealer: changi: Louis-Philippe said that was related to categories. I need to look at that. let's ignore that one for now, not a blocker
changi: I still have to go through some feedback about our 8.x upgrades changi: It goes pretty well :)
did you see marc's email about tv.to ? chealer: hum, bottom of http://trunkdev.tiki.org/Development partly broken for anonymous
changi: yes. it's Marc's feedback I still need to check nkoth|nelson: jonnyb: if it helps I notice that $changes in fgal_context_menu.tpl is not defined in browse mode CIA-12: tikiwiki: 03jonnybradley * r38292 10/branches/8.x/tiki-wikiplugin_edit.php: [FIX] plugin edit: Don't strip out empty params (this included values such as "0") changi: chealer: what is broken? jonnyb: nkoth|nelson: ah, that sounds like the one - a smarty 3 casualty i think chealer: changi: hum, there was an ohloh logo showing below everything, but it's gone now. something's wrong arildb: chealer: yes, I will certainly not touch tiki_categorized_objects at the moment chealer: changi: I can't really reproduce. the notices are OK, cache seems to be behaving correctly changi: chealer: is it normal that anonymous can edit pages ?
like Tiki8 arildb: however, it seems like removing it will eliminate some table access (insert/deletes) and should simplily a number of SQLs....but a too high risk of side-effects at the moment chealer: changi: uh. seems not... changi: that a big problem
anonymous can do more than it should be able to do
http://trunkdev.tiki.org/tiki-pagehistory.php?page=Tiki8
look at the last editor nkoth|nelson: jonnyb: you mean something to do with reusing the same varname inside a loop? chealer: changi: it seems they just get the edit icon here nkoth|nelson: jonnyb: I've leave it to you, but that could very well be it chealer: changi: that seems to be an actual user (called "anonymous"...) changi: that was me editing the page without being logged jonnyb: nkoth|nelson: sounds likely, will investigate... chealer: changi: HUH
changi: do you see it showing as user5981?
(never paid attention to how anonymous contributions look like) changi: chealer: no it show me "user anonymous
" chealer: and where does anonymous@mailinator.com come from? changi: lol chealer: changi: right, but if you hover that it shows a link to user5981 changi: yes
we should try to delete it ?
or rename it chealer: we have an actual "anonymous" user on tiki.org, registered in 2005: http://trunkdev.tiki.org/tiki-adminusers.php?offset=0&numrows=50&sort_mode=login_asc&user=5981
changi: I guess, but more importantly we need to figure out if/how that's breaking the system CIA-12: tikiwiki: 03jonnybradley * r38293 10/branches/8.x/lib/wiki-plugins/wikiplugin_carousel.php:
tikiwiki: [FIX] carousel plugin: Process params so they're not all strings, fix filters where needed and improve param descriptions.
tikiwiki: Also use file name (title) as well as description if available. changi: his last connection was in 2005 too chealer: changi: it seems some pages can be edited anonymously, some not (like the home page), but they all get the edit icon
changi: pfff. that's a lot of problems to add to the number of tabs I already open :-S, I'm not sure we should upgrade
...dev today, depending on how much time we have CIA-12: tikiwiki: 03jonnybradley * r38294 10/branches/8.x/templates/browse_file_gallery.tpl: [FIX] fgals: Fix context menu in browse mode by passing on $changes var (Thanks again nkoth for the clue) chealer: thanks jonnyb
changi: could you upgrade themes? there's a problem with carousel changi: yes jonnyb: no worries chealer - sorry i haven't been around as much as i would have liked recently changi: jonnyb: 30 minutes before, you have say we have a perm issue, was it in Tiki8 ?
chealer: backlinks are not selectable chealer: jonnyb: is it that 24 hours in a day limit thing again? changi: chealer: 48h you mean :) chealer: 48h in a day? sorry, I'm leaving for France changi: ok, to be more pragmatic, did someone touch the perm system since Tiki7 ? nkoth|nelson: changi: I don't remember any major change to perms, except to tracker perms. is it you have pages that can be edited by anonymous now after upgrading? chealer: nkoth|nelson: that's the problem, yes changi: yes jonnyb: hi changi - back, perm issue? maybe the filegal thing (was a smarty var thing) changi: jonnyb: ok
chealer: it's not only pages, the footer is also editable by anonymous :) nkoth|nelson: do i have access to this? changi: chealer: and the display error button is present chealer: nkoth|nelson: http://trunkdev.tiki.org/Tiki8 can be edited by anonymous changi: All pages are editable by anonymous :) chealer: changi: ooh. noticed the button, but I figured it was setting
s nkoth|nelson: what is the apache auth? changi: trunkdev / trunkdev
:) CIA-12: tikiwiki: 03jonnybradley * r38295 10/trunk/ (12 files in 6 dirs): [MRG] Automatic merge, branches/8.x 38272 to 38294 changi: chealer: no because on dev.tiki.org it didn't show chealer: changi: "Visible to admin only" is not checked ***: arildb has quit IRC (Read error: Connection reset by peer)
arildb has joined #tikiwiki changi: oh a new feature :) chealer: changi: that preference is not new. I see I don't have errors on production dev, but I also don't see them as admin changi: so it's a evolution :)
cool chealer: ah "Include Smarty notices" is disabled on both sites
but we see Smarty notices on trunkdev
that's abnormal, but there were regressions with Smarty 3 about error reporting changi: oh regression then
Smarty3 is so delicious :) chealer: (which I'm not planning to look at before Smarty 3.1 unless it's a big problem)
so for now I'll just ignore that changi: it's not a big problem nkoth|nelson: interesing, after I click the refresh cache button, anonymous can no longer edit tiki8 changi: and of course not a blocker
nkoth|nelson: i still can edit it jonnyb: most odd - on trunkdev not only does anon have tiki_p_edit but also all the others (like remove, permissions etc) buttons chealer: nkoth|nelson: hum, that's so strange. now I still see the icon but indeed I get a permission denied changi: chealer: are ok that codemirror is not stable, but is not a blocker for Tiki8 nkoth|nelson: trunkdev.tiki.org/tiki-editpage.php?page=Tiki8 try now chealer: changi: indeed. it's tagged as experimental jonnyb: i still can edit as anon nkoth|nelson: I can again... changi: me too chealer: me too jonnyb: could it be something like an svn file conflict?
like a lib missing or corrupt
my 8.x and trunk tikis seem to be ok changi: svn status say nothing wrong jonnyb: as is http://themes.tiki.org
maybe it's the apache basic auth? nkoth|nelson: changi: dpes it help with memcache off? changi: jonnyb: i can switch it off chealer: changi: I also don't remember important changes to permissions since Tiki 7. there were changes to check_permission(), including one this morning by Louis-Philippe: https://sourceforge.net/apps/trac/tikiwiki/changeset/38284
changi: but just a change to check_permission() couldn't explain all that changi: chealer: yes
will switch off auth chealer: I disabled memcache changi: still able nkoth|nelson: there are cases where I cannot edit
I think it is wiki cache related changi: apache auth deactivate
still able to edit ***: shaun_ has joined #tikiwiki jonnyb: it's still asking for auth for me shaun_: Hi, I'm have just setup wiki, got it working with ldap. i can add users successfully. but when i log in with anything but the default admin account. i just get a blank page. I cant figure it out for the life of me. changi: jonnyb: and now ? jonnyb: yup, in now witohut auth, but still get edit buttons :( chealer: nkoth|nelson: I don't think wiki cache could cause the edit icon to show when it shouldn't nkoth|nelson: shaun_ this ldap thing I rememebr when the error is too long it used to white screen instead of logging the error
but I thought I fixed it changi: i can display $_REQUEST if you want chealer: shaun_: which version do you use? nkoth|nelson: I think it was fixed here: https://dev.tiki.org/item3710-3710&highlight=ldap shaun_: nkorth:nelson > i never had a chance to verify that. can you walk me through the steps. jonnyb: however, if i go to https://trunkdev.tiki.org/tiki-objectpermissions.php for instance i get "you are not logged in", so maybe it's a global var issue, in smarty maybe (where $tiki_p_edit gets checked instead of using the proper functions) nkoth|nelson: jonnyb: you can actually get through tiki-editpage.php, so the problem is in get_perm_object shaun_: chealer> I'm using EasyPHP-5.3.8.0 with TikiWiki 6.4 LTS nkoth|nelson: let me turn the wiki cache off and see changi: nkoth|nelson: ok chealer: Anonymous doesn't have global tiki_p_edit
shaun_: I suggest trying version 7. otherwise, you can enable error reporting. shaun_: Error reporting is enabled. jonnyb: shaun_: try enabling error_reporting (if it's not already)
:P
for non-admins too? chealer: shaun_: did you apply the Debug Mode Enabled profile? shaun_: chealer> not that i specifically am aware of. chealer: shaun_: try it, there are several settings to check nkoth|nelson: changi: why do i still see the cache icons after disabling all the cache? shaun_: is there a walkthrough of how to enable the debug mode? nkoth|nelson: I am beginning to think APC is the issue chealer: {if $editable and ($tiki_p_edit eq 'y' or $page|lower eq 'sandbox') and $beingEdited ne 'y' and $machine_translate_to_lang eq ''}
shaun_: see the Profiles admin panel
so yeah, $tiki_p_edit must be set to y changi: nkoth|nelson: maybe because we have a cache issue :) ***: kstingel has joined #tikiwiki changi: nkoth|nelson: i can disable it if you want (APC) ***: kstingel has quit IRC (Client Quit) nkoth|nelson: changi: give it a try (but was the old dev on APC?) shaun_: yes. chealer: good point nkoth|nelson, also seeing cache icons still
shaun_: search for the Debug_Mode_Enabled there and apply it changi: nkoth|nelson: yes dev is on APC and themes and tv and all website shaun_: what catagories? changi: nkoth|nelson: apc is off
nkoth|nelson: still able to edit
nkoth|nelson: still see cache refresh button nkoth|nelson: changi: it is almost like memcache is still working changi: who wants a dev database dump to test on local ***: SJ-Jay has joined #tikiwiki SJ-Jay: polom tikis :)
anyone know if's theres any problems adding css3 to tiki? chealer: even if memcache is still working, we changed the prefix nkoth|nelson: changi: i suppose you must have restarted apache after turnign off apc? chealer: I have to eat something changi: nkoth|nelson: yes
nkoth|nelson: you can see the tabs apc saying that apc is off chealer: changi: before you leave, we need to set a new date to upgrade doc. at least one possibility, say in the case that we can upgrade dev this weekend changi: next thursday
usually we switch doc after RC1 -: jonnyb wonders if it would be rude to ask if the trunkdev database has been upgraded... changi: jonnyb: yes it is jonnyb: thought so :)
just guessing now nkoth|nelson: there's something real strange that the cache icons won't disappear, let me zoom in on this one thing first changi: i still thing it's a smarty issue
nkoth|nelson: ok
bbl chealer: changi: OK jonnyb: ok, me 2 nkoth|nelson: changi: there might be a smarty issue but smarty is not involved in blocking tiki-editpage.php ***: changi is now known as changi|nsf chealer: changi: could we refresh trunkdev from production dev again? in case cache issues caused corruption changi|nsf: nkoth|nelson: i'm thinking like someone before, a global variable issue
chealer: yes i can nkoth|nelson: chealer: but there are times when I am blocked
does not seem like a code issue to me chealer: nkoth|nelson: yeah, me too
nkoth|nelson: not sure I understand you, but I'm talking about refreshing the database -: changi|nsf refresh data under process chealer: thanks changi|nsf nkoth|nelson: ok, refreshing makes sense changi|nsf: and as i say before i can provide a dump if some of you wants to tests on local chealer: changi|nsf: what would the size look like?
BTW changi|nsf, I saw some pages complaining about img/wiki_up/ on trunkdev. if that's not too hard, it would be nice to synchronize that too
unless we just switch storage to database shaun_: chealer> So, debug is enabled. is there a specific action you would like me to perform as a par, or litmus test;) changi|nsf: chealer: 63 Mo chealer: shaun_: retry to login, the idea is to get the error message instead of a blank page nkoth|nelson: changi|nsf, any other tiki on this server? chealer: changi|nsf: OK, I could try it if it persists shaun_: when i logged out as admin. all of my images went away and looks like normal text. im assuming this is normal. chealer: changi|nsf: was themes upgraded? changi|nsf: nkoth|nelson: dev / doc / themes/ tv / noc / code / profiles / stats
chealer: themes is up2date shaun_: I just tried to log in as the ldap user. blank page again. nkoth|nelson: shaun_is log ldap errors on? if so , whatever errir it is should be logged in tiki logs
which should be accessible through Admin...Tiki Logs -: changi|nsf trunkdev is up2date with dev's data chealer: crap, JavaScript broken on themes for anonymous changi|nsf: chealer: where chealer: thanks changi|nsf. I suppose you had already changed the memcache key
I turned off memcache too to be very sure that's not the problem changi|nsf: chealer: no chealer: changi|nsf: on the HomePage, javascript errors on load, will investigate later (minified is enabled)
changi|nsf: well, it had Memcache key prefix:
trunkdevtiki_
I hadn't touched it after your refresh at that time
doh, Overview can still be edited shaun_: chealer> 84 ldap 12:55 shaun Connect Host: ldap://172.xx.x.xx:389. Binddn: shaun at line 220... 127.0.0.1 Mozilla/4.0 (compatible;... chealer: ...as anonymous
no suspicious notices (so no obvious cache conflict) nkoth|nelson: we should try the dump, changi can you email me? chealer: changi|nsf: your dump is a vanilla dump of the production site, right? nkoth|nelson: maybe not the dump, but somewhere to get it chealer: I gave nkoth|nelson the link changi|nsf: chealer: yes, you need to run installer/shell.php to upgrade it chealer: OK
nkoth|nelson: I guess we shouldn't all work on that at the same time
I'll check the issue on themes nkoth|nelson: ok chealer: JavaScript errors as anonymous on themes appear to be gone changi|nsf: need to leave
see ya all
let me know if you need something ***: changi|nsf is now known as changi|ffa chealer: hum, display of http://trunkdev.tiki.org/Development is currently broken
as anonymous, white background shaun_: chealer> I dont seem to get any errors with the debug enabled. chealer: changi|ffa: so when can we upgrade dev?
changi|ffa: (if there were no issues left tomorrow for example) changi|ffa: i can do it this week end
i don't have edit button anymore
oh talk too fast
need to go nkoth|nelson: chealer: not white for me chealer: changi|ffa: OK. we'll tell you when it's ready changi|ffa: tschuss chealer: changi|ffa: thanks, good weekend
OK, not white for me anymore
but cache conflict again
changi|ffa: do you see the cache conflict again? nkoth|nelson: chealer:yes. i will want to try locally chealer: we're very lucky if this conflict does't damage the production dev site nkoth|nelson: chealer it looks ok so far, really strange chealer: shaun_: so you still have blank pages?
no more conflict on trunkdev now (memcache is disabled)
jesus... shaun_: yes. chealer: shaun_: is reporting only enabled for admins (in the general admin panel)?
error reporting
changi|ffa: did you just change memcache settings
oh, Tiki Logs say changi changed memcache_servers at 16:08
there is no mention that I disabled memcache, just that I changed memcache_servers (which I didn't do voluntarily)
nkoth|nelson: meh
GAH
cache conflict on trunkdev again nkoth|nelson: chealer: I am importing dump locally now, let's see if I can reproduce any problems locally first chealer: and memcache is still disabled
memcache is disabled on trunkdev, I just clear Tiki cache, and there is still a cache conflict
nkoth|nelson: what do you mean, a different dump? nkoth|nelson: the one you pointed me to, chealer: s/I just clear Tiki cache/I just cleared Tiki cache/
nkoth|nelson: I thought you had already tried that (when you wrote "it looks ok so far, really strange ") nkoth|nelson: was referring to the eisting site then
s/eisting/existing
chealer, you think I should change the session cookie name just in case it matters? chealer: nkoth|nelson: trunkdev? nkoth|nelson: When I said "it looks ok" I was referring to old dev
trunkdev is no improvement chealer: nkoth|nelson: oh. yes, I saw no apparent damage on production dev. ***: marclaporte has joined #tikiwiki
ChanServ sets mode: +o marclaporte chealer: nkoth|nelson: I can't see how the session cookie name would cause a problem like what we're seeing. assuming we're in different domains/paths nkoth|nelson: chealer: you are right
the domain is different marclaporte: polom chealer: hi marclaporte
marclaporte: thanks for testing trunkdev. I think you saw a cache conflict. did http://trunkdev.tiki.org/tiki-view_tracker_item.php?itemId=4009 look like what it's like now when you tested?
there's a ton of errors
nkoth|nelson: yeah, please test the dump, that will give us an idea. I'll try to solve the current conflict on trunkdev meanwhile
WTF. enabling memcache fixed it. it remains OK after re-disabling
there's clearly a preferences bug
nevermind marclaporte, I guess not
and anyway, it doesn't look the same now nkoth|nelson: chealer: wiki caching is still on chealer: nkoth|nelson: what do you mean/imply? nkoth|nelson: chealer: when I go to tiki8 for the first time there is no cache refresh icon, but when I go to it again it appears
but if I go to tiki-admin.php?page=performance as an admin (different browser) I see that the cache wiki pages is off
doesn't seem consistent to me chealer: nkoth|nelson: right, there's still the bugs we had before refreshing...
sorry, when I said I fixed it, I meant the cache conflict
nkoth|nelson: not the big problems we saw with changi nkoth|nelson: right. chealer: marclaporte: oh, I see your comment on http://trunkdev.tiki.org/tiki-view_tracker_item.php?itemId=4009 now
marclaporte: but there is no number of comments in the tab name
nkoth|nelson: any progress? nkoth|nelson: installed locally, facing memcache error chealer: nkoth|nelson: because it was enabled I guess? nkoth|nelson: there was no pref in tiki7 I think chealer: nkoth|nelson: no memcache_enabled in Tiki 7? nkoth|nelson: chealer, wat
wait
found it. disabling in db
bug is evident locally as well
now starting investigation ***: marclaporte has quit IRC (Quit: Leaving.) chealer: oh. good thing, I guess nkoth|nelson: chealer, yes luciash: re-polom chealer: nkoth|nelson: the cache thing may be a bug when the cache was previously enabled then disabled luciash: uff, finally found out what was the scrollbars crap caused by - package called scrollbar-overlay
(in the Ubuntu) chealer: nkoth|nelson: I would probably start with the edit icon issue, if permissions weren't that complex :-S
re luciash luciash: sorry for off-topic
hi chealer nkoth|nelson: chealer, i'm still trying to change the https login pref ***: RobertPlummer has joined #tikiwiki
coaboa has joined #tikiwiki
arildb has quit IRC (Quit: Leaving) nkoth|nelson: chealer: i'm through that and checking ht eperms now ***: RobertPlummer has quit IRC (Ping timeout: 260 seconds)
jonnyb has quit IRC (Quit: I am going outside... I may be some time...) nkoth|nelson: chealer: ok, the wiki cache refresh icon issue is separate from the other issues. Apparently the wiki cache refresh will contnue to show even after wiki cache is turned off so long as there is a wiki cache in the past . This does not seem right to me chealer: nkoth|nelson: yeah... big surprise :-P
I agree, not right
looking at Marc's comments still
nkoth|nelson: are you trying to fix the cache issue or on the permissions? I could check the cache nkoth|nelson: i am looking at the permissions.
the cache thing you can find in lib/wiki/wikilib
go ahead
it's in function get_parse($page, &$canBeRefreshed, $suppress_icons = false) { ***: coaboa has quit IRC (Remote host closed the connection) chealer: yes, I've been there
pages have individual cache set ***: DarkCalf has quit IRC (Ping timeout: 252 seconds) CIA-12: tikiwiki: 03chealer * r38296 10/branches/8.x/lib/wiki/wikilib.php: [FIX] Wikilib: only consider individual wiki cache set if feature_wiki_icache is enabled in get_parse(). Thanks Nelson Ko nkoth|nelson: chealer: I am still narrowing down the permission breakage to somwhere in september, but I noticed on going through svn logs that in r36781 and r36783 there was some refactor by you on need_reload_prefs
I was under the impression that that was needed when certain prefs change - the anonymous have their prefs cached in SESSION, so they need it reloaded... chealer: nkoth|nelson: indeed, lots of preferences refactoring
nkoth|nelson: it could have something to do with that
nkoth|nelson: need_reload_prefs should be for site preferences ("s_prefs"). but there's still some broken code using s_prefs incorrectly
nkoth|nelson: my condolences if you have to read initialize_prefs
nkoth|nelson: did you try just removing the anonymous and see what happens?
the weird anonymous *user* nkoth|nelson: permission error is clearly in the code
I've narrowed it down to the september period by svn switch
still further narrowing...
permission problem is not related to prefs issue I raised earlier ***: chealer has quit IRC (Quit: Konversation terminated!)
chealer has joined #tikiwiki chealer: anonymous: "Invalid username"
on 8.x
if ($n == 'admin' || $n == 'anonymous' || $n == 'registered' || $n == strtolower(tra('Anonymous')) || $n == strtolower(tra('Registered')))
return new RegistrationError('name', tra("Invalid username")); ***: fabricius has joined #tikiwiki
oeversetten has joined #tikiwiki oeversetten: polom fabricius: polom chealer: uh, the anonymous user on trunkdev is gone
tiki.org seems a little slow oeversetten: not just a little chealer: well, it's been worst, but it could be quite faster currently :-)
uh. "anonymous" now has an empty username it seems: http://dev.tiki.org/user5981
(compare with http://dev.tiki.org/user5982 ) nkoth|nelson: chealer, anyway i found the culprit revision for the permission thing but I can't see how it can matter chealer: nevermind, it seems User Information is broken when given a user is that doesn't exist
s/user is/user id/
so it seems someone removed "anonymous" from dev (and trunkdev) nkoth|nelson: must be changi chealer: probably
nkoth|nelson: great, lookins...
nkoth|nelson: pretty big diff, eh...
yet nothing about tiki_p_edit nkoth|nelson: but switching userslib between the two revisions certainly solves the perms
I suspect maybe there is a bad perm somewhere added chealer: nkoth|nelson: I see. I don't see any clearly related permission touched neither nkoth|nelson: and on this site that perm is on
(therefore it is not a problem on other sites)
and when some code tries to check that perm, the whole thing bombs or somehting chealer: sounds plausible
it's a pretty good start that we identified a commit, just wish it was another one :-) nkoth|nelson: after all the commit message does say that there ended up one more perm?
right i found it ***: DarkCalf has joined #tikiwiki CIA-12: tikiwiki: 03nkoth * r38297 10/trunk/lib/userslib.php:
tikiwiki: [SEC][FIX] Since r37331 (16 Sep 2011), when tiki_p_plugin_preview was given to a
tikiwiki: group it was as if tiki_p_admin_wiki was given. This patch fixes that and does
tikiwiki: some associated tightening up on defining feature admin perms. ***: RobertPlummer has joined #tikiwiki chealer: yay
nkoth|nelson: you want to do a minimal backport? nkoth|nelson: to 7?
i don't tthink it affect 7 chealer: nkoth|nelson: 8.x ***: RobertPlummer has left nkoth|nelson: I committe din 8
shit
all that svn switching
messed up my checkout chealer: hehe, there's matter for confusion nkoth|nelson: ok i will bp CIA-12: tikiwiki: 03nkoth * r38298 10/branches/8.x/lib/userslib.php:
tikiwiki: [bp/r38297][SEC][FIX] Since r37331 (16 Sep 2011), when tiki_p_plugin_preview was
tikiwiki: given to a group it was as if tiki_p_admin_wiki was given. This patch fixes that
tikiwiki: and does some associated tightening up on defining feature admin perms. nkoth|nelson: ok, gtg now, talk to you later :) chealer: thanks nkoth|nelson