***: Caarrie|away is now known as Caarrie|sleeping
coaboa has joined #tikiwiki
coaboa_ has quit IRC (Ping timeout: 246 seconds)
lindonb has quit IRC (Quit: lindonb) Tiki|bot: New Forum Posts: menu Toggle Image problem - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41073 ***: chealer has quit IRC (Remote host closed the connection)
pkdille has joined #tikiwiki
pkdille has quit IRC (Remote host closed the connection)
Bernard1 has joined #tikiwiki
Caarrie has joined #tikiwiki
Caarrie|sleeping has quit IRC (Ping timeout: 250 seconds)
Wilkins has joined #tikiwiki
Bernard1 has quit IRC (Quit: Leaving.) Tiki|bot: Recent Bug: Tracker item: #3851 - - File gallery - not able to move back a gallery in root gallery - http://dev.tiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=3851 ***: JoernOtt has joined #tikiwiki JoernOtt: good morning coaboa: hi ***: Caarrie is now known as Caarrie|away
rodrigo_sampaio has joined #tikiwiki
jonnyb has joined #tikiwiki
ricks99 has joined #tikiwiki
kiilo has joined #tikiwiki
redflo has joined #tikiwiki
lphuberdeau has quit IRC (Ping timeout: 240 seconds) -: jonnyb is happy another 6.x upgrade seemed to go smoothly ***: ricks99 is now known as ricks99|away
RavenC has joined #tikiwiki
radek82 has joined #tikiwiki
radek82 has quit IRC (Client Quit)
RobertPlummer has joined #tikiwiki RobertPlummer: jonnyb: I'm back to make get this thing working! jonnyb: resistance is futile... RobertPlummer: lol jonnyb: did you see the google link i sent? looks like you make an iframe and post a form into that RobertPlummer: Ah, very intersting.
I did look at the link, but just saw the different plugins offered. CIA-126: tikiwiki: 03marclaporte * r33980 10/trunk/doc/stable.version: [REL] new version ***: jeff3558 has joined #tikiwiki jeff3558: My tiki is having problems this morning, when trying to access any page I get an error saying "An error occured in a database query!" I had an issue like this before and it turned out to be a permisssions problem in the /var/lib/mysql/tikiwiki directory. Anyone have a few minutes to check these with me? rodrigo_sampaio: hi jeff3558 jeff3558: hello rodrigo_sampaio: jeff3558: have you checked if you are havin the same problem again? any idea what happen to change the permission of /var/lib/mysql/tikiwiki directory the first time? jeff3558: the first time it was moving the tiki to a new install of fedora, it was an idiot problem ;)
today it has just stopped working, nothing that I know of has been changed
been fine for over 1 year ricks99|away: @jeff3558: are you on a shared host? did you host provider upgrade mysql or php? jeff3558: no no, the machine is mine, it is running in a VM on our server in house ricks99|away: ok. not sure jeff3558: that seems to be all i can come up with by searching, but I have not upgraded the MySql ***: ricks99|away is now known as ricks99 jeff3558: if my memory serves me right the permissions on all files in the data directory were rw- rw- r-- mysql mysql (I am obviously not a unix person) and that is still the case is this correct? rodrigo_sampaio: jeff3558: can you check mysql log to see which query is failing? ***: lphuberdeau has joined #tikiwiki rodrigo_sampaio: jeff3558: from your description I don't expect your problem to be related with mysql permissions sylvieg: perhaps you need to repair a table? check in phpmyadmin ***: ricks99 has quit IRC (Remote host closed the connection) sylvieg: why do we have lib/core/Zend/ and lib/core/lib/Zend ? ***: redflo has left rodrigo_sampaio: hi RobertPlummer RobertPlummer: rodrigo_sampaio: polom rodrigo_sampaio: RobertPlummer: I just send you an email about i18n :) RobertPlummer: Got it,
thanks!
I must have just let it slip....
I will convert those over to php files, and throw them into a tr() rodrigo_sampaio: RobertPlummer: thank you!
RobertPlummer: let me know if you need any help RobertPlummer: ok
thanks rodrigo_sampaio: sylvieg: in theory we don't have lib/core/lib/Zend anymore
sylvieg: I moved all files from lib/core/lib/ to lib/core a few months ago
sylvieg: I think it was before 6.0 jeff3558: rodrigo and sylvie thanks was afk for a bit, I'll check repairing a table, sylvieg: ahah thx rodrigo_sampaio.. the svn up was not deleting it rodrigo_sampaio: sylvieg: welcome jonnyb: rodrigo_sampaio: (hi!) i have a conflict on lang/pt-br/language.php in trunk - use the trunk version?
going for it... CIA-126: tikiwiki: 03jonnybradley * r33981 10/trunk/ (24 files in 11 dirs): [MRG] Automatic merge, branches/7.x 33946 to 33979 ***: dthacker_ has joined #tikiwiki
dthacker has quit IRC (Ping timeout: 246 seconds)
Wilkins has quit IRC (Ping timeout: 260 seconds) CIA-126: tikiwiki: 03jonnybradley * r33982 10/branches/7.x/lib/wiki-plugins/wikiplugin_trackerfilter.php: [FIX] trackerfilter: notice rodrigo_sampaio: hi jonnyb
jonnyb: a conflict in pt-br/language.php or fr/language.php. your commit only changed the French file. jonnyb: hi rodrigo_sampaio
pt-br had a conflict so i kept trunk as it was
fr got some changes merged into it rodrigo_sampaio: jonnyb: ok, I'm going to check it. but in theory for all language files there should be changes only on trunk. jonnyb: that's what i thought - all your changes seem to go into trunk first i tohught ***: Bernard1 has joined #tikiwiki
Bernard1 has quit IRC (Client Quit)
Bernard1 has joined #tikiwiki
ricks99 has joined #tikiwiki
GillesMM has joined #tikiwiki CIA-126: tikiwiki: 03jonnybradley * r33983 10/branches/7.x/lib/trackers/trackerlib.php: [FIX] trackers: notice (assumption at this stage that showlinks and list_mode can be considered as 'n')
tikiwiki: 03jonnybradley * r33984 10/branches/7.x/lib/core/Tracker/Field/ItemLink.php: [FIX] trackers: ItemLink - show values when not a link (getOption(2) set) jeff3558: sylvie repairing with mysqlcheck fixed my problem thanks for the help ***: chealer has joined #tikiwiki
chealer has quit IRC (Changing host)
chealer has joined #tikiwiki CIA-126: tikiwiki: 03jonnybradley * r33985 10/branches/7.x/templates/categobjects.tpl: [FIX] categories: Don't use $title smarty var as it ends up as being used for the browser title RobertPlummer: jonnyb: I've looked at it a little closer, looks like I can just use tiki-list_file_gallery.php to do it with a little modding.
The function that updates is filegallib->replace_file()
lphuberdeau: helped me find it jonnyb: i thought we looked at that one yesterday - it's very specific to $_FILES in the request isn't it? RobertPlummer: No
that is _actionHandler_uploadFile, it does jonnyb: oh right, yes - which in turn calls replace_file() RobertPlummer: yes, but only after it has checked $_FILES jonnyb: does replace_file deal with history etc? RobertPlummer: I don't think so
Oh yes, it does
line 927 archives older file jonnyb: goodo ***: ricks99 has quit IRC (Remote host closed the connection) chealer: polom RobertPlummer: polom chealer
I haven't had a change to make those updates yet, client troubles, but I will look at possibly doing it tonight. ***: JoernOtt has quit IRC (Ping timeout: 240 seconds) chealer: hi RobertPlummer. thanks RobertPlummer: np chealer chealer: rabbitvcs troubles? RobertPlummer: lol
No, payment processing + Tiki ;) ***: nkoth has joined #tikiwiki chealer: RobertPlummer: ah, these clients :-) ***: Bernard1 has quit IRC (Quit: Leaving.)
Bernard1 has joined #tikiwiki RobertPlummer: chealer, how do I use php file get contents, and maintain the user context of the user I'm loggen in as? ***: RavenC has quit IRC (Quit: ~ Trillian Astra - www.trillian.im ~) chealer: RobertPlummer: hum, I don't understand. what are you doing... RobertPlummer: I need to download a file so that I can load it into svg-edit.
I was using $().load(), but it is problematic, and I need to do it at the server. chealer: RobertPlummer: you want to store to upload an SVG file to Tiki? RobertPlummer: More or less.
I need the file into a js variable. chealer: RobertPlummer: so you have an SVG file in Tiki, you're in PHP, and you want to output that file to JavaScript? RobertPlummer: yes
lol
svg is all javascript based
Authentication is php, as well as file download and save.
What do you think?
I don't want a bunch od duplicate code everywhere chealer: RobertPlummer: I'm not sure I get your question still, by php file get contents you're talking about the PHP function? RobertPlummer: I think we should have for each "lib" a "user_has_access" function or something of the like, there is just so much duplicate code to check for permissons.
Yes, that is right chealer: RobertPlummer: so your question is how to check permissions, or what? RobertPlummer: I'm tyring to download a file so that I can get it into the page tiki-edit_draw.php.
After the page loads, I need the file in a javascript variable, what is that best way to accomplish that? jonnyb: RobertPlummer: do they get very big, svg files?
cos you could just write it into a js variable with $headerlib RobertPlummer: Not to big, as big as svg-edit can handle.
Right, but I don't want to violate any permissions. jonnyb: json_encode(filecontents($file)) sort of thing RobertPlummer: jonnyb, So if I do that, how do I check file permissions? jonnyb: is there a filegallib function suitable? RobertPlummer: I think the closest thing is get_file_info
But I don't see any permissions checking. chealer: RobertPlummer: so the SVG file we're talking about is in the file galleries RobertPlummer: That is correct.
I know it is easy enough to use the function I just don't want to violate any permissions. jonnyb: what was wrong with $().load() ? RobertPlummer: It doesn't always work for some strange reason. jonnyb: i've usually used $.get() with type='html'
or text in this case RobertPlummer: I think that perhaps svg-edit isn't loaded yet, I think I know what the issue is.
too many iframes
1
I hate iframes jonnyb: in svg-edit?
you don't need an iframe to do a get i'd have thought ***: chealer has quit IRC (Quit: Konversation terminated!)
chealer has joined #tikiwiki
kiilo has left RobertPlummer: No it is the svg-edit toolkit
It is.... a little..... not well thought out I think. jonnyb: i thought i smelt one
"delivers value" though! :) RobertPlummer: They are stinky
yes yes yes jonnyb: can you delay the init of it in a setTimeout for instance?
so that all your stuff has loaded RobertPlummer: setTimeout is no good, latency can be longer than that. jonnyb: setTimeouts are stinky too (for this kind of thing) RobertPlummer: $(iframe).load(function() {}); is all I needed I think,
So anybody, before I make the changes.... in tiki-list_file_gallery.php, on line 395+, I don't see $info being set, yet we are updating a file with it. jonnyb: or .ready maybe (or is that document only?) RobertPlummer: http://api.jquery.com/load-event/
Can I go ahead and set $info by calling $info = $filegallib->get_file_info( $_REQUEST['fileId'] );? jonnyb: seems sensible RobertPlummer: The problem is that I can update a picture, and it drops description and name if I don't set them. jonnyb: but will it get set again further down? RobertPlummer: No it wipes it. jonnyb: that's not great RobertPlummer: And then I can't do anything with the pic after it has been updated.
It is just a blank file. jonnyb: nice RobertPlummer: data is set, but that is all
yea, funny stuff. jonnyb: i have to go and eat - maybe be back later
have fun! :) chealer: RobertPlummer: I hope jonnyb helped you, I still don't understand your question much but I don't know JavaScript much neither anyway. RobertPlummer: lol chealer: RobertPlummer: for $info, it's conditionally set earlier, lines 107, 224, 286 and 333 CIA-126: tikiwiki: 03pkdille * r33986 10/branches/7.x/styles/layout/design.css: Code quality - only one style definition per line (seen on quality.tiki.org)
tikiwiki: 03pkdille * r33987 10/branches/7.x/styles/ohia.css: Code quality - de-duplicate a class definition (seen on quality.tiki.org) ***: Bernard1 has quit IRC (Quit: Leaving.)
Bernard1 has joined #tikiwiki
jonnyb has quit IRC (Quit: I am going outside... I may be some time...)
nkoth has quit IRC (Quit: nkoth) CIA-126: tikiwiki: 03pkdille * r33988 10/trunk/lib/core/Multilingual/Aligner/SentenceAlignments.php: No changes - indenting file only RobertPlummer: Tiki draw milestone met for 7, woohoo! CIA-126: tikiwiki: 03robertplummer * r33989 10/branches/7.x/ (3 files in 2 dirs): [FIX] A bunch of fixes for draw, we can now view, edit, and save reliably. ***: Bernard1 has quit IRC (Quit: Leaving.)
Caarrie|away has quit IRC (Ping timeout: 258 seconds)
Caarrie has joined #tikiwiki
Caarrie is now known as Caarrie|away
RobertPlummer has quit IRC (Ping timeout: 252 seconds)
jeff3558 has quit IRC (Quit: Page closed)
nkoth has joined #tikiwiki
Drifter_ has joined #tikiwiki Drifter_: !help Tiki|bot: You can get a more complete list of commands that work with this bot at http://tiki.org/TikiBot . ***: rodrigo_sampaio has quit IRC (Ping timeout: 260 seconds)
Drifter_ has quit IRC (Quit: Page closed) sylvieg: in trunk .. whuy an admin does not have tiki_p_admin_modules
i cleared the cache.. chealer: sylvieg: someone with tiki_p_admin doesn't have tiki_p_admin_modules?