Tiki-KGB: 03lindonb r62395 10trunk/lib/smarty_tiki/modifier.escape.php * add attr smarty escape option, which applies zend's escapeHtmlAttr() method fabricius: joined #tikiwiki Tiki-KGB: 03lindonb r62396 10trunk/lib/smarty_tiki/modifier.escape.php * also escape forward slash in smarty escape options html and htmlall chibaguy: joined #tikiwiki
polom
In branch 17, I'm trying to create a new group. I get an error: Unknown column 'groupColor' in 'field list'. Site is up to date; I ran sh.setup.sh and updated the db.
Any ideas?
There's no input for "group color" visible in the new-group form, btw. chibaguy_: joined #tikiwiki qwert: joined #tikiwiki Tiki|bot: Recent Bug: - http://dev.tiki.org/item6330 Bsfez: joined #tikiwiki jonnyb: joined #tikiwiki chibaguy_: Here's a problem: in my localhost branch 17, when I edit custom CSS in L&F page and submit, the page refreshes with no change made.
Kind of a new behavior.
I wonder why that would happen.
So I made a custom.css file instead, but can't delete the content of the custom CSS textarea.
But also in branch 17, I'm trying to create a new group. I get an error: Unknown column 'groupColor' in 'field list'. Site is up to date; I ran sh.setup.sh and updated the db.
Well, ok, after waiting a while, I submitted the L&F change and this time it took effect. jonnyb: joined #tikiwiki fabricius: joined #tikiwiki chibaguy_: joined #tikiwiki jonnyb: pompom chibaguy_: hi jonnyb jonnyb: chibaguy_: did you work out your L&F issie?
issue
hi :)
groupColor is a new database field for groups i think, updating the database should fix that chibaguy_: Hm, I did the database:update but still get the error. jonnyb: installer/schema/20170329_add_color_to_groups_tiki.sql is the schema update script
looks innocent enough to me, no funny business
is tehre an entry in the tiki_schema table for it? chibaguy_: Something related is that I used to be able to run composer update in a shell but now I get an error "can't find composor.json". So maybe I don't have the latest files.
(er, composer.json) jonnyb: yes, it got moved into vendor_bundled/vendor chibaguy_: oh, ok, I'll try there. jonnyb: i tihnk the page on dev got updated with the additional param chibaguy_: ah, it's in vendor_bundled. jonnyb: hmm, looks like https://dev.tiki.org/composer still has very mixed up info - you need to add the param "-d vendor_bundled" for 17+
but setup.sh should do it all for you chibaguy_: well, I tried setup.sh first and still get the database error when trying to create a group. jonnyb: setup.sh doesn't do the database update
you need to do php console.php d:u chibaguy_: yep, did that also.
anyway now, in vendor_bundled, I'm running composer update and then will try the database update again. jonnyb: so it must think that script ran - it it in your tiki_schema table? (i have it in mine here) chibaguy_: I'll check.
Yes, 20170329_add_color_to_groups_tiki is in the schema table.
But still, " Error
Unknown column 'groupColor' in 'field list'"
composer is still updating, if that could have any effect. jonnyb: so it ran but didn't make the new field - weird
was this a fresh install? chibaguy_: It was a fresh install when 17 was branched.
So has only been 17. jonnyb: aha, i have a feeling that it was missing from tiki.sql (i think i added it later)
yup, http://sourceforge.net/p/tikiwiki/code/62110 chibaguy_: I see. jonnyb: on the 6th april, so if you installed before that you'll need ot add it manually
ALTER TABLE `users_groups` ADD `groupColor` VARCHAR(20) NOT NULL DEFAULT '' AFTER `groupTheme`;
:) chibaguy_: Ok, great. Thanks very much. :-) jonnyb: lunch etc, bbl patrickproulx: joined #tikiwiki jonnyb: joined #tikiwiki montefuscolo: joined #tikiwiki fabricius: joined #tikiwiki montefuscolo: If I have two server running a Tiki site using the same data, which folders this servers should share?? uploads, cache, is there something more? nelsonko: joined #tikiwiki fabricius: montefuscolo: that sounds interesting
what you mean montefuscolo: one Tiki on two servers the same time? or two synced Tikis? montefuscolo: fabricius, two servers running tiki, using the same database
and answering the same web address jonnyb: polom
that sounds adventurous montefuscolo - i would be careful about sharing caches i think
generally i would move the database to a separate machine for performance, and then the (elastic) search to another i think before trying to have two tikis pretending to be one
the other option is to make one of them be a CDN just serving the static files - some of the tiki sites used to work like this a while ago so the code is in there (somewhere) Jyhem: polom jonnyb: pompom Jyhem Jyhem: I see Fabio montefuscolo wants load balancing? jonnyb: :) Tiki-KGB: 03montefuscolo r62397 10trunk/lib/jquery_tiki/tiki-jquery.js * [FIX] Fix string concat in javascript. Jyhem: It's strange that we don't seem to have a page on that
s/on/about fabricius: joined #tikiwiki patrickproulx: joined #tikiwiki Jyhem: montefuscolo: you would also need to share PHP sessions slyskawa: joined #tikiwiki montefuscolo: Jyhem, share sessions is very easy with memcached :)
thank jonnyb jonnyb: :) montefuscolo: Jyhem, I'm thinking in a high availability structure using small servers
DigitalOcean offers USD 5 dollars servers ... and extra volumes. If I can share volumes using NFS and manage servers using OpenNebula, I could sell a service of Tiki hosting Jyhem: the volume sharing would be for the file galleries storage? You might consider storing file gals in the database. montefuscolo: If in sometime a I get a lot of Tikis, I can duplicate a server Jyhem: I see no problem with caches on their own server. Tiki-KGB: 03chealer r62398 10trunk/lib/smarty_tiki/modifier.escape.php * [REF] Clarify html and htmlall kotten: joined #tikiwiki kotten_: joined #tikiwiki Telesight: joined #tikiwiki Tiki-KGB: 03jonnybradley r62399 10branches/17.x/lib/core/H5P/H5PTiki.php
[FIX] h5p: On upload the title is missing now from the h5p content array, so get it from the file gallery info
03jonnybradley r62400 10branches/17.x/ 10(53 files in 53 dirs) * [REL] update language files with get_strings.php patrickproulx: joined #tikiwiki Tiki-KGB: 03jonnybradley r62401 10(58 files in 58 dirs) * [MRG] Automatic merge, branches/17.x 62389 to 62400
03jonnybradley r62402 10branches/17.x/lang/en-uk/language.php
[TRA] en-uk: Comment out all untranslated strings - not sure why or when these got uncommented and i expect many other langs may also need this fix
I used this regex to search: ^"(.*)" => "1",
and this as the replacement: // "$1" => "$1",
Seems to have worked ok and should save some memory! Durgeoble: joined #tikiwiki
hi jonnyb: hi Durgeoble Tiki-KGB: 03jonnybradley r62403 10branches/17.x/templates/tiki-edit_perspective.tpl * [FIX] perspectives: Show the contents of array prefs in the perspectives list
03jonnybradley r62404 10branches/17.x/templates/layouts/basic/layout_view.tpl
[FIX] modules: Respect feature_right_column=n pref properly (the left one seemed to work already, curiously)
03jonnybradley r62405 10trunk/templates/tiki-edit_perspective.tpl 10trunk/lang/en-uk/language.php 10trunk/templates/layouts/basic/layout_view.tpl 10trunk * [MRG] Automatic merge, branches/17.x 62400 to 62404 Durgeoble: i see the tikiwiki is a powerful tool
but, menus and procedures, are like labirinth patrickproulx: joined #tikiwiki -: Durgeoble se va a dormir