goj_killedByISP: joined #tikiwiki Tiki|bot: New Forum Posts: Icon flexibility - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=48137 fcpd: joined #tikiwiki
tiki 10.2: I have a message Version 10.4 is still supported. However, a major upgrade to 10.4 is available. When I update it only updates 10.2. Is there something I am doing wrong or missing? Thanx
I click the Upgrade database and go unlock it as instructed. e: joined #tikiwiki Guest72770: hey all, I locked my site down for maintence.. when I go to log in it doesn't take me to my site I just get some lines of code about where it's trying to take me
It's totally inaccessable. any advice? Tiki|bot: joined #tikiwiki TomJarvis: joined #tikiwiki
Guest72770: Log in to phpmyadmin, select your Tiki database, and go to SQL and enter:
update `tiki_preferences` set `value` = 'n' where `name` = site_closed;
Oops, that should probably have been: ... where name = 'site_closed'; luciash_: joined #tikiwiki GillesMMM: joined #tikiwiki rinnan: joined #tikiwiki eliasp_: joined #tikiwiki SkiNut1: joined #tikiwiki eliasp: joined #tikiwiki Jyhem_laptop_: joined #tikiwiki Tiki|bot: joined #tikiwiki Jyhem_laptop_: joined #tikiwiki eliasp: joined #tikiwiki GillesMMM: joined #tikiwiki goj: joined #tikiwiki charlesb: joined #tikiwiki dcedilotte: joined #tikiwiki Tiki-KGB: joined #tikiwiki leagris: joined #tikiwiki pdxmaux: joined #tikiwiki brolin_empey: joined #tikiwiki amette: joined #tikiwiki Emenems: joined #tikiwiki MichaelC|Mobile: joined #tikiwiki DarkCalf: joined #tikiwiki Ludo-: joined #tikiwiki refizul: joined #tikiwiki Caarrie|sleeping: joined #tikiwiki Jyhem_: joined #tikiwiki sipherdee: joined #tikiwiki changi: joined #tikiwiki MichaelC1: joined #tikiwiki rinnan1: joined #tikiwiki luciash: joined #tikiwiki bubulle: joined #tikiwiki leagris: hello
When using a subdomain to serve static content like www.example.com with CDN cdn.example.com I get errors not allowed by security setting and icons are replaced by question marks.
How could I avoid this? I could not find an appropriate security setting or cdn setup to allow this.
Here is what I get:
<span class="icon error" title="Erreur : URI 'http://static.example.com/tiki/img/icons/house.png' not allowed by security setting">?</span> refizul: polom
leagris: I do not exactly understand. Your Tiki is running, you use it by www.example.com? And cdn.example.com does not point to this Tiki? leagris: ah yes, I replaced urls for anonymity :)
well if you don't bother (I don't) http://www.sphere-ville.net/tiki/ refizul: and you want some content be shipped from another third level domain? leagris: yes
I have setup a vhost static.sphere-ville.net serving content without cokkies, no php and strict minimum
and configured tiki to serve static content from static.sphere-ville.net refizul: how did you do that configuration in Tiki?
something in the admin panel? leagris: admin/performance (preference name tiki_cdn=
CDN url configured to http://static.sphere-ville.net
Found this relevant mail exchange in the mailing list http://tikiwiki.1073613.n5.nabble.com/Icons-missing-when-using-own-content-delivery-network-td25736.html
Though the thread ended up without meaningful foloww-up or solution.
Using Tiki version 11.x here and this post talnks about version 9.x it is still an issue refizul: since 9 is LTS it is still an issue there
I try to produce something leagris: serving static content from different domains help parallelize HTTP requests and rnd significantly reduce overload while getting ride of php and all cookies. Preformance wise, it is a huge bonus and a very common practice.
up to 3 different domains name gain you speed on page loading
more than 3 may waste time with DNS requests and network trafic refizul: I guess I need to grep through the source code
message is probably generated by the file: lib/smarty/libs/sysplugins/smarty_security.php
public function isTrustedUri($uri)
Check if URI (e.g. {fetch} or {html_image}) is trusted
The function does what it is supposed to do...
now the question: how is trusted/untrusted triggered? leagris: I guess it should whitelist domain form tiki_cdn preference entry as well as string array preference multidomain_config
Setting perspectives and muti-domain still cause this security error. refizul: what happens if you use the original third level domain of Tiki as cdn? leagris: refizul thanks for looking at it. I have to leave for a few hours. Ill look at this room backlog refizul: ok leagris: same error with http://www.sphere-ville.net as CDN
interesting ;D refizul: this is a hint leagris: same error with http://sphere-ville.net refizul: thx leagris: So he does not like non-relative URL with protocol
or with hostname refizul: hm - I tried it here, no error
and no layout at all, because no CSS Tiki-KGB: tikiwiki 03jonnybradley r46740 10branches/11.x/styles/ 10(15 files in 7 dirs)
tikiwiki [FIX] icons: Rename theme image dirs - missed out from the Image Directory Revamp for Tiki 9 (oops) leagris: Really got to go now sorry Tiki-KGB: tikiwiki 03jonnybradley r46741 10(16 files in 8 dirs)
tikiwiki [MRG] Automatic merge, branches/11.x 46738 to 46740 fabricius: joined #tikiwiki redflo: joined #tikiwiki arildb: joined #tikiwiki Tiki-KGB: tikiwiki 03arildb r46742 10branches/11.x/lib/filegals/filegallib.php
tikiwiki dos2unix SkiNut: joined #tikiwiki
joined #tikiwiki
joined #tikiwiki Tiki-KGB: tikiwiki 03arildb r46743 10branches/11.x/lib/smarty_tiki/function.popup.php
tikiwiki [FIX] PHP notice. Always initialize variable fabricius: joined #tikiwiki Tiki-KGB: tikiwiki 03arildb r46744 10branches/11.x/lib/tikilib.php
tikiwiki [FIX] Remove unused code. Thanks jonnyb
tikiwiki 03lindonb r46745 10trunk/ 10(7 files in 6 dirs)
tikiwiki [ENH] tablesorter: add auto row groupings when sorting and other cleanup Tiki|bot: New Forum Posts: Diff in paragraphs between wysiwyg / wiki editors - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=48142 kadjffjkj: joined #tikiwiki
hi
anyone here? leagris: refizul I am back for a bit :)
mm look like the version of smarty shiped with tiki 11 is outdated 3.0 and the trusted_uri feature wass fixed back in smarty 3.17 in 2011
I wil ltry updating smarty if it ifx the issue with CDN Telesight: joined #tikiwiki leagris: ok found out the issue not related to smarty version
it was smarty_security enabled
so, note if you intend to use a CDN, disable smarty_security because CDN and multi-domain URI are not passed to the marty_security object
http://www.smarty.net/docs/en/advanced.features.tpl Reedo: joined #tikiwiki
hello Telesight: joined #tikiwiki Reedo: Is there anyone who can give me a hand with a problem on my tiki? I have a feeling its something really simple but I cant find it.
left #tikiwiki refizul: leagris: Smarty Security in tiki-admin.php?page=security ? Telesight: joined #tikiwiki Telesight1: joined #tikiwiki Telesight: joined #tikiwiki leagris: refizul yes SkiNut: joined #tikiwiki TomJarvis: joined #tikiwiki
Telesight: What is the problem?
quit quit-message:Bye. Telesight: TomJarvis: Sorry installing a new router ;-)
I will quit the irc untill everything is stable
left #tikiwiki Tiki-KGB: tikiwiki 03arildb r46746 10branches/experimental/ckeditor4/styles/layout/design.css
tikiwiki [ENH] Mark the page-data outline as being in inline-edit mode
tikiwiki 03arildb r46747 03branches/experimental/ckeditor4/tiki-inline_edit.php
tikiwiki [ADD] missing file
tikiwiki 03arildb r46748 10branches/experimental/ckeditor4/styles/layout/design.css
tikiwiki dos2unix refizul: leagris: strange, it's on here and I don't see errors within a 9.5 leagris: wierd indeed
I browsed sources and could not find where tiki initialize trusted_uri within the smarty_security class
I can see tiki uses its own wrapper where secure_dir is initialized. But nowhere do it initialize trusted_uri
lib/init/smarty.php" line 459
According to smarty documentation here: http://www.smarty.net/docs/en/advanced.features.tpl
$trusted_uri is an array of regular expressions matching URIs that are considered trusted. This security directive used by {fetch} and {html_image}.
My guess is, tiki should build/initialize $trusted_uri with regex matching preference(tiki_cdn)
refizul did your clear all cached templates renderings? Telesight: joined #tikiwiki refizul: leagris: it is a quite new installation, Smarty Security was active per default, I switched to CDN with some of my domains, and it didn't cause error
the domain was never used as trusted or something in that Tiki installation. IP is a complete different Server
thus there is a chance to cause an "untrusted" error, but this didn't happen
I've got no idea what piece of information triggers "untrusted" arildb: joined #tikiwiki dhazel: joined #tikiwiki