tikiwiki: 03marclaporte * r36507 10/trunk/doc/devtools/securitycheck.php: cosmetic fix tikiwiki: 03marclaporte * r36508 10/trunk/doc/devtools/ (prefreport.php securitycheck.php): doc for devs tikiwiki: 03chealer * r36509 10/trunk/ (6 files in 6 dirs): [REF] rename lastUpdatePrefs fake preference to "versionOfPreferencesCache" tikiwiki: 03chealer * r36510 10/trunk/lib/ (setup/prefs.php tikilib.php): tikiwiki: [REF] get rid of the lastReadingPrefs fake preference. lastReadingPrefs and lastUpdatePrefs and now replaced by versionOfPreferencesCaches tikiwiki: initialize_prefs(): try to explain algorithm, better tikiwiki: 03nkoth * r36511 10/trunk/lib/wiki-plugins/wikiplugin_customsearch.php: [ENH] Show spinner when search results are still loading tikiwiki: 03chealer * r36512 10/trunk/ (3 files in 3 dirs): [REF] remove definitions of need_reload_prefs session variable, which presumably didn't work as need_reload_prefs is always defined in initialize_prefs() before being used tikiwiki: 03chealer * r36513 10/trunk/lib/setup/prefs.php: [REF] initialize_prefs(): remove outdated comments Good morning morning guys tikiwiki: 03chealer * r36514 10/trunk/tiki-login.php: [REF] remove useless assignment 'ello lphuberdeau lphuberdeau, When you are designing apps. And there's a "built in" data access layer (in PHP I think that would be PDO) are you using that as your data layer or do you write your own "wrapper" to PDO and use that as a datalayer? lphuberdeau, an example would be; if you create an object factory (the pattern) would you use PDO directly in the object factory, or write your own DB class that you use in the object factory? polom hey changi :) polom polom chibaguy hi Merbster pol and also om howdy jonnyb hi chibaguy - how's things? oh, things are fine. tikiwiki: 03jonnybradley * r36515 10/trunk/lib/prefslib.php: [FIX] prefs: "Too many wrenches" (thanks mlaporte) an extra spanner in the works :P an extra spanner? chibaguy, ? Merbster, sorry, wasn't paying attention. Spanner is british english for wrench, and I understand "put a spanner in the works" means to cause trouble. hahahaha ok chibaguy John Lennon wrote a nice book called "A Spaniard In The Works" jonnyb, what was it about? nonsense mainly, poetry etc (good though) on an entirely different note; I managed to get xDebug working remote, but I simply cannot get it wokring with my localhost CLI php scripts :S Merbster: cool - i think i had xdebug working sort of with CLI scripts before and was thinking i should try that again (but haven't) I managed to get it working remotely with web PHP. not CLI :P But according to Xdebug docs it's possible ricks99, why do you have oracle.com in your hostname? 'cause i'm doing work via vpn ricks99, is oracle your employer? mostly, yup ricks99, showoff ;) still working on a way to have tiki work pay 100% of my bills :) ricks99, hehehe. :P I wish you luck :D one day... maybe... gotta figure out a way to sell 1,000 x copies of "Smarites" :P huh? you mean you didn't find the screenshots of the Admin pages "sexy"? only in the broadest sense of the word ;-) ricks99, do you offer hosting services for tiki sites, like as a reseller? no. mostly consulting, fixing, training, themeing, etc. smaller jobs really ricks99, are you the author of the book? Tiki for Smarties yup. and tiki essentials oh, ok. I offered to host a couple of sites for my brother in law (who's having problems with the guy doing it now) so got a reseller account to give it a try, and was wondering if you'd tried that or not. Would love to know how that works out for you Hopefully, it'll go smoothly, and means a couple of joomla to tiki migrations. ;-) yeah, I'll let you know. if I have a file that contains a single variable. and I want to use that variable inside a static function how would I do that? the static function is in another file than the one containing the value ofcourse I have to do an include but PHP keeps telling me the variable is undef does includes have their own variable scop? so I have to do global $varName after the include? scope* apparantly yes. y, need global it will only be global inside my function scope right ricks99 ? beleive so, yes Does tikiwiki use X-formation? Merbster: what is x-formation? (i'd guess that mean no, i've not seen it in tiki) jonnyb, there's a mysterious user in my mysql database called X-formation tikiwiki: 03jonnybradley * r36516 10/trunk/lib/core/TikiConnect.php: [FIX] connect: set_lastUpdatePrefs has been renamed to invalidateModifiedPreferencesCaches a tiki user? (i guess that's a valid username) not a tiki user a mysql user it has no perms though or privileges* looks like it's from http://www.x-formation.com jonnyb, I found out. :P nevermind np lunchtime tikiwiki: 03jonnybradley * r36517 10/trunk/lib/captcha/captchalib.php: [ENH] captcha: Make it possible to create a captcha of any type, independent of prefs, and return the captcha id from the generate function (should make no difference to existing code) tikiwiki: 03jonnybradley * r36518 10/trunk/lib/ (4 files in 4 dirs): [MOD] connect: Implement simple captcha when signing up for tiki connect (more to do - debug code & comments to be cleaned out later) off now - more on Monday, have good weekends all Hallo Jemand der Deutsch kann hier :D hmmm schade :( polom all I'm wondering if perhaps you guys would mind me using tiki ajax services for things like toolbars and the wrench menu in file galleries. tikiwiki: 03chealer * r36519 10/trunk/lib/prefslib.php: [FIX] rename lastUpdatePrefs fake preference to "versionOfPreferencesCache" (forgotten in r36509) This seems like it would both fix the problem and refactor the code to be less intrusive. hello tiki, hopefully an easy question . . . . do individual files (in filegals) have object permissions? I have been quite fuzzy on this but think no. chealer, what do you think of migrating the above over to ajax rather than how it is now? tikiwiki: 03chealer * r36520 10/trunk/lib/ (prefslib.php tikilib.php): [REF] getModifiedPreferences(): warn that now2 methods with the same name exist in tikilib and prefslib RobertPlummer: sorry, I hardly know AJAX I am just looking at line 1741+ in toolbarslib.php and it looks freakishly put together. getWikiHtml I was thinking of using jQuery rather than the method they use there. The thing is that this is breaking with sheets now and I have no idea where to start, and not sure anyone else knows either. chealer, looks like a big pill, I think I'm going to fix rather than rewrite. tikiwiki: 03changi67 * r36521 10/trunk/tiki-edit_invoice.php: Avoid function calls in a FOR loop test part Hello. Fresh install, getting an Apache error... can't find any real info toward a solution: http://pastebin.com/Ex97bcjb AldenisZen: What version of Tiki? RobertPlummer, 7.1 AldenisZen: What type of server? tikiwiki: 03changi67 * r36522 10/trunk/lib/ (3 files in 2 dirs): Avoid function calls in a FOR loop test part in testing 7 (this applies to 6 and 5 as well) my conclusion is that we have a UI for assigning object permissions to filegal files that actually does nothing of the sort - it assigns object perms to the filegal. Am i wrong? RobertPlummer, not sure the question... I used "shared hosting" from hostgator.com AldenisZen: It is a windows server or linux? Sounds like linux (I use hostgator, love them) AldenisZen: I encourage you to ask the guys at hostgator, it is probably a configuration on the server, sometimes you get funny errors in hosted environments. They are generally VERY helpful. IE, it looks like an issue with the apache install and the mods turned on to run within it. AldenisZen: But I am newer to apache (2 years) tikiwiki: 03changi67 * r36523 10/trunk/ (3 files): Avoid unused parameters Thanks RobertPlummer - Centos I think. AldenisZen: Yea, those guys are really amazing, they love linux! Well, so far I really like them. Quick question, can I confirm it is not a htaccess issue by simply deleteing that file? I.E., there would be no restrictions? Someone suggested it might be that, but I used the file that came with Tikiwiki, so I doubt it. AldenisZen: Not sure I understand your question. Oh, right If I have a blank htaccess file, then there are no restrictions and it is not related to that, correct? htaccess, try renaming it first, and see what happens. right blank is fine, that is apache that uses that. I hate to assume. That is what I assumed. I don't need to do anything more than upload it do I, or do I need to reset Apache somehow? :) tikiwiki: 03changi67 * r36524 10/trunk/tiki_tests/tiki-tests_list.php: Unknow No, apache shouldn't need to be restarted, but I guess it won't hurt. Not sure how to restart it via shared hosting.. lol tikiwiki: 03robertplummer * r36525 10/trunk/ (2 files in 2 dirs): tikiwiki: [FIX] File ref named wrong in toolbar tikiwiki: [FIX] Smarty comment tikiwiki: 03robertplummer * r36526 10/trunk/templates/tiki-edit_help_sheet_interface.tpl: [FIX] Re-added translation, removed for testing tikiwiki: 03changi67 * r36527 10/trunk/lib/core/Tracker/Field/Rating.php: Avoid function calls in a FOR loop test part tikiwiki: 03changi67 * r36528 10/trunk/tiki-adminusers.php: Avoid unused parameters Aloha chealer, changi, RobertPlummer ! Merbster! Sorry I craved attention. :P We all have our moments. tikiwiki: 03chealer * r36529 10/trunk/templates/wiki-plugins/wikiplugin_bigbluebutton.tpl: [FIX] HTML special characters encoding. untested tikiwiki: 03chealer * r36530 10/trunk/ (3 files in 2 dirs): [REF] rename bbb_name to bbb_meeting as much as possible, to distinguish from $_POST['bbb_name'] (untested) tikiwiki: 03robertplummer * r36531 10/trunk/templates/ (fgal_context_menu.tpl list_file_gallery_content.tpl): [FIX] Set the smarty var "changes" from one include to another, it was being lossed, probably a smarty bug, file gal menus are back now. menus are back in file gal, WOOHOO! chealer, it was not even a line of code, GRRR! smarty 3 = TOUCHY! tikiwiki: 03changi67 * r36532 10/trunk/lib/metrics/metricslib.php: [FIX] Wrong variable tikiwiki: 03changi67 * r36533 10/trunk/lib/test/language/GetStringsTest.php: Wrong obj tikiwiki: 03changi67 * r36534 10/trunk/lib/ (11 files in 6 dirs): Avoid unused parameters RobertPlummer: hum... I think that reminds me a Smarty 3 change, yes RobertPlummer: yeah, see "Scope of Special Smarty Variables" in SMARTY2_BC_NOTES ok So what I did = good? Correct? polom hi Merbster hi Jyhem and amette tikiwiki: 03robertplummer * r36535 10/trunk/templates/fgal_context_menu.tpl: tikiwiki: [NEW] Added display for just open text documents (ie, we will probably need to handle spreadsheets and presentations). tikiwiki: [FIX] For svg images, I had "merged" just before I uploaded because of some changes there, but forgot to add $changes. Easy fix. New Forum Posts: Tracker field: Date & time - blank - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=42107 hey fabricius did you get my latest mail? RobertPlummer: seems OK ("In the rare case you need these values in a subtemplate, you have to pass them as parameters.") Does any of you guys use netbeans for development? RobertPlummer: did you really mean the "{$files|@debug_print_var}" Merbster: jonnyb does lol no, still working on it. (last time anyway) I am having trouble finding where to setup the new line characters I read somewhere it's important to use \LF isntead of \CR \LF (or whatever their signs are) if a is defined in a translation file. is it on purpose that the tag is not close again? (with $api_tiki='adodb'; -> can anybody tell me the equivalent for pdo? Maybe the same with pdo instead of adodb (I am not sure) fabricius, perspectivehack uses PDO and nothing else settings of tiki will not affect it Merbster: I did send you an e-mail with the pdo settings on my host fabricius, do you see:  anywhere in the file? Iĺl check, mom no what editor are you using? gedit hmmm did search should I try vim? yes I am using gvim kk,mom for windows yes gvim fabricius, what do you mean by "mom" ? :P moment lol please give me or please wait - a moment gvim not found  fabricius, on linux it's probably just vim or vi but it can be a bit unwieldy :P ubuntu / gnome -> gvim fabricius, I don't follow? I did search for  in the file tiki-category_nail.php with gvim on my ubuntu-gnome-gnuisnotlinux desktop and gvim did not find  fabricius, does your file contain any weird isolates chars? because the file I recieved from you do. does* how can I identify weird isolated characters? look with your eyes :P they are on their own line in the file I have here grrrr - ok, mom it's not tiki-setup not spaces, but characters? but nail_category or whatevr you called it it migjht show as spaces, depending on your OS' charset aha it's only the first char of empty lines in the file I have here Merbster: it seems, that you are focussing the right track - and I have an idea what happened Merbster: give me a few minutes please about 5 sure I am watching danish comedy with my girlfriend so no ruish uhhh -> Parse error: syntax error, unexpected '}' in /www/htdocs/w00d75b2/fabricius-website/TIKI71test/tiki-7-1-test/tiki-category_nail.php on line 70 line 70 is the last } fabricius, I think it will be easier if I send you the file directly (the working one I have) yes, that would be te besth the best fabricius, you will recieve an email soon I just need to boot up the company laptop ok thx I wonder, whay I cannot see the chars Merbster: do you think, I did the rest of the setup all right? yes ok, cool polom bolow fabricius, you got mail wolob jyhem fabricius, you got mail argh allready wrote it sorry I am tired nope, I didn't recieve yet relly it will come from company email really to fabricius.me ? yes I check the spamfilter - mom ah now remember to setup the database settings in the file as well uhaaaa no errormessage atleast you r a wizard man line 47 ?? db setup yes so you are going around tiki direct into the db yes only reading though tikiwiki: 03changi67 * r36537 10/trunk/lib/filegals/filegallib.php: Avoid unused parameters nkoth helped me write the code cool I need about two or three minutes to know if it works but lloks fine mom looks tikiwiki: 03changi67 * r36538 10/trunk/xmlrpc.php: [FIX] Wrong variable fabricius, is it working? I think - not - 1 minute No itś not working did you categorize the pages you are testing= yes that's why I see, that it is not working pages are staying in the default perspective, instead of switching tikiwiki: 03tikii18nbot * r36539 10/trunk/lang/ru/language.php: Russian translations done on i18n.tiki.org hi tiki ppl i need help i need help to find a theme heeeeeeellllllllllllllpppppppppppppppppppppppp i need help someone please talk to me now please i need help to find a specific template tikiwiki: 03changi67 * r36540 10/trunk/templates/blog_post_actions.tpl: [FIX] We don't need smarty plugin {wiki} for that. Guest56107: What seems to be the problem? i have a backup of my offile website i need to knwo what theme it was using In what form do you have the backup? mysql? website? everything Is the website accessible? msql and the root directory no its offline on my hard drive] Can you bring us mysql db? yes what can i copy paste or email you You have pypmyadmin? hes yes RobertPlummer, fabricius - HostGator said they needed to whitelist some of their "mod rules", whatever that means exactly. Anyhow, thank you both for all of your help! AldenisZen: I ran into the same exact issue, no prob. I am thinking of making either a forum post on their site, or blogging about it so that people who search hostgator and tikiwiki will be able to find a solution. AldenisZen: WOuldn't be a bad idea Guest56107: SELECT * FROM `tiki_preferences` WHERE ( `name` = 'style' ) AldenisZen: is your Tiki running now? yes still need to do some conmfigurting later configuring so HostGator did sort out the issues!? just wanted to know, if your sorted for the moment have to go now - massively tired