CIA-64: tikiwiki: 03nkoth * r27378 10/branches/5.x/ (lib/wiki/wikilib.php tiki-admin_include_wikiatt.php): [FIX] jsut cleaning up for clarity (should not have any effect in practise)
***: Helene has joined #tikiwiki
Helene has quit IRC (Client Quit)
Cain` has joined #tikiwiki
Cain has quit IRC (Ping timeout: 240 seconds)
Cain` is now known as Cain
luciash: sylvieg: hmm, i have set session.cookie_lifetime = 0
so it should be "Lifetime in seconds of cookie or, if 0, until browser is restarted."
or is it this ? session.gc_maxlifetime = 1440
or this ? session.cache_expire = 180
***: Caarrie is now known as Caarrie|sleeping
luciash: sylvieg: ah, i think it is caused by the garbage collector one
increased it, lets see if it helps
***: goj|ghost has joined #tikiwiki
goj has quit IRC (Ping timeout: 248 seconds)
goj|ghost is now known as goj
chealer: luciash: yeah, so the only abnormality would be remember me not working
luciash: you were saying you would be disconnected just by closing the browser, right?
luciash: chealer: nope, just by not using Tiki, not closing browser
chealer: when i came back and reloaded the page or went to another one, i was logged out
chealer: i have session.gc_maxlifetime = 36000 now, lets see if it changes anything
chealer: luciash: yeah, but if you close the browser and reopen, are you still logged in?
luciash: yes
chealer: luciash: hum
luciash: if not more than 1440 seconds i think
chealer: i have chosen remember me, that is all right
chealer: luciash: sorry, what do you mean by "if not more than 1440 seconds i think"?
luciash: you should stay logged in even when you come back, nope ?
session.gc_maxlifetime = 1440
before i had in my php.ini
which is some 23 mins, right ?
chealer: luciash: it seems normal to get logged out after some time, *if* you don't have remember me
yeah, 24
luciash: chealer: i *have* rememberme, goddamn
chealer: luciash: I know, it's only normal to get logged out after some time *if* you wouldn't have remember me enabled
which suggest your remember me is broken
luciash: that i know
chealer: but if remember me is broken, you should be logged out by closing your browser
luciash: my remember me ? Tiki's remember me ;)
chealer: well, yes, on your install...
luciash: but maybe it has to do with the garbage collector as sylvie pointed out
chealer: luciash: the garbage collector would only explain losing your session. if you have a remember me cookie, you should get a new session automatically
luciash: on ubuntu it checks the session.gc_maxlifetime in php.ini and runs cleaning by cron every time then
chealer: I mean, a new one which is automatically authenticated
yes
luciash: it doesn't work with localhost
as i say all the time
the remember me cookie
anybody can try that on their localhost
chealer: luciash: not on your install, but it seems to work in general (at least on mine)
luciash: i wonder no other devs ever tried using remember me on their localhost
chealer: luciash: I use remember me all the time
luciash: ubuntu ?
chealer: luciash: Debian
luciash: that might be the difference
chealer: luciash: I would be very surprised if this would be Ubuntu-specific
luciash: does this happen on a fresh install?
luciash: on every install i have on my localhost
yes, fresh ones too
from my php.ini: "
; This is disabled in the Debian packages, due to the strict permissions
; on /var/lib/php5. Instead of setting this here, see the cronjob at
; /etc/cron.d/php5, which uses the session.gc_maxlifetime setting below."
chealer: luciash: did you say that was related to how you adressed the site, like localhost but not 127.0.0.1?
luciash: i haven't tried extensively 127.0.0.1 if it makes difference... i use localhost all the time
chealer: luciash: I don't see how the garbage collector alone would cause that. remember me is supposed to keep you logged in even if your session expires.
luciash: symlinked /home/luci/Development/tikibranch5 via /var/www/tikibranch5
chealer: hum
luciash: so the url is http://localhost/tikibranch5
chealer: luciash: did you say it was not possible to give us access to your Tiki?
luciash: it's on my laptop, not configured for access via Wi-Fi router from the outside
chealer: luciash: what remember me settings do you have?
luciash: can it be the path ?
Host: localhost
chealer: luciash: it could, though fresh installs shouldn't have issues with that
luciash: Path: /tikibranch5/
Secure: No
Expires: At End Of Session
chealer: luciash: OK. and what do you have in Login : Administration
luciash: eh, but it is PHPSESSID cookie name
i don't see tikiwiki cookie anywhere in my 9 cookies
chealer: luciash: ah
luciash: right, that's a problem
I have tiki-user-tikiwiki
luciash: so it even wasn't created
it seems
but i wonder why or how to debug it
chealer: luciash: what do you have in Login : Administration ?
luciash: default settings
chealer: luciash: which are?
luciash: tikiwiki, domain is empty, path is /tikibranch5/
chealer: for Remember me
luciash: good
luciash: remember me is user choice
chealer: luciash: you can use Live HTTP Headers to watch Cookie headers go by
the Firefox extension
otherwise it's hard to help without being able to access the site
luciash: i used Webdeveloper extension Cookies > View cookie information
chealer: luciash: yes but that told you you're missing the remember me cookie, which is the new mystery
Tiki asks the browser to create the cookie with a HTTP header
luciash: chealer: i have one cookie named tiki-user-tikiwiki
is it the remember me one ?
chealer: luciash: ah
luciash: yes, that's the one
luciash: so what does that one look like?
luciash: that one seems to expire one year after
chealer: luciash: and what are the other properties?
luciash: ah, grmbl, sorry, it seems the remember me cookie isn't created when i put localhost in the Admin > Login > "Domain" field
when i leave it empty, it creates it
so i will test now if it will keep me logged in for one year ;)
thanks for help
i wonder what is the domain field good for ?
chealer: luciash: did you put localhost there in all your installs?
luciash: i am not aware of that
let me check trunk
nope, on my trunk copy it is empty but remember me is disabled there
i will check branches 4
chealer: luciash: I fixed a remember me bug of this kind, but fresh installs should be fine
luciash: ah, ok
i think my only fresh is branch 5 right now
on my branch4 copy, there seems to be wrong path
there is just "/"
chealer: luciash: that seems to remind me something
I'm looking for my commits
luciash: that one is not fresh but upgraded iirc
chealer: I hate having to find a commit I did some time ago
luciash: cookie is set, value is b580e5c69958dd0669c77208c7814c0c.1275619418.admin
:)
chealer: if it's not on the CIA list it's a pain to find on ohloh
luciash: did the last part after the dot changed in Tiki 5 to the user ID instead ?
chealer: luciash: yes, I did that
luciash: i remember that cookie had 1 there
fine
chealer: I found that commit but not the one that fixed the path/domain
luciash: nevermind, i think it should work if i manually set the path to /tikibranch4/, right ?
chealer: yes
luciash: i can see there some cookies from branch 4 has the path correct and some has the path just "/"
presumably those cookies will not work properly
***: luciash_ has joined #tikiwiki
chealer: luciash: yes, I seem to remember that was the bug
luciash_: oups, never hit ctrl + Z in irssi ;)
local_tz,
phplm_expand and tiki-user-tikiwiki has the path "/"
chealer: found it
luciash_: http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki?view=rev&revision=25040
luciash_: cool
chealer: luciash_: so trunk/5.x installs past February 11th shouldn't have this issue.
luciash_: ok, i see ... wasn't it backported ?
***: luciash has quit IRC (Ping timeout: 272 seconds)
luciash_ is now known as luciash
luciash has quit IRC (Changing host)
luciash has joined #tikiwiki
ChanServ sets mode: +o luciash
chealer: luciash: it was at least backported to 4.x: http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki?view=rev&revision=25615
luciash: ah, good then
i will see if my remember me will be fine now and let you know ;)
***: chealer has quit IRC (Ping timeout: 264 seconds)
ricks99 has quit IRC (Quit: Get more help: TikiWiki for Smarties http://twbasics.keycontent.org)
haraldur has quit IRC (Ping timeout: 252 seconds)
franck has quit IRC (Ping timeout: 260 seconds)
benjamin_ has joined #tikiwiki
FrankP_away has joined #tikiwiki
Lucymoz has quit IRC (Ping timeout: 248 seconds)
benjamin_ has quit IRC (Ping timeout: 240 seconds)
benjamin_ has joined #tikiwiki
benjamin_ has quit IRC (Remote host closed the connection)
yonixxxxx has joined #tikiwiki
j0n3 has joined #tikiwiki
j0n3: hi! :D
***: stix has joined #tikiwiki
stix: Hi guys. Can I somehow write the current date on a page? With html or with some kind of variable?
***: martijn85 has joined #tikiwiki
martijn85: good morning
***: FrankP_away has quit IRC (Ping timeout: 265 seconds)
martijn85: is there a way to view pdf files in the middle frame of the screen?
j0n3: do you want server date or client date?
stix: j0n3, the server date
j0n3: I've not found any plugin on docuemntation, so you could code a custom plugin...
stix: okay, is there some docu on creating custom plugins?
Another question: is there a list of variables to use in pages? I want to show the users real-name and maybe avatar etc.
j0n3: http://dev.tikiwiki.org/Create+a+Plugin
http://doc.tikiwiki.org/Documentation
stix: cool, it works :)
luciash: martijn85: HTML plugin + iframe
stix: AVATAR plugin
martijn85: ah
which can be in 4.2 ?
luciash: martijn85: in iframe src= you link the pdf
stix: luciash, I am now hooked on writing my own plugins in php :) Is there a list of variables I can use within the coding to get data from tiki, such as username, avatar etc?
luciash: stix: i am not sure about that
>devtwo Hello+World
Sug4r: http://dev.tikiwiki.org/Hello+World
luciash: if it helps
if you will use tpl for the plugin to display the data, you can check the Smarty blocks, functions and mofifiers available in lib/smarty-tiki/ or learn from other plugins in lib/wiki-plugins/
stix: hmm okay, I will look into that
martijn85: thanks[09:51] *** martijn85 has quit IRC (Ping timeout: 252 seconds)
***: martijn85 has joined #tikiwiki
martijn85_ has joined #tikiwiki
martijn85_: I have enabled Iframe
and put in the code
but firefox crashes...
I'll try reboot
***: martijn85 has quit IRC (Ping timeout: 252 seconds)
martijn85_: lol
Internet Explorer works
luciash: make sure the iframe tag syntax is correct
like: {HTML()}<iframe ...></iframe>{HTML}
***: Caarrie|sleeping is now known as Caarrie|away
martijn85_: the tag=
{IFRAME(src=mckensey_km.pdf , name=test , title=test, height=500 , width=600 , align= , frameborder= , marginheight= , marginwidth= , scrolling= )}{IFRAME}
***: martijn85_ has quit IRC (Ping timeout: 252 seconds)
j0n3: stix, do you still want a plugin for current date?
stix: j0n3, I wrote my own :)
j0n3: ok!
Searching from user without permissions shows number of documents found, i.e: a search of a word shows "found 25 pages" even the user can't see any. Should I report as a bug?? That's a problem ie: if a client is looking for pages we refer to other clients. No pages shown or access but "pages found" count...
***: RavenC has joined #tikiwiki
sylvieg: j0n3: and if you click on the link do you see the document?
***: Louis-Martin has joined #tikiwiki
j0n3: no, no document's... no results but a count
if no document's shown it should say "no documents match criteria" or so...
***: ricks99 has joined #tikiwiki
-: ricks99 at YOW... good visit to ottawa but ready to head home :)
RavenC: pretty area ricks... good weather i hope :)
ricks99: it was *hot* (hotter than home in NC, USA)
was good to finally meet some folks f2f
***: changi has quit IRC (Ping timeout: 260 seconds)
ricks99 has quit IRC (Quit: Get more help: TikiWiki for Smarties http://twbasics.keycontent.org)
Helene has joined #tikiwiki
stix: Can anyone help me customizing the category plugin?
it keeps inserting this headline before listing what is in the category - "Wiki Page: <category-name>"
I want to remove that
***: FrankP_away has joined #tikiwiki
chealer has joined #tikiwiki
RyanS has joined #tikiwiki
RyanS: Just wondering if tiki can blacklist urls from being added to pages? I don't know if wikimatrix is updated recently
***: RyanS has quit IRC ()
changi has joined #tikiwiki
Helene has quit IRC (Quit: Page closed)
miky_ has joined #tikiwiki
miky_: hello
can anyone suggest me tool to create wiki pages
***: edwinbennink has joined #tikiwiki
edwinbennink: I there, is it possible to use categories in order to show/hide menu modules?
CIA-64: tikiwiki: 03pascalstjean * r27379 10/trunk/tiki-read_article.php: [FIX] Merge from REV 27363 commited from NKoth on Branch 5x. Auto merge did not happen for this line which is important for Article Permissions
***: miky_ has quit IRC (Ping timeout: 252 seconds)
edwinbennink: nevermind
***: edwinbennink has quit IRC (Quit: Page closed)
Louis-Martin has quit IRC (Quit: Page closed)
stix has quit IRC (Quit: Ex-Chat)
xavi has joined #tikiwiki
xavi: polom
sylvieg ?
I've added this line at the end of lib/setup/language.php but no change:
$prefs['language'] = $lang = $_SESSION['language'] = $u_info['prefs']['language'] = 'ca';
thanks for the email with tip...
any other idea?
-: xavi making a db dump right now
sylvieg: no sorry
xavi: ok...
do you mind If I leave the db dump in ourproject.org, like in the uniwiki project space?
I'm in a place with small bandwith
but I can send from one server to another
sylvieg, do you still have your access to ourproject.org server?
sylvieg: and what about changing you dateabse directly with phpMyadmin
the site lang and the suer lang
and logout clear cache
xavi: :-)
murphy's law... phpmyadmin is borked in the server... :-/
they are chaging location of apps, and phpmyadmin is right now out of order
sylvieg: I have probably thje password ... but I have 7 persons at this time trying to have things fix (suppose it is before long week end - trying to leave early)
***: mlaporte has joined #tikiwiki
sylvieg: do you have ssh access?
xavi: ok, don't worry, then.
yes, hold one (pm)
sylvieg: mysql -u user -ppassword base
select * from tiki_preferences where name like %lang%;
xavi: ah, ok... thre I go
it's 5.0.51a-24+lenny1-log , in case it helps
mysql-server version, I mean
***: mlaporte has quit IRC (Ping timeout: 252 seconds)
sylvieg: sorry name like '%lang';
xavi: ok
sylvieg: sorry again
'%lang%'
xavi: ok
language en
see pm
so what's the mysql command to change en for ca?
thks (pm)
c you all (workshop time)
***: xavi has left "Leaving."
j0n3 has quit IRC (Quit: Page closed)
nkoth has joined #tikiwiki
chealer has quit IRC (Ping timeout: 276 seconds)
pascalstjean has joined #tikiwiki
yonixxxxx has quit IRC (Quit: Leaving...)
sylvieg: does somebody remember which directory must eb created to use the seach in admin pannel
***: Lawiz has joined #tikiwiki
nkoth has quit IRC (Quit: nkoth)
tjmcarthur has joined #tikiwiki
Lucymoz has joined #tikiwiki
yoni has joined #tikiwiki
nkoth has joined #tikiwiki
ricks99 has joined #tikiwiki
ricks99: Ack! On of my Tiki sites has died...
error logs says: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2ts.lin
anyone have an idea what the issue is?
sylvieg: ricks99: did you try again to look at the calendar on info
my fix is not working?
ricks99: no difference.
go to http://info.tikiwiki.org/tiki-calendar.php
then change to list view
the module calendar will display as list view :(
sylvieg: yes is did sticky option for the module to fix that
ricks99: i may have misunderstood... did u make the change on info.tw.o already?
or do i need to do it?
sylvieg: stange it works when logged in but not as anonymous
... does niot always worked :-( a bug
ricks99: yuck
sylvieg: :-( need to have a look again
ricks99: Tiki has a notinpage parameter for modules, would be great to have notInSection too
This way I could isimply turn the Calendar module off, when viewing the main calendar
sylvieg: my setting was a page with the mini table and a list view ..... perhaps the module in the column changes the conf
CIA-64: tikiwiki: 03sylvieg * r27380 10/branches/5.x/lib/tikilib.php: [FIX]notice: was bugging the article_image.php for instance: the var is define in lib/pear/Date.php but tikilib can be called before Date. So it is useless to do only on one side
ricks99: @sylvieg: i did a quick css hack to fix the issue... now the calendar module will *not* appear when viewing the calendar page
not perfect fix, but "good enough"
***: RavenC has left
CIA-64: tikiwiki: 03changi67 * r27381 10/branches/5.x/lang/fr/language.php: [TRA] Some french trad
Tikiwiki|bot: New Forum Posts: Only admin can see structures - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=37294
***: conner_bw has joined #tikiwiki
CIA-64: tikiwiki: 03sylvieg * r27382 10/branches/5.x/lib/prefs/server.php: [FIX]admin general pannel: fix 26628: seems that not all the php has the class DateTime
***: nkoth has quit IRC (Quit: nkoth)
yoni has quit IRC (Quit: yoni)
conner_bw has quit IRC (Read error: Connection reset by peer)
conner_bw has joined #tikiwiki
conner_bw has quit IRC (Read error: Connection reset by peer)
conner_bw has joined #tikiwiki
conner_bw has quit IRC (Read error: Connection reset by peer)
conner_bw has joined #tikiwiki
conner_bw has quit IRC (Read error: Connection reset by peer)
conner_bw has joined #tikiwiki
tjmcarthur has quit IRC (Remote host closed the connection)
conner_bw has quit IRC (Read error: Connection reset by peer)
conner_bw has joined #tikiwiki
sylvieg: rick - I think I found the problem
CIA-64: tikiwiki: 03sylvieg * r27383 10/branches/5.x/modules/mod-func-calendar_new.php: [FIX]calendar: wrong documentation - a module in column must set viewlist to table (and not calendar) to be displayed always as table
***: chealer has joined #tikiwiki
FrankP_away has quit IRC (Ping timeout: 265 seconds)
CIA-64: tikiwiki: 03sylvieg * r27384 10/branches/5.x/modules/mod-func-calendar_new.php: [FIX]calendar: wrong documentation - a module in column must set viewlist to table (and not calendar) to be displayed always as table
sylvieg: ricks99: btw the css trick is not working for me
ricks99: theres something wrong w/ the css minify i think...
sylvieg: perhaps you have to clear the cache
ricks99: i did, and it works the first time,
look @ the custom css i added on Admin: look & feel
sylvieg: aha
ricks99: it *should* be working
***: conner_bw_ has joined #tikiwiki
conner_bw has quit IRC (Read error: Connection reset by peer)
conner_bw_ is now known as conner_bw
Lawiz has quit IRC (Quit: Page closed)
sylvieg: are you sure mid is afected css are still loaded at the beginning
I will go for a rule like .tiki-calendar div.box-Calendar
ricks99: i just check to see if tiki-calendar is mid
and if so, i set the box-calendar display:none
sylvieg: yes
ricks99: i think it has to do with the templates or css being cached?
sylvieg: yeh
you are probably right
the scc are cached
but the .tiki-calendar contexts will work
ricks99: let me try 1 more thing...
sylvieg: my calendar module on my local with the parameters viewlist=table works fine
I should have not missed utp with the description
ricks99: and if you go to tiki-calendar and change the view to list?
does the module stay in table?
sylvieg: yes the parameter is more important taht the urlp param
than
url
perhaps it is not intuitive ... but it was the only way I found to do ... whatever..
***: chealer has quit IRC (Ping timeout: 276 seconds)
conner_bw has quit IRC (Read error: Connection reset by peer)
conner_bw has joined #tikiwiki
conner_bw_ has joined #tikiwiki
conner_bw has quit IRC (Read error: Connection reset by peer)
conner_bw_ is now known as conner_bw
conner_bw has quit IRC (Client Quit)
mlaporte has joined #tikiwiki
ricks99 has quit IRC (Quit: Get more help: TikiWiki for Smarties http://twbasics.keycontent.org)
chealer has joined #tikiwiki
rodrigo_sampaio has joined #tikiwiki
conner_bw has joined #tikiwiki
rodrigo_sampaio has quit IRC (Ping timeout: 240 seconds)
Caarrie|away is now known as Caarrie
mlaporte_ has joined #tikiwiki