tikiwiki: 03jacmoe2 * r27377 10/branches/5.x/lib/wiki/wikilib.php: [FIX] Fix for my previous fix: $wikilib::file_to_db: $path, not $file_name
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)
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
sylvieg: ah, i think it is caused by the garbage collector one
increased it, lets see if it helps
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?
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
luciash: yeah, but if you close the browser and reopen, are you still logged in?
yes
luciash: hum
if not more than 1440 seconds i think
chealer: i have chosen remember me, that is all right
luciash: sorry, what do you mean by "if not more than 1440 seconds i think"?
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 ?
luciash: it seems normal to get logged out after some time, *if* you don't have remember me
yeah, 24
chealer: i *have* rememberme, goddamn
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
that i know
but if remember me is broken, you should be logged out by closing your browser
my remember me ? Tiki's remember me ;)
well, yes, on your install...
but maybe it has to do with the garbage collector as sylvie pointed out
luciash: the garbage collector would only explain losing your session. if you have a remember me cookie, you should get a new session automatically
on ubuntu it checks the session.gc_maxlifetime in php.ini and runs cleaning by cron every time then
I mean, a new one which is automatically authenticated
yes
it doesn't work with localhost
as i say all the time
the remember me cookie
anybody can try that on their localhost
luciash: not on your install, but it seems to work in general (at least on mine)
i wonder no other devs ever tried using remember me on their localhost
luciash: I use remember me all the time
ubuntu ?
luciash: Debian
that might be the difference
luciash: I would be very surprised if this would be Ubuntu-specific
luciash: does this happen on a fresh install?
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."
luciash: did you say that was related to how you adressed the site, like localhost but not 127.0.0.1?
i haven't tried extensively 127.0.0.1 if it makes difference... i use localhost all the time
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.
symlinked /home/luci/Development/tikibranch5 via /var/www/tikibranch5
hum
so the url is http://localhost/tikibranch5
luciash: did you say it was not possible to give us access to your Tiki?
it's on my laptop, not configured for access via Wi-Fi router from the outside
luciash: what remember me settings do you have?
can it be the path ?
Host: localhost
luciash: it could, though fresh installs shouldn't have issues with that
Path: /tikibranch5/
Secure: No
Expires: At End Of Session
luciash: OK. and what do you have in Login : Administration
eh, but it is PHPSESSID cookie name
i don't see tikiwiki cookie anywhere in my 9 cookies
luciash: ah
luciash: right, that's a problem
I have tiki-user-tikiwiki
so it even wasn't created
it seems
but i wonder why or how to debug it
luciash: what do you have in Login : Administration ?
default settings
luciash: which are?
tikiwiki, domain is empty, path is /tikibranch5/
for Remember me
luciash: good
remember me is user choice
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
i used Webdeveloper extension Cookies > View cookie information
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
chealer: i have one cookie named tiki-user-tikiwiki
is it the remember me one ?
luciash: ah
luciash: yes, that's the one
luciash: so what does that one look like?
that one seems to expire one year after
luciash: and what are the other properties?
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 ?
luciash: did you put localhost there in all your installs?
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
luciash: I fixed a remember me bug of this kind, but fresh installs should be fine
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 "/"
luciash: that seems to remind me something
I'm looking for my commits
that one is not fresh but upgraded iirc
I hate having to find a commit I did some time ago
cookie is set, value is b580e5c69958dd0669c77208c7814c0c.1275619418.admin
:)
if it's not on the CIA list it's a pain to find on ohloh
did the last part after the dot changed in Tiki 5 to the user ID instead ?
luciash: yes, I did that
i remember that cookie had 1 there
fine
I found that commit but not the one that fixed the path/domain
nevermind, i think it should work if i manually set the path to /tikibranch4/, right ?
yes
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: yes, I seem to remember that was the bug
oups, never hit ctrl + Z in irssi ;)
local_tz,
phplm_expand and tiki-user-tikiwiki has the path "/"
found it
luciash_: http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki?view=rev&revision=25040
cool
luciash_: so trunk/5.x installs past February 11th shouldn't have this issue.
ok, i see ... wasn't it backported ?
luciash: it was at least backported to 4.x: http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki?view=rev&revision=25615
ah, good then
i will see if my remember me will be fine now and let you know ;)
hi! :D
Hi guys. Can I somehow write the current date on a page? With html or with some kind of variable?
good morning
is there a way to view pdf files in the middle frame of the screen?
do you want server date or client date?
j0n3, the server date
I've not found any plugin on docuemntation, so you could code a custom plugin...
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.
http://dev.tikiwiki.org/Create+a+Plugin
http://doc.tikiwiki.org/Documentation
cool, it works :)
martijn85: HTML plugin + iframe
stix: AVATAR plugin
ah
which can be in 4.2 ?
martijn85: in iframe src= you link the pdf
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?
stix: i am not sure about that
>devtwo Hello+World
http://dev.tikiwiki.org/Hello+World
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/
hmm okay, I will look into that
thanks\
I have enabled Iframe
and put in the code
but firefox crashes...
I'll try reboot
lol
Internet Explorer works
make sure the iframe tag syntax is correct
like: {HTML()}{HTML}
the tag=
{IFRAME(src=mckensey_km.pdf , name=test , title=test, height=500 , width=600 , align= , frameborder= , marginheight= , marginwidth= , scrolling= )}{IFRAME}
stix, do you still want a plugin for current date?
j0n3, I wrote my own :)
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...
j0n3: and if you click on the link do you see the document?
no, no document's... no results but a count
if no document's shown it should say "no documents match criteria" or so...
pretty area ricks... good weather i hope :)
it was *hot* (hotter than home in NC, USA)
was good to finally meet some folks f2f
Can anyone help me customizing the category plugin?
it keeps inserting this headline before listing what is in the category - "Wiki Page: "
I want to remove that
Just wondering if tiki can blacklist urls from being added to pages? I don't know if wikimatrix is updated recently
hello
can anyone suggest me tool to create wiki pages
I there, is it possible to use categories in order to show/hide menu modules?
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
nevermind
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?
no sorry
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?
and what about changing you dateabse directly with phpMyadmin
the site lang and the suer lang
and logout clear cache
:-)
murphy's law... phpmyadmin is borked in the server... :-/
they are chaging location of apps, and phpmyadmin is right now out of order
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)
do you have ssh access?
ok, don't worry, then.
yes, hold one (pm)
mysql -u user -ppassword base
select * from tiki_preferences where name like %lang%;
ah, ok... thre I go
it's 5.0.51a-24+lenny1-log , in case it helps
mysql-server version, I mean
sorry name like '%lang';
ok
sorry again
'%lang%'
ok
language en
see pm
so what's the mysql command to change en for ca?
thks (pm)
c you all (workshop time)
does somebody remember which directory must eb created to use the seach in admin pannel
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?
ricks99: did you try again to look at the calendar on info
my fix is not working?
no difference.
go to http://info.tikiwiki.org/tiki-calendar.php
then change to list view
the module calendar will display as list view :(
yes is did sticky option for the module to fix that
i may have misunderstood... did u make the change on info.tw.o already?
or do i need to do it?
stange it works when logged in but not as anonymous
... does niot always worked :-( a bug
yuck
:-( need to have a look again
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
my setting was a page with the mini table and a list view ..... perhaps the module in the column changes the conf
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
@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"
tikiwiki: 03changi67 * r27381 10/branches/5.x/lang/fr/language.php: [TRA] Some french trad
New Forum Posts: Only admin can see structures - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=37294
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
rick - I think I found the problem
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
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
ricks99: btw the css trick is not working for me
theres something wrong w/ the css minify i think...
perhaps you have to clear the cache
i did, and it works the first time,
look @ the custom css i added on Admin: look & feel
aha
it *should* be working
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
i just check to see if tiki-calendar is mid
and if so, i set the box-calendar display:none
yes
i think it has to do with the templates or css being cached?
yeh
you are probably right
the scc are cached
but the .tiki-calendar contexts will work
let me try 1 more thing...
my calendar module on my local with the parameters viewlist=table works fine
I should have not missed utp with the description
and if you go to tiki-calendar and change the view to list?
does the module stay in table?
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..