[00:19] *** kiilo has quit IRC (Ping timeout: 240 seconds) [01:19] *** Caarrie|away is now known as Caarrie|sleeping [02:07] *** coaboa has joined #tikiwiki [02:08] *** coaboa_ has quit IRC (Ping timeout: 246 seconds) [02:23] *** lindonb has quit IRC (Quit: lindonb) [02:59] New Forum Posts: menu Toggle Image problem - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41073 [04:37] *** chealer has quit IRC (Remote host closed the connection) [04:52] *** pkdille has joined #tikiwiki [05:04] *** pkdille has quit IRC (Remote host closed the connection) [06:37] *** Bernard1 has joined #tikiwiki [06:39] *** Caarrie has joined #tikiwiki [06:42] *** Caarrie|sleeping has quit IRC (Ping timeout: 250 seconds) [07:16] *** Wilkins has joined #tikiwiki [07:40] *** Bernard1 has quit IRC (Quit: Leaving.) [07:46] 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 [08:09] *** JoernOtt has joined #tikiwiki [08:10] good morning [08:15] hi [10:02] *** Caarrie is now known as Caarrie|away [10:23] *** rodrigo_sampaio has joined #tikiwiki [10:33] *** jonnyb has joined #tikiwiki [11:30] *** ricks99 has joined #tikiwiki [12:12] *** kiilo has joined #tikiwiki [12:42] *** redflo has joined #tikiwiki [12:45] *** lphuberdeau has quit IRC (Ping timeout: 240 seconds) [12:55] * jonnyb is happy another 6.x upgrade seemed to go smoothly [13:01] *** ricks99 is now known as ricks99|away [13:02] *** RavenC has joined #tikiwiki [13:08] *** radek82 has joined #tikiwiki [13:08] *** radek82 has quit IRC (Client Quit) [13:12] *** RobertPlummer has joined #tikiwiki [13:13] jonnyb: I'm back to make get this thing working! [13:13] resistance is futile... [13:14] lol [13:14] did you see the google link i sent? looks like you make an iframe and post a form into that [13:14] Ah, very intersting. [13:17] I did look at the link, but just saw the different plugins offered. [13:28] tikiwiki: 03marclaporte * r33980 10/trunk/doc/stable.version: [REL] new version [13:56] *** jeff3558 has joined #tikiwiki [14:05] 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? [14:05] hi jeff3558 [14:06] hello [14:06] 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? [14:07] the first time it was moving the tiki to a new install of fedora, it was an idiot problem ;) [14:07] today it has just stopped working, nothing that I know of has been changed [14:08] been fine for over 1 year [14:08] @jeff3558: are you on a shared host? did you host provider upgrade mysql or php? [14:09] no no, the machine is mine, it is running in a VM on our server in house [14:09] ok. not sure [14:10] that seems to be all i can come up with by searching, but I have not upgraded the MySql [14:13] *** ricks99|away is now known as ricks99 [14:15] 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? [14:53] jeff3558: can you check mysql log to see which query is failing? [14:54] *** lphuberdeau has joined #tikiwiki [14:54] jeff3558: from your description I don't expect your problem to be related with mysql permissions [14:55] perhaps you need to repair a table? check in phpmyadmin [15:13] *** ricks99 has quit IRC (Remote host closed the connection) [15:16] why do we have lib/core/Zend/ and lib/core/lib/Zend ? [15:16] *** redflo has left [15:17] hi RobertPlummer [15:17] rodrigo_sampaio: polom [15:17] RobertPlummer: I just send you an email about i18n :) [15:18] Got it, [15:18] thanks! [15:18] I must have just let it slip.... [15:18] I will convert those over to php files, and throw them into a tr() [15:18] RobertPlummer: thank you! [15:19] RobertPlummer: let me know if you need any help [15:19] ok [15:19] thanks [15:20] sylvieg: in theory we don't have lib/core/lib/Zend anymore [15:21] sylvieg: I moved all files from lib/core/lib/ to lib/core a few months ago [15:22] sylvieg: I think it was before 6.0 [15:22] rodrigo and sylvie thanks was afk for a bit, I'll check repairing a table, [15:28] ahah thx rodrigo_sampaio.. the svn up was not deleting it [15:49] sylvieg: welcome [16:13] rodrigo_sampaio: (hi!) i have a conflict on lang/pt-br/language.php in trunk - use the trunk version? [16:16] going for it... [16:16] tikiwiki: 03jonnybradley * r33981 10/trunk/ (24 files in 11 dirs): [MRG] Automatic merge, branches/7.x 33946 to 33979 [16:19] *** dthacker_ has joined #tikiwiki [16:19] *** dthacker has quit IRC (Ping timeout: 246 seconds) [16:31] *** Wilkins has quit IRC (Ping timeout: 260 seconds) [16:34] tikiwiki: 03jonnybradley * r33982 10/branches/7.x/lib/wiki-plugins/wikiplugin_trackerfilter.php: [FIX] trackerfilter: notice [16:36] hi jonnyb [16:36] jonnyb: a conflict in pt-br/language.php or fr/language.php. your commit only changed the French file. [16:36] hi rodrigo_sampaio [16:37] pt-br had a conflict so i kept trunk as it was [16:37] fr got some changes merged into it [16:38] jonnyb: ok, I'm going to check it. but in theory for all language files there should be changes only on trunk. [16:41] that's what i thought - all your changes seem to go into trunk first i tohught [16:41] *** Bernard1 has joined #tikiwiki [16:43] *** Bernard1 has quit IRC (Client Quit) [16:44] *** Bernard1 has joined #tikiwiki [16:45] *** ricks99 has joined #tikiwiki [16:58] *** GillesMM has joined #tikiwiki [17:08] 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') [17:10] 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) [17:27] sylvie repairing with mysqlcheck fixed my problem thanks for the help [17:30] *** chealer has joined #tikiwiki [17:30] *** chealer has quit IRC (Changing host) [17:30] *** chealer has joined #tikiwiki [17:36] 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 [17:50] 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. [17:51] The function that updates is filegallib->replace_file() [17:51] lphuberdeau: helped me find it [17:52] i thought we looked at that one yesterday - it's very specific to $_FILES in the request isn't it? [17:53] No [17:55] that is _actionHandler_uploadFile, it does [17:55] oh right, yes - which in turn calls replace_file() [17:56] yes, but only after it has checked $_FILES [17:56] does replace_file deal with history etc? [17:56] I don't think so [17:57] Oh yes, it does [17:57] line 927 archives older file [17:58] goodo [18:01] *** ricks99 has quit IRC (Remote host closed the connection) [18:08] polom [18:08] polom chealer [18:08] I haven't had a change to make those updates yet, client troubles, but I will look at possibly doing it tonight. [18:17] *** JoernOtt has quit IRC (Ping timeout: 240 seconds) [18:19] hi RobertPlummer. thanks [18:19] np chealer [18:19] rabbitvcs troubles? [18:20] lol [18:20] No, payment processing + Tiki ;) [18:20] *** nkoth has joined #tikiwiki [18:20] RobertPlummer: ah, these clients :-) [18:29] *** Bernard1 has quit IRC (Quit: Leaving.) [18:30] *** Bernard1 has joined #tikiwiki [19:01] chealer, how do I use php file get contents, and maintain the user context of the user I'm loggen in as? [19:02] *** RavenC has quit IRC (Quit: ~ Trillian Astra - www.trillian.im ~) [19:06] RobertPlummer: hum, I don't understand. what are you doing... [19:07] I need to download a file so that I can load it into svg-edit. [19:07] I was using $().load(), but it is problematic, and I need to do it at the server. [19:08] RobertPlummer: you want to store to upload an SVG file to Tiki? [19:08] More or less. [19:08] I need the file into a js variable. [19:11] RobertPlummer: so you have an SVG file in Tiki, you're in PHP, and you want to output that file to JavaScript? [19:11] yes [19:11] lol [19:11] svg is all javascript based [19:11] Authentication is php, as well as file download and save. [19:11] What do you think? [19:12] I don't want a bunch od duplicate code everywhere [19:13] RobertPlummer: I'm not sure I get your question still, by php file get contents you're talking about the PHP function? [19:13] 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. [19:13] Yes, that is right [19:13] RobertPlummer: so your question is how to check permissions, or what? [19:14] I'm tyring to download a file so that I can get it into the page tiki-edit_draw.php. [19:15] After the page loads, I need the file in a javascript variable, what is that best way to accomplish that? [19:15] RobertPlummer: do they get very big, svg files? [19:16] cos you could just write it into a js variable with $headerlib [19:16] Not to big, as big as svg-edit can handle. [19:16] Right, but I don't want to violate any permissions. [19:16] json_encode(filecontents($file)) sort of thing [19:17] jonnyb, So if I do that, how do I check file permissions? [19:17] is there a filegallib function suitable? [19:18] I think the closest thing is get_file_info [19:18] But I don't see any permissions checking. [19:18] RobertPlummer: so the SVG file we're talking about is in the file galleries [19:18] That is correct. [19:20] I know it is easy enough to use the function I just don't want to violate any permissions. [19:21] what was wrong with $().load() ? [19:23] It doesn't always work for some strange reason. [19:23] i've usually used $.get() with type='html' [19:23] or text in this case [19:25] I think that perhaps svg-edit isn't loaded yet, I think I know what the issue is. [19:25] too many iframes [19:25] 1 [19:25] I hate iframes [19:26] in svg-edit? [19:26] you don't need an iframe to do a get i'd have thought [19:28] *** chealer has quit IRC (Quit: Konversation terminated!) [19:28] *** chealer has joined #tikiwiki [19:36] *** kiilo has left [19:37] No it is the svg-edit toolkit [19:37] It is.... a little..... not well thought out I think. [19:37] i thought i smelt one [19:37] "delivers value" though! :) [19:37] They are stinky [19:37] yes yes yes [19:38] can you delay the init of it in a setTimeout for instance? [19:38] so that all your stuff has loaded [19:38] setTimeout is no good, latency can be longer than that. [19:38] setTimeouts are stinky too (for this kind of thing) [19:39] $(iframe).load(function() {}); is all I needed I think, [19:39] 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. [19:39] or .ready maybe (or is that document only?) [19:39] http://api.jquery.com/load-event/ [19:40] Can I go ahead and set $info by calling $info = $filegallib->get_file_info( $_REQUEST['fileId'] );? [19:40] seems sensible [19:41] The problem is that I can update a picture, and it drops description and name if I don't set them. [19:41] but will it get set again further down? [19:41] No it wipes it. [19:41] that's not great [19:41] And then I can't do anything with the pic after it has been updated. [19:42] It is just a blank file. [19:42] nice [19:42] data is set, but that is all [19:42] yea, funny stuff. [19:42] i have to go and eat - maybe be back later [19:42] have fun! :) [19:46] RobertPlummer: I hope jonnyb helped you, I still don't understand your question much but I don't know JavaScript much neither anyway. [19:47] lol [19:47] RobertPlummer: for $info, it's conditionally set earlier, lines 107, 224, 286 and 333 [19:56] tikiwiki: 03pkdille * r33986 10/branches/7.x/styles/layout/design.css: Code quality - only one style definition per line (seen on quality.tiki.org) [19:57] tikiwiki: 03pkdille * r33987 10/branches/7.x/styles/ohia.css: Code quality - de-duplicate a class definition (seen on quality.tiki.org) [20:44] *** Bernard1 has quit IRC (Quit: Leaving.) [20:46] *** Bernard1 has joined #tikiwiki [20:50] *** jonnyb has quit IRC (Quit: I am going outside... I may be some time...) [20:53] *** nkoth has quit IRC (Quit: nkoth) [20:57] tikiwiki: 03pkdille * r33988 10/trunk/lib/core/Multilingual/Aligner/SentenceAlignments.php: No changes - indenting file only [21:20] Tiki draw milestone met for 7, woohoo! [21:20] 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. [21:26] *** Bernard1 has quit IRC (Quit: Leaving.) [21:29] *** Caarrie|away has quit IRC (Ping timeout: 258 seconds) [21:29] *** Caarrie has joined #tikiwiki [21:31] *** Caarrie is now known as Caarrie|away [21:31] *** RobertPlummer has quit IRC (Ping timeout: 252 seconds) [21:32] *** jeff3558 has quit IRC (Quit: Page closed) [22:00] *** nkoth has joined #tikiwiki [22:34] *** Drifter_ has joined #tikiwiki [22:36] !help [22:36] You can get a more complete list of commands that work with this bot at http://tiki.org/TikiBot . [22:54] *** rodrigo_sampaio has quit IRC (Ping timeout: 260 seconds) [23:18] *** Drifter_ has quit IRC (Quit: Page closed) [23:23] in trunk .. whuy an admin does not have tiki_p_admin_modules [23:23] i cleared the cache.. [23:54] sylvieg: someone with tiki_p_admin doesn't have tiki_p_admin_modules?