nkoth|nelson: list_categs not working///
actualy I think it's getCategories that is not working
moving back categlib.php to r35057 workd
I mean 37057
well it's actually just list_categs that is not good, with this descendanets thing
ok i think the problem is that 0 is not a category CIA-12: tikiwiki: 03nkoth * r37063 10/trunk/lib/categories/categlib.php:
tikiwiki: [FIX] When filter identifier is 0, i.e. root category, it breaks and nothing
tikiwiki: gets returned, e.g. wiki pages show no categories list anymore. Also in general
tikiwiki: if you can't identify the filter it is going to lead to weird results. chealer: ah, yeah, that problem again. will check nkoth|nelson: chealer: btw, separate issue, remember that orphan token for category thing? can you make getCategories more gracefully return nothing when categId is a string?
because search indexes orphan as a token for no categories (to enable searching for things that are uncategoriized), so it might happen a lot of places
or maybe check explicityy for 'orphan' ***: goj_killedByISP has joined #tikiwiki
goj has quit IRC (Disconnected by services)
goj_killedByISP is now known as goj
Trebly has quit IRC (Ping timeout: 258 seconds)
coaboa|afk has joined #tikiwiki
coaboa|afk has quit IRC (Remote host closed the connection) CIA-12: tikiwiki: 03nkoth * r37064 10/trunk/lib/ (2 files in 2 dirs): [ENH] Add ajax validation for passcode in registration ***: coaboa has quit IRC (Ping timeout: 245 seconds)
nkoth|nelson has quit IRC (Quit: nkoth|nelson)
Caarrie|away is now known as Caarrie|sleeping
Narkster has joined #tikiwiki CIA-12: tikiwiki: 03chealer * r37065 10/trunk/ (9 files in 4 dirs): [REF] call getCategories() instead of list_categs() ***: Bernard has joined #tikiwiki
Bernard1 has quit IRC (Ping timeout: 276 seconds)
Bernard has quit IRC (Quit: Leaving.)
Bernard has joined #tikiwiki
Merbster has joined #tikiwiki Merbster: Good morning tiki-folk ***: fabricius has quit IRC (Read error: Operation timed out) Merbster: Where does "post-back handler" scripts go in tiki? Bernard: hi Merbster Merbster: hey Bernard
:)
Nevermind. I found tiki-tracker_http_request.php ***: DarkCalfz has quit IRC (Read error: Connection reset by peer)
DarkCalfz has joined #tikiwiki
arildb has joined #tikiwiki Bernard: Is there a way to have a "enter your email to subscribe our newsletter" box on tw ? ***: Wilkins has joined #tikiwiki Merbster: Bernard, Where exactly do you want it? Bernard: 1sec Merbster: Bernard, http://doc.tiki.org/PluginTrackerlist <- there is something about sending a message to multiple users registered in a tracker.
I don't know if it sends wikimessages or emails Bernard: Merbster: i beleive that with tracker i can have a pretty tracker input displayed in a box, etc… But this is quit heavy !
and i have then to import the emails in the newsletter… ^^ Merbster: Bernard, The part I am worried about is getting users from a trtacker and sending mails to them .But I would think that Tiki has mailing list functionality built in.
(I would think == I guess)
Have you searched the docs for mailing list or something like it? Bernard: TW has a newsletter built in and it works fine. If an admin or a visitor can subscribe in it through a page, i was wondering about a simple module that make it possible from within any page or from a col. Merbster: Bernard, I haven't tinkered with mailing list. So I don't know what possibilities there is. Bernard: ok i found this : http://doc.tiki.org/Newsletter+Admin#Add_emails_to_a_newsletter_from_a_list_in_a_wiki_page
but this is tpl, tracker... Merbster: Bernard, aka pretty tracker? - it's ALOT easier than you'd expect
actually the docs on pretty trackers was just recently updated with a 3 (or 4) step guide
Bernard, http://doc.tiki.org/Pretty+Tracker+HowTo <- here is some explaining about it.
short and consise ***: chibaguy has joined #tikiwiki
ChanServ sets mode: +o chibaguy chibaguy: polom Bernard: Merbster: :) the point is that i don't need to create a list of user in a tracker list… I need an easy way to add from the anonymous side a way to subscribe to a newsletter without being registered. Merbster: polom chibaguy
ah ok Bernard I don't know how to achieve that. Bernard: Konishiwa Sen Sei :) chibaguy: ??????????
Did that work?
Hi Bernard (if it didn't) Bernard: Well admin can subscribe any email he want (not registered user). But this is in Admin Newsletter. There are a lot of website offering the possibility of subscribing an email in a small module without registering. chibaguy: I think what I need for trackers is a recipe book. The howto docs are good as far as they go, but it would be great to see lots of examples. For two reasons: 1) "Oh, so that is what trackers can be used for" and 2) "Oh, so that is how I do what I want to do with trackers."
Hi Merbster Bernard: i was wondering if it can be achieved in TW using what exist chibaguy: I think trackers are a feature that really set Tiki apart from other software, but the learning curve is steep. Bernard: +1 Merbster: chibaguy, the link I sent is actually "an example" atleast more of an example than the latter pages :P chibaguy: Merbster, what link is that? Merbster: Does anyone know where the jquery.js file is located in tiki?
chibaguy, sorry it was before you logged in, here: http://doc.tiki.org/Pretty+Tracker+HowTo chibaguy: ah, ok, thanks.
well, I'm ok about the basics, that far. But that is like the shallow end of the swimming pool. As you go toward the deep end, it gets panicky fast. ;-) Bernard: …rethinking it… user don't subscribe to a newsletter… They register in a box requiring just Name (username) and Email (email+password). Newsletter will be sent to all registered. The idea is ok but is it really possible…(registration should be proceeded from within a module without loading other pages) chibaguy: Now I'm seeing a problem in branch 7 of the edit/delete tab content of a tracker item displaying as HTML syntax, not parsed.
eek.
only that tabcontent, not view, comments, or attachments. ***: redflo has joined #tikiwiki Merbster: chibaguy, I don't know how to fix that, sorry. chibaguy: yeah, it's strange. I just updated with subversion and cleared the cache.
I'll try on another branch 7 site.
Merbster: jquery.js is in lib/jquery/ Merbster: chibaguy, Yes. I found out, but thanks anyways :) chibaguy: ok. well the html code showing is only affecting one tracker. a new tracker at the same site is normal, so maybe some configuration problem. Merbster: chibaguy, question is, does it expect tiki markup or pure html?
will it maybe help wrapping the html in {HTML()} {HTML} ? chibaguy: No, I mean the tiki-view_tracker_item.php page's "Edit/Delete" tab is showing the HTML of the edit form rather than the edit form itself.
<input type="hidden" name="iTRACKER" value="1" /><div class="wikiplugin_tracker">... etc. Merbster: chibaguy, I experienced that when trying to define a page for the tracker where it edit/views the tracker item chibaguy: It isn't user content.
ah, ok.
How is the item to be edited then? Merbster: chibaguy, I don't have the problem in tiki 7.1 when no edit/view item template is set in the tracker itself (when editing the tracker ) chibaguy: yes, I just removed the wiki template info and now the edit form in the tracker works again.
hm.
What is the designed method to edit a tracker item when a wiki template is used?
(I wonder.)
Well, I assume the broken tabcontent is a bug. Merbster: chibaguy, you can edit a tracker item by giving the tracker itemId parameter
chibaguy, or you could display a trackerlist and enable "show edit/view urls" (or something like it) on the individual tracker fields
chibaguy, if you do that without giving it url param. it will default to the normal edit/view pages chibaguy: About your first suggestion, giving the tracker itemId parameter in the page URL? Merbster: chibaguy, on the tracker itself
you can bind it to a single item chibaguy: Oh Merbster: But
there's another way
with a trackerlist (that shows all items in the tracker)
you can enable the link showing I talked about earlier
and then suppluy an url param to the plugin trackerlist {trackerlist url=someUrl}
Then the urls that the trackerlist generates will use the url of your url plugin param
in that plugin param you define "itemId=" and if you leave out the actual vaolue, tiki will magically insert it
Am I understandable chibaguy ? :P Bernard: Merbster, the master of trackers :) Merbster: no far from it
But I am getting there
chibaguy, if you are running tiki 7.1 you have bugs in the show linsk param for the trackerlist, so I hope you are using trunk :P chibaguy: I think I am understanding you ok, but I am using branch 7 so don't know what the state of the bugs is. Merbster: I know that jonnyb fixed some bugs and committet them
I backported them manually to our tiki 7.1 chibaguy: I see. Merbster: If your trackerlist does not give you fields as links (even though you set it up to do it) you have the bug. chibaguy: I don't mind the mental exercise of trying to use trackers, but wish the chance of success was higher. ;-) Merbster: it's allways a balance between being flexible and also userfriendly :P
chibaguy, how much of a coder are you? chibaguy: not much, I'm afraid.
I'm ok with CSS and HTML, more or less, but with Smarty and PHP the best I can do is copy/adapt examples. Merbster: ok. chibaguy: well, I'd like to learn more, but don't have enough hours in a day. Merbster: I know that problem too well
sylvieg, are you here? ***: coaboa has joined #tikiwiki coaboa: polom tikiverse Bernard: hi Coaboa
I'm using for the first time the module "register" on 7.2. I have a message about open id (i don't use open id) and it broke the col layout. Anyone has experience about this module ? Merbster: Bernard, sorry no, but I would think you can disable it? Bernard: Open Id is not enable, i use Tiki only for authentification. chibaguy: Bernard, is that the "Login" module? I don't see a module named register. Bernard: chibaguy: New user registration (register)… (In the meantime i found a disable plugin " subscribe to newsletter")
arf… the plugin subscribe to a newsletter require being logged… back to the bugged module. :( chibaguy: Oh, Ok. I see what you mean (big broken module). Bernard: yes
do you have the message about openid ? chibaguy: That looks like something that should be fixed before the next tiki 7 release.
yes.
and same as you, openid is not enabled. Bernard: ok so yes it require fix… i will post in tikidev chibaguy: ok
It looks like the module content is meant for the center column, starting with its h1 heading, and a wide table.
(apart from the openID problem) Bernard: Even in the center col it broke the page. http://yiul.co.il/tiki-index.php?page=Subscribe (the col is thrown at the bottom)
The plugin "Subscribe" would have be neat… if works with anonymous. :) chibaguy: Yeah, there's apparently a mismatch of html element tags. In the left column, it causes the following modules to be wide, so some tag isn't closed, I think.
Well, I would first try to get rid of its table for layout. Bernard: checking the module
ok this is a problem {if $openid_associate eq 'n'} chibaguy: The module apparently just grabs the .tpl that was originally meant for the center column.
which would explain the h1 heading. Bernard: yeap
i have corrected "my version" but i can't commit that… i removed the openid check as i don't use it and get rid of the first table chibaguy: How does the formatting look, then? Does it still go too wide? Bernard: no now it is good chibaguy: ah, Ok. I think there is a problem with the logic that filters the table tags. Bernard: i think about commit at least this correction so only the openid thing will need
shame on me i forgot… how do you know the bp number ? svn info ? chibaguy: There's a revision number reported when you make the commit. Or sometimes I look at the email report of the commit for the r number, and paste that in to the notes for the bp, if that's what you mean. Bernard: yes… but "There's a revision number reported when you make the commit" so i don't need to indicate it on the commit msg ? chibaguy: no
it's automatic Bernard: svn commit -m "[FIX]module register: table tags removed to keep layout intact" templates/tiki-register.tpl is ok then, tks. CIA-12: tikiwiki: 03yonixxx * r37066 10/branches/7.x/templates/tiki-register.tpl: [FIX]module register: table tags removed to keep layout intact ***: Trebly has joined #tikiwiki chibaguy: r22134 replaced the module's specific code with an include of tiki-register.tpl in Oct. 2009. Strange that it's just now spotted as a problem (at least the h1 should have been noticeable - I don't know if the table always overflowed the column).
I suspect this module is usually used in a wiki page and not the side column, or at least it wouldn't have formatting problems then, perhaps. ***: olinuxx has joined #tikiwiki
arildb_ has joined #tikiwiki
arildb_ has quit IRC (Client Quit) chibaguy: Bernard: Actually the module still extends over the center column in my branch 7 after your commit, though not as badly. The form label and input fields are too wide for the space (in fivealive). ***: arildb has quit IRC (Ping timeout: 250 seconds) chibaguy: Oh, it fits when I'm logged in, but not when anonymous.
it's made of a number of included tpls that add rows to the table, and some are wide. A liquid layout would be better but maybe for trunk.
Custom CSS can resize the heading and make the module scrollable so that it fits in the column if necessary.
funny, that module doesn't even use the normal module tpl. More evidense that it's intended for the page center, I think. coaboa: I had a problem with inclue too. try to define the full path to the modified/theme template
when using include with custom code area it allways produce a white screen except when defining the path like templates/styles/mytheme/xy.tpl chibaguy: what tiki version, coaboa? coaboa: trunk, current chibaguy: What do you mean by custom code area? They aren't in Look and Feel any more. coaboa: worked until (at least) r35883 chibaguy: In a module? coaboa: They are: Look & Feel, Customization Tab chibaguy: hm, I was looking at branch 7. I thought they were the same. coaboa: i use include in custom html head (and other extra code areas) and when using include from within a tiki.tpl chibaguy: Oh, I see.
There is only html head and at end of body now.
Otherwise the module zones must be used.
Or shadow divs, I imagine. Merbster: So the textbox where you can includec ustom jquery/js code under look and feel will be removed in upcoming versions? chibaguy: No, those will stay as they are. Just visible content areas were changed to the module zones. coaboa: don't think so my current trunk37038 still shows that box Merbster: oh. ok.
Because I just started using that one :P chibaguy: yeah, the current arrangement will stay as it is, I think. Merbster: I hope so. I find it quite useful chibaguy: yep. I have to go out but will be back soon. ***: chibaguy is now known as chibaguyaway
Caarrie|sleeping is now known as Caarrie|away Bernard: chibaguyaway: weird on mine 7.2 it fit ok logged or not, in the center or in a col… cache may be ? sylvieg: a svn up and I have Fatal error: Uncaught exception 'SmartyException' with message 'unknown method 'set_request_overriders'' in lib/smarty/libs/sysplugins/smarty_internal_wrapper.php on line 117 SmartyException :-( ***: Tiki|bot has quit IRC (Ping timeout: 260 seconds)
ricks99 has joined #tikiwiki
chibaguyaway is now known as chibaguy
olinuxx has quit IRC (Quit: Ex-Chat) chibaguy: Bernard, now I see here in Firefox it fits but in Opera it extends into the center column. Apparently the textfield size is calculated differently in Opera. ricks99: polom y'all chibaguy: Hi ricks99
ricks99, do you know why the rss feed items repeat many times at tiki.org? ricks99: on info? let me c chibaguy: no, at the community site.
15 items and all the same one. -: ricks99 checking... chibaguy: just wondered if you had noticed that problem. ricks99: u mean the Tiki Tweets? hm...
Looks like someone (me) messed up the query.... let's see what I can do. chibaguy: No, I mean in the center column, "The Latest Tiki News" and "Documentation Updates" ricks99: ooo.... chibaguy: Well, some repetition in the Tiki Tweets, but not as much, and recently seems ok. ricks99: i think it is a db refesh issue. notice that *all* rss feeds are repeated chibaguy: Is there a solution? Or do we set max to 1? ;-) ricks99: i'll report to dev list and see... needs to be fixed i would think
notcie that the actual rss is correct: http://doc.tiki.org/tiki-wiki_rss.php?ver=2 -: ricks99 thinks it is a caching issue somewhere? chibaguy: Yes, I tried the rss and it looked fine. ***: arildb has joined #tikiwiki
Bernard has quit IRC (Read error: Operation timed out)
Bernard has joined #tikiwiki
redflo has left CIA-12: tikiwiki: 03sylvieg * r37067 10/trunk/ (templates/tiki-edit_submission.tpl tiki-edit_submission.php): [FIX]article: captcha in submission ricks99: sent chibaguy. tx for reporting coaboa: can I have theme spcecific wikiplugins? and if yes where to put? ricks99: Theme-specific? not afiak. but you can create as many custom ones as you want coaboa: y. that I know. just wondering. for maintenance. Merbster: sylvieg, ? ricks99: @coaboa: i've been wanting that same thing for a while now, too :)
.... and theme-specific icons/graphcis coaboa: ;-) chibaguy: coaboa, the wikiplugin could go inside a module in wikitext that has a theme parameter, maybe. A lot of overhead, though.
or html elements can be displayed or not with css. coaboa: looking for something you can collect in a "copy-to-destination" folder CIA-12: tikiwiki: 03tikii18nbot * r37068 10/trunk/lang/fr/language.php: French translations done on i18n.tiki.org coaboa: not urgent though, just thinking chibaguy: ricks99, you know about having style/themename/pics/icons, right? -: ricks99 feels really stupid now chibaguy: I think you might be limited to the pixel size, though. Merbster: Don't worry ricks99 you aren't! :) coaboa: tikiverse ;-) -: ricks99 runs off to read more on doc chibaguy: Really, there is so much to keep in mind with Tiki that it's natural to lose parts all the time. coaboa: is uge
*huge ricks99: @chibaguy: yup... that's why i hand out on IRC :-) Merbster: I can't figure out why tiki-tracker_http_request.php returns null to me chibaguy: If I could just avoid repeating having to learn something several times I'd be pretty happy. Merbster: (I am doing a post to it from jQuery and trying to get the data) ricks99: completely new issue (somewhat tiki related): been thinking of an enhanced Smarties epub with embedded movies, downloadable YAML profiles, etc. I would retail it for ~$35(USD). But most people are accusted to paying LESS for epub editions. any thoughts from the Tiki community? Merbster: ricks99, I have a friend who did a danish site for HD Joomla tutorials. He charges way more. and that's only access to videos
HD as in High definition ***: Tiki|bot has joined #tikiwiki sylvieg: Merbster: try to type tiki-tracker_http_request with the params directly in the url ... sometimes you can see error messages Merbster: sylvieg, ok! thank you for the tip! :)
sylvieg, is the minimum needed amount of params documented anywhere? Or should I just try my way? sylvieg: usually I use firebug and the net tab.. to pick up the params
and than I debug the http_request Merbster: sylvieg, I have just opened the file and I am looking at GETS :P
sylvieg, what I mean is; what are the least amount of params to get something meaningful. :P
if I just give it trackerIdList I get an empty .js file.
sylvieg, I am testing my JS in a HTML file that's in the same dir as tiki. but the HTML is not used from any tiki context. Will this affect the behaviour? sylvieg: probably not - the tiki.._htt... is independant Merbster: sylvieg, Ok. That's what I expected, I just wanted to be sure :) - Hope it's ok I ask so much sylvieg: no problem Merbster: sylvieg, what is "filtervalue" used for? sylvieg: but Iam wondering about perm check...
filtervalue is the value of a field if there is a filter Merbster: sylvieg, if I don't supply a filtervalue it won't return anything ***: RobertPlummer has joined #tikiwiki RobertPlummer: polom all
What is the updated version of smarty_modifier_escape()?
It says it doesn't exist. Merbster: Hi RobertPlummer RobertPlummer: good day Merbster: I don't know the answer yet. sorry RobertPlummer: Oh, nm, I found it
if (! function_exists('smarty_modifier_escape')) {
require_once 'lib/smarty_tiki/modifier.escape.php';
} Merbster: I am going home from work now bbl ***: Merbster has quit IRC (Quit: Leaving) CIA-12: tikiwiki: 03robertplummer * r37069 10/trunk/lib/ (headerlib.php wiki/wikilib.php): [ENH] Added js file checking to caching for wiki pages, so now you can include js files in your wiki plugins RobertPlummer: I still have some testing to do on that last one, but it should have been added a long time ago. ***: RobertPlummer has quit IRC (Ping timeout: 258 seconds)
ricks99 has quit IRC (Remote host closed the connection)
ricks99 has joined #tikiwiki CIA-12: tikiwiki: 03sampaioprimo * r37070 10/trunk/lib/language/FileType/Php.php: change code comment
tikiwiki: 03sampaioprimo * r37071 10/trunk/ (get_strings.php get_strings2.php): old get_strings.php replaced with new version ***: rodrigo_sampaio has joined #tikiwiki
radek82 has joined #tikiwiki rodrigo_sampaio: chealer: do you know which standard we use for language codes/
? chealer: polom
rodrigo_sampaio: I don't think I do. you mean we're not follow ISO 639-1? rodrigo_sampaio: chealer: I think we are
chealer: I just couldn't remember this name sylvieg: yes ... there was a standard.. rodrigo_sampaio: thanks chealer: rodrigo_sampaio: OK. good to see the above commit BTW, even though I couldn't look at your improvements yet :-)
rodrigo_sampaio: are the current language.php files now generated by the new get_strings.php? rodrigo_sampaio: chealer: in a few minutes they will be (big commit coming) :) chealer: rodrigo_sampaio: good :-) CIA-12: tikiwiki: 03sampaioprimo * r37072 10/trunk/lang/ (48 files in 48 dirs): updating language files using new get_strings.php coaboa: what is the php var for pagename?
got it $objId
at least in plugin-catpath ***: lphuberdeau has joined #tikiwiki chealer: thanks rodrigo_sampaio. is it normal/intentional that there are no more comments, like those on punctuation handling? ***: nkoth|nelson has joined #tikiwiki rodrigo_sampaio: chealer: it is intentional. but we can add if you miss them.
chealer: specifically talking about the punctuation handling I think we should get rid of it
chealer: this is a discussion I'm planning to start soon
chealer: but first I need to know why this was created in the first place chealer: rodrigo_sampaio: get rid of it, i.e. if we have two strings "Foo" and "Foo:", generate two strings in language.php?
rodrigo_sampaio: *I* don't miss them, but I remember learning about the punctuation handling by reading these comments. I would have been confused if I had not read these. rodrigo_sampaio: chealer: for me the problem with the punctuation handling is that it is not valid for all languages
chealer: for example, in Spanish the interrogation mark appears in the beginning and in the end of the sentence
chealer: with the way we handle punctuation it is impossible to properly translate a question to Spanish chibaguy: It seems to me that the punctuation needs to be part of the string.
...because it varies according to language.
(If this is relevant - I didn't read the whole log.) rodrigo_sampaio: chibaguy: thanks, but we already have (or should have) the punctuation as part of the string.
:)
chibaguy: the question here is that we deal with strings ending in punctuation as a special case chealer: rodrigo_sampaio: good example. I would tend to address these issues one by one. for the question mark, I don't really see much use in handling it particularly. I don't see why there would be many cases of both "Foo" and "Foo?" appearing.
hi chibaguy chibaguy: hi chealer and rodrigo_sampaio rodrigo_sampaio: chealer: I'm concerned that there might be more cases like that in other languages that we don't know. But I think to investigate to be sure.
chealer: would be good to have an idea of how many cases of "Foo" and "Foo:" (or another punctuation) we have chealer: rodrigo_sampaio: I agree, would be good ***: Bernard has quit IRC (Quit: Leaving.) rodrigo_sampaio: chealer: I will do that before starting this discussion on the devel list ***: Bernard has joined #tikiwiki chealer: rodrigo_sampaio: I also agree there must be more cases, but until Tiki is translated to these languages, it's not a problem. I think we can address the issues when they come up. CIA-12: tikiwiki: 03sampaioprimo * r37073 10/trunk/lang/ (flagmapping.php langmapping.php): indentation
tikiwiki: 03sampaioprimo * r37074 10/trunk/lang/ (flagmapping.php langmapping.php nds/ nds/language.php): add Lower German language
tikiwiki: 03sampaioprimo * r37075 10/trunk/lib/ (3 files in 2 dirs): update code to export translations from the db to use new language.php
tikiwiki: 03chibaguy * r37076 10/mods/trunk/Packages/ (6 files): [FIX] Errors in paths or file names in package info files caused impossible-to-copy errors in mods admin. Thanks to Marc for testing.
tikiwiki: 03tikii18nbot * r37077 10/trunk/lang/pt-br/language.php: Brazilian Portuguese translations done on i18n.tiki.org coaboa: does one know how to display the number of contributors to a page in a template? Is there avariable for this? ***: Trebly has quit IRC (Ping timeout: 240 seconds) lphuberdeau: As far as I know, that value is not pre-calculated, but it's fairly easy to extract from the tiki_history table ***: RobertPlummer has joined #tikiwiki RobertPlummer: Did you guys see my commit from earlier? ***: Trebly has joined #tikiwiki CIA-12: tikiwiki: 03oeversetten * r37078 10/trunk/ (4 files in 2 dirs):
tikiwiki: Prepared some flags for Lower German and updated flagmapping.php accordingly.
tikiwiki: Two flags from Hanseatic times and one half German half Dutch flag. RobertPlummer: hey chealer, you around? chealer: hi RobertPlummer. just looked at your commit, made me realize there was already support for JS in plugins :-) ***: arildb has quit IRC (Read error: Connection reset by peer) RobertPlummer: chealer: But not files ***: Wilkins has quit IRC (Ping timeout: 258 seconds) RobertPlummer: At least not for caching. ***: arildb has joined #tikiwiki RobertPlummer: chealer: I've added all the steps, and I've looked at it actually adding the files into the caching system, but for some reason it still doesn't work. CIA-12: tikiwiki: 03oeversetten * r37079 10/trunk/lang/langmapping.php:
tikiwiki: Noticed some exchange at Portuguese (English and self description exchanged)
tikiwiki: Changed self description of Frisian to Frysk, more appropriate I guess. chealer: RobertPlummer: right. are you trying with codemirror or what? RobertPlummer: no, vendor project.
chealer: Now it is supported, the query is sent the data to update, but for some odd reason it is like mysql isn't executing the command.
chealer: I'm baffled. chealer: RobertPlummer: sorry, what is vendor project? RobertPlummer: a vendor project is a project that you are using in conjunction with an existing svn project to create a new project/feature.
I guess I should have said on a private project.
Anyway, I didn't want to mod tiki-setup.php to include the proprietary files. chealer: humk RobertPlummer: Plugins should be fully plugable. chealer: RobertPlummer: update_cache() is not working, or what command? RobertPlummer: Drop it in, and it work.
update_cache doesn't seem to be updating sql. I'm investigating right now... chealer: RobertPlummer: you're testing as anonymous, right? RobertPlummer: both
anon and admin
anon is calling update_cache, and the correct data is being sent
With the correct files added and everything. chealer: RobertPlummer: user accesses won't touch the cache RobertPlummer: I cleared cache as an admin, does that have to do with wiki cache?
I didn't check.
I figured it couldn't harm anything. chealer: RobertPlummer: no
RobertPlummer: so you see PHP going through update_cache (line 418), but the table is not updated? RobertPlummer: chealer: No it is updating, but I had to clear it out. So it is updated in mysql.
I've cleared cache with the browser, is there another set of cache analysis that I'm missing?
I was using firefox, trying chrome...
Same results.
The data exists in mysql, but not on the wiki page. chealer: RobertPlummer: hum, I don't follow you. what do you mean by "it is like mysql isn't executing the command"? RobertPlummer: chealer: mysql is sent the correct cache. Cache with js,jq_ready, and files (the new part).
is it saved in mysql (just verified).
But what mysql saves and what it delivers are different. chealer: RobertPlummer: so you mean MySQL is not executing the read query correctly :-? RobertPlummer: When anon, if I visit page=HomePage&refresh=1, everything looks great.
chealer: Yes, at first I thought it wasen't saving correctly, but it seems that it isn't getting the data correctly.
chealer: I'm sure I can figure it out.
perhaps it is getJsFromHTML? chealer: RobertPlummer: what HTML are you missing? RobertPlummer: the script tags that have externals.
Yea that is what it is, the tags are being stripped from cache in getJsFromHTML chealer: RobertPlummer: what do these read? RobertPlummer: It is all the script without the script tags that have src
So we need a method getJsFilesFromHTML chealer: RobertPlummer: I don't see anything that considers src RobertPlummer: so new method then? chealer: RobertPlummer: I meant I don't see anything in getJsFromHTML() that discriminates depending on whether or not there's an src attribute.
RobertPlummer: if your plugin is not too secret, could share the content of the missing tags? RobertPlummer: Sure. give me a sec
nm, I know what the problem is.
getJsFromHTML looks not for the tags, but what is in them....
<script src=""></script>, guess what is inside of this tag?
nothing
We do need a different handler for files to be added.
Chealer: this is a print_r on $jsFile1 and $jsFile2 around line 393+ of wikilib.php
$jsFile1:
Array ( [0] => <script type="text/javascript" src="lib/tiki-js.js"></script> [1] => <script type="text/javascript" src="lib/jquery/jquery.js"></script> [2] => <script type="text/javascript" src="lib/jquery_tiki/tiki-jquery.js"></script> [3] => <script type="text/javascript" src="lib/jquery/jquery.json-2.2.js"></script> [4] => <script type="text/javascript" src="lib/codemirror/lib/codemirro
$jsFile2:
[0] => <script type="text/javascript" src="lib/tiki-js.js"></script> [1] => <script type="text/javascript" src="lib/jquery/jquery.js"></script> [2] => <script type="text/javascript" src="lib/jquery_tiki/tiki-jquery.js"></script> [3] => <script type="text/javascript" src="lib/jquery/jquery.json-2.2.js"></script> [4] => <script type="text/javascript" src="lib/codemirror/lib/codemirror.js"></scr
Did you get that? irc may have filtered it.
Look for icharts. chealer: RobertPlummer: oh! right
RobertPlummer: the end of truncated RobertPlummer: sorry about that
Anyway, there are 3 files that are removed, omitted.
And because there is no handler to get them back from cache, they are there, but nothing will ever happen with them.
They are removed with removeJsFromHTML
I will just make it so that removeJsFromHTML doesn't remove them.
simple fix
woohoo! ***: Bernard1 has joined #tikiwiki
chibaguy has quit IRC (Read error: Connection reset by peer)
Bernard has quit IRC (Ping timeout: 260 seconds)
ricks99 has quit IRC (Remote host closed the connection) RobertPlummer: Rather than crafty regex is there any reason why I can't do something like DOMDocument to see if src exists or not? ***: Bernard1 has quit IRC (Read error: Connection reset by peer)
Bernard has joined #tikiwiki
arildb has quit IRC (Read error: Connection reset by peer)
arildb has joined #tikiwiki -: chealer has no idea CIA-12: tikiwiki: 03sampaioprimo * r37080 10/trunk/ (57 files in 52 dirs): get_strings.php: adding back note about punctuation handling
tikiwiki: 03sampaioprimo * r37081 10/trunk/ (52 files in 51 dirs): fixing a few strings ***: arildb has quit IRC (Quit: Leaving) chealer: thanks rodrigo_sampaio rodrigo_sampaio: chealer: welcome ***: prgmctan has joined #tikiwiki CIA-12: tikiwiki: 03chealer * r37082 10/trunk/lib/language/WriteFile.php: fix language.php comments on non-breaking spaces (re-recovered from Jyhem's r35917)
tikiwiki: 03sylvieg * r37083 10/trunk/lib/tikilib.php: [FIX]probably a typo ***: Caroline has joined #tikiwiki sylvieg: ... I thought php was case sensitive.. $this->fetchCOunt() is working.... ***: radek82 has quit IRC (Quit: Leaving)
arildb has joined #tikiwiki chealer: sylvieg: http://www.php.net/manual/en/functions.user-defined.php "Function names are case-insensitive, though it is usually good form to call functions as they appear in their declaration. "
other things *are* case-sensitive ***: redflo has joined #tikiwiki CIA-12: tikiwiki: 03sylvieg * r37084 10/trunk/lib/menubuilder/menulib.php: [FIX]menu: move the subMenu filter above the selected because the url can be in 2 different submenus nkoth|nelson: sylvieg: are you familiar with trackerif plugin? CIA-12: tikiwiki: 03oeversetten * r37085 10/trunk/lang/nds/language.php: A couple of strings more
tikiwiki: 03nkoth * r37086 10/trunk/lib/wiki-plugins/wikiplugin_trackerif.php: [FIX] Test not triggering in normal use, must have been a mistake ***: prgmctan has quit IRC (Quit: Leaving) RobertPlummer: chealer: Is there a lib for parsing dom documents in php that we are using at this time that goes back to php 4? or lphuberdeau, you know? chealer: RobertPlummer: no idea about DOM parsing, sorry RobertPlummer: Are we moving to php 5 yet? chealer: RobertPlummer: huh? only PHP 5.2 and above are supported in trunk RobertPlummer: chealer: So we are on php 5.2 now? nkoth|nelson: chealer: did you just change tiki-admin_categories edit category icon to pass both parentId and categId? chealer: RobertPlummer: http://doc.tiki.org/tiki-index.php?page=Requirements&no_bl=y#PHP RobertPlummer: hmmmm. nkoth|nelson: because when I try to edit a (sub)category by clicking on its edit icon, it goves me the edit screen for the parent instead RobertPlummer: lphuberdeau: I thought recently told me we were still on 4.
chealer: THanks for the clarity! chealer: RobertPlummer: there must have been confusion. we're PHP 5 only since at least 2 years. RobertPlummer: lol, it was probably from my end :). Php is still new to me at times. chealer: nkoth|nelson: I did play in that area, can't remember exactly all I did but it's a good idea you contact me :-)
nkoth|nelson: I didn't add more parameters to be passed, may have removed one CIA-12: tikiwiki: 03oeversetten * r37087 10/trunk/lang/langmapping.php: Supplement some language self descriptions where they were still in English. chealer: nkoth|nelson: I think I did remove categId. I see your problem, thank you
nkoth|nelson: oh, I wasn't looking at the edit icon, I see the problem there too. thanks nkoth|nelson: chealer, are you on it? if so I will just wait instead of trying to debug chealer: nkoth|nelson: sure RobertPlummer: IT WORKS! Plugins that are cached now load their js files!
woohoo!
committing! CIA-12: tikiwiki: 03robertplummer * r37088 10/trunk/lib/ (headerlib.php wiki/wikilib.php): [ENH] Added more framework to be ensure that all js is loaded from cache, including js files with src tag ***: Caroline has quit IRC (Ping timeout: 252 seconds) RobertPlummer: That was a tuff cookie to crack.
chealer, svn up, let me know what you think.
I used simplexml_load_string
hopefully that is ok.
then a cast attribute back to string.
so a little work is done, but it all filters back into place like it should.
back into headerlib->add_jsfile()
On this day, plugins are now fully modular.
We can bypass tiki-setup.php is no longer needed to make sure all js files load correctly.
Tiki apps, here we come! chealer: nkoth|nelson: the link URLs appear unchanged. I'm debugging PHP lphuberdeau: the goal of having all the JS in tiki-setup.php was to make sure the same files were always provided when minifying the code
not much sense in grouping files if on every page load, you need to download an other huge file RobertPlummer: lphuberdeau: it doesn't make since from a core standpoint, yes.
lphuberdeau: But I added it because of a private system.
And besides, plugins should be modular, drag and drop in many cases.
So this functionality shouldn't be used if a plugin is design from the core standpoint, but if you are using tiki as a basis for another product, and didn't want to modify source, this would just work.
For instance, the project I'm working on right now uses open source js, but it is commercially licensed. I can't include it in source. So when I go to upgrade, I don't want to upgrade everything, including tiki-setup.php.
This makes perfect sense. chealer: nkoth|nelson: sorry... someone odd going on, debugger not collaborating
nkoth|nelson: wah, found the problem. good thing you let that one to me :-) nkoth|nelson: , chealer: linked to other things? chealer: I broke it, but from somewhere I would never have suspected RobertPlummer: lphuberdeau: I'm going to test it with minify on and see what the outcome it.
is luciash: hellom RobertPlummer: luciash: polom + hello, nice. chealer: do people get this kind of PHP notice in trunk:
PHP (5.3.8-1) NOTICE (E_NOTICE):
File: xdebug eval
Line: 1
Type: Undefined index: name luciash: :) chealer: I don't get the "xdebug eval" file luciash: chealer: i think it get only people who use xdebug chealer: hi luciash
I use xdebug but I've never seen that in 7 and before
huh. if I disable the xdebug extension, I get no notice at all luciash: :) chealer: I mean, where I got these notices, I don't see an equivalent luciash: i get several notices at my tices at my
rofl, sorry, this paste didn't work right ;) chealer: that's annoying, but thanks luciash luciash: tikitrunk/tiki-admin.php?page=features
but none of them is xdebug chealer: eh, forget what I said on having no equivalent notices, I may have been confused CIA-12: tikiwiki: 03chealer * r37089 10/trunk/ (2 files in 2 dirs): [FIX] Admin categories: wrong category obtained when editing (Smarty variables conflict). Thanks Nelson Ko. luciash: it happens a lot to us coders ;)
i mean "us" not US like in U.S. :-p -: luciash didn't mean to insult US coders chealer: nkoth|nelson: sorry, should be fixed ^ RobertPlummer: luciash: Watch it luciash
luciash: jk chealer: hehehe luciash: jfk ? RobertPlummer: jk = just kidding luciash: ah, jk as in JustKidding, LOL RobertPlummer: :) luciash: u see ? confused again ;) chealer: ah, good to know that's not JoKe. that would have been very confusing luciash: yep, that would be the same as JFK RobertPlummer: chealer: sorry, in the US we have "lol" language. "jk" is pretty common. luciash: it was me it was me, stupid czech ! ;) RobertPlummer: speaking of "lol"... interesting read: http://lolcode.com/
"protolol"
error handling:
HAI CAN HAS STDIO? PLZ OPEN FILE "LOLCATS.TXT"? AWSUM THX VISIBLE FILE O NOES INVISIBLE "ERROR!" KTHXBYE
funny stuff luciash: *g* chealer: there is also an active Debian LOLing community. RobertPlummer: I just tried out minify on trunk, and removed my code for ensuring that cached files are included. Anyway, it took a nose-dive.
Without my code it is not completing, max exec time 30+ secs.
Looks like it could be smarty related.
Not sure how though. nkoth|nelson: chealer thanks RobertPlummer: Can anyone else confirm this problem with minify? ***: Trebly has quit IRC (Ping timeout: 252 seconds) RobertPlummer: I've got some outstanding installer files that need applied, let me see if that fixes it. chealer: RobertPlummer: FWIW, I think you could have used $js_script[] = (string)$js['src']; instead of array_push() RobertPlummer: chealer: you are right, I am a js guy, you have to push and pop everything.
chealer: You think my code would mess with tiki that much? CIA-12: tikiwiki: 03nkoth * r37090 10/trunk/lib/core/Search/Formatter/ValueFormatter/Categorylist.php: [NEW] Search results formatter for categories listings chealer: RobertPlummer: OK. what? that line just seemed strange, it shouldn't be a problem. CIA-12: tikiwiki: 03sampaioprimo * r37091 10/branches/7.x/lib/trackers/trackerlib.php: [FIX] right tracker item id value for daily reports (fixing directly here and on branches/i6.x since this fix is not applicable to trunk due to tracker revamp changes) RobertPlummer: chealer, sorry I just want to make sure that my mod isn't a bad one.
chealer: Should be pretty solid. CIA-12: tikiwiki: 03sampaioprimo * r37092 10/branches/proposals/6.x/lib/trackers/trackerlib.php: [bp/37091] [FIX] right tracker item id value for daily reports (fixing directly here and on branches/6.x since this fix is not applicable to trunk due to tracker revamp changes) chealer: RobertPlummer: looks good. it would be nice to document the change though, as it stands it's pretty hard to tell what the function does RobertPlummer: :)
understood chealer: RobertPlummer: the comment "if there was no content in the script, it is a src file" should be a couple of lines below RobertPlummer: oh, um ok.
can you confirm the minify bug chealer?
With minify on, and my script commented out, there is no change, it is a bombing bad. CIA-12: tikiwiki: 03oeversetten * r37093 10/trunk/img/flags/Libya.gif: I think the days of the green Libyan flag are quite over. RobertPlummer: chealer: If you do get a chance to test, make sure you have access to mysql, tiki becomes nearly unusable if minify is switched on. chealer: RobertPlummer: sorry, could you recap on what's wrong with minify? RobertPlummer: You get a timeout with it on.
and no js luciash: any idea why in trunk i get on the default HomePage notices for features i don't even have enabled ? coaboa: just svn uped to r37039 and now tiki-register.php & tiki-editpage.php produces an error 500 luciash: or at least Anonymous do not have perms to them → Undefined variable: tiki_p_search and Undefined variable: filegals_manager chealer: coaboa: I guess you mean 37093? we can't do much with, we need an error message
s/with/with a simple 500 error/ coaboa: php errors just show E_notices RobertPlummer: coaboa: What features do you have turned on? I can't reproduce. coaboa: and y my revision is 37090 sry RobertPlummer: coaboa: svn up once more and make sure you have applied the latest installer updated. coaboa: mom RobertPlummer: mom? coaboa: moment
;-) RobertPlummer: ok chealer: RobertPlummer: my trunk r37091 seems to keep working with minify enabled RobertPlummer: chealer: What features do you have on? chealer: RobertPlummer: many? :-S RobertPlummer: chealer: Do you have on caching?
chealer: About what you said about adding the updates I added to wiki caching to documentation...http://dev.tiki.org/Including+JavaScript
chealer: I don't know if I need to really update anything, I just made it work. coaboa: so now I'am on 37093 still the same. Have to many features activated to post here: should I export yaml and drop to dev list? RobertPlummer: chealer: It was really just a bug, or an incomplete feature, and I completed it. chealer: coaboa: RobertPlummer was asking features to me (unless that was by error) RobertPlummer: chealer: I asked him at 4:19:28 (est) chealer: RobertPlummer: oh, sorry. sorry coaboa RobertPlummer: :)
We all make mistakes. chealer: RobertPlummer: I do have the global wiki cache enabled. maybe it's simpler for you to check: http://ido.ath.cx:8080/tiki/trunk/ RobertPlummer: lol coaboa: ;-) RobertPlummer: Ah, I see chealer you have played with codemirro a little.
#codemirror chealer: RobertPlummer: yeah, that was a test for the codemirror plugin. now working :-)
coaboa: I don't think telling us the features will be efficient. can you grant access to the problematic site? RobertPlummer: chealer: good point chealer: nkoth|nelson: is cs_design_categories() from wikiplugin_customsearch.php in use? should it be kept? nkoth|nelson: chealer, yes ***: CodyG has joined #tikiwiki CodyG: polom everyone... hope your day/night is going well. nkoth|nelson: chealer, all of the cs_design are called from within the plugin
line 34 luciash: hi CodyG ***: Bernard has quit IRC (Quit: Leaving.) chealer: nkoth|nelson: OK, sorry, looked too fast coaboa: chealer: it's local dev machine nkoth|nelson: chealer: I mean line 204 CodyG: hi luciash and everyone. i tried to upgrade to 7.2, had db error about perms column in user table, I carried on but couldn't get a successful login.
i guess i'll try again tomorrow chealer: nkoth|nelson: yeah, thanks ***: Trebly has joined #tikiwiki coaboa: have to go ***: Bernard has joined #tikiwiki coaboa: good night ***: coaboa is now known as coaboa|afk CodyG: or might i have had the issue because i tried to upgrade from tiki 7.0? luciash: CodyG: 7.2 isn't out yet, right ? CodyG: right, it isn't, i know that
but i like to jump in there and try things luciash: ok, might be some bug slipped in
i didn't test recently myself CodyG: i have a scr capture of the db error. luciash: 7.2 CodyG: should i post it somewhere? ***: Bernard has quit IRC (Ping timeout: 260 seconds) luciash: CodyG: http://dev.tiki.org/Tiki7 CodyG: I've got tiki 7.0 on this domain/subdir and maybe I should have done a 7.1 upgrade and then a 7.2 upgrade.. but the new stuff is more fun. ;) I'm putting 7.1 on that domain now.
ta luciash: CodyG: make sure u did db update and cleared cache CodyG: yes, did all that luciash: CodyG: add it to blockers if it prevents usage CodyG: 7.2 isn't mentioned on that page, i got it from the svn luciash: feel free to ad it - it will be sorted out
add CodyG: I probably needed to go to 7.1 on that domain, so tomorrow i'll do an upgrade of another domain and try 7.2 again. luciash: ok CodyG: i just can't keep my fingers off the new tiki. ;) luciash: :D RobertPlummer: nkoth|nelson: Is there a language picker that I can use for that forum feature?
Or you want it to be just <input type="text" />
? nkoth|nelson: RobertPlummer it should be the same picker as for say, a wiki page, it reads the alliwed languages set as a pref on the system RobertPlummer: ok luciash: yup, re-use code CodyG: oops, i just broke something. After 7.1 install I had the same login issue as I had with the 7.2 install. The install worked fine until it tried to create a lock file. There is no lock file in /db. So, no lock file to remove and re-run tiki-install. nkoth|nelson: anyone used autosavefields and autosavevalues in trunk wikiplugin_ttacker? I have a problem with it and debugging...
CodyG, no lock file means you can just re-run CodyG: i found the lock file using cpanel file manager... bad filezilla, bad! but now i'm in an install loop when I think I should be at a login it takes me back to the beginning of the install loop.
i repaired the db already
that didn't help, not much in that db anyways. perhaps i should install the backup mysql.
or maybe it's a file
or maybe it's almost time to walk the dog... 2:30pm here on vancouver island. CIA-12: tikiwiki: 03robertplummer * r37094 10/trunk/ (5 files in 5 dirs): [NEW] Added forum language to db and forum admin page nkoth|nelson: why is it in iwikiplugin_tracker sometimes it is ins_$f sometimes track[$f]? CodyG: bbl CIA-12: tikiwiki: 03robertplummer * r37095 10/trunk/lib/profilelib/installlib.php: [FIX] Added forum_langauge to profile installer for forums RobertPlummer: nkoth|nelson: I am going to work on the adding of language a bit more tonight, but I have to hit the road for now.
nkoth|nelson: Looks like all that needs to be done is to add it to the search indexer and the forum posts.
I'm out. nkoth|nelson: cylater ***: RobertPlummer has quit IRC (Ping timeout: 260 seconds) CIA-12: tikiwiki: 03nkoth * r37096 10/trunk/lib/wiki-plugins/wikiplugin_tracker.php: [FIX] autosavefields not saving
tikiwiki: 03nkoth * r37097 10/trunk/lib/wiki-plugins/wikiplugin_tracker.php: [REF] The use of track should have been gone from Tiki by now with all that refactoring, and anyway it does not seem like ['track'] is being handled anymore anyway
tikiwiki: 03nkoth * r37098 10/trunk/lib/wiki-plugins/wikiplugin_tracker.php: [FIX] saving of autosavefield with value of pref not working ***: arildb has quit IRC (Quit: Leaving) chealer: 255 characters for a language... that can't be called casting everyone in the same mould! ***: Trebly has quit IRC (Ping timeout: 260 seconds) luciash: chealer: ?
255 should be enough for language name chealer: luciash: definitely! luciash: you think it is too much ?
sorry, i din't understand your j(f)k
;) chealer: with that length we can probably uniquely identify every human's way of speaking :-)
luciash: yeah, that was an understatement ;-) luciash: but there can be some really long ones i guess in the world
i mean some ethnic groups or natives can have long language names chealer: (I don't really think it's a problem, let's just say it's very safe :-) ) luciash: yup yup, good thing (tm) chealer: could be he didn't feel like reading the whole http://www.faqs.org/rfcs/rfc4646.html :-) luciash: ah, we talk about language tags only ? anyway, zh-Latn-CN-variant1-a-extend1-x-wadegile is pretty long chealer: luciash: yeah, these tags can be pretty long compared to the longest language names you could imagine :-) ***: arildb has joined #tikiwiki arildb: Hi, I am looking into adding a check in the Tiki installer to see if 1) IIS is running and 2) if so, check if "problem files", due to a missing URL Rewriter module, are accessable or not. The IIS check works fine. Info is in the PHP environment. I am having a little problem checking the file access.
I tried file_exists....but that is a PHP call, and I assume server side calls will work OK. So, I will need to integrate client side Javascript...or something like that...in the installer. luciash: hi arildb arildb: luciash: Hi luciash: isn't there any internal check for the web.config file simmilar to .htaccess one ? like if the mod exists ... do this
i mean apache rewrite module
if IIS has something like that to check arildb: The problem is that the rewrite rules defined in web.config only will work if the URL Rewrite module is installed. I haven't found a way to check if the actual module is installed or not. So, I figured I'd try to check the file access. luciash: apache .htaccess has this: <IfModule mod_rewrite.c> ... </IfModule>
did u look if web.config has some simmilar syntax to check if module is installed ? arildb: It's similar in IIS, but the URL module does the interpreting. If it's misisng an error occurs and files become inaccassable
I see what you mean. I will check chealer: hi arildb arildb: chealer: hi chealer: luciash: the goal is to determine from the installer whether the IIS module is available, not really to prevent HTTP errors in these directories.
arildb: that's so complicated, it's a shame if IIS doesn't advertise that to PHP. but if we have to go on that road, you can still do it in PHP by doing an HTTP request. arildb: chealer: That's the along the path I was thinking. I cannot find any means of checking for the presence of the URL Rewrite module in web.config (so far), like luciash suggested. My original idea was to test it, by simulating a request to a "problem file". If it goes through, URL Rewrite is probably installed. If not, probably not.
So, the next challenge is to send the HTTP request (client side) from PHP. Any ideas?
..and then interpreting the result in PHP
surely complicated..
...or actually...it could all be done client side, since all I am aiming for is to notify the user, if the URL Rewrite module is missing. ***: RobertPlummer has joined #tikiwiki
RobertPlummer has quit IRC (Client Quit) arildb: Q: What would a Javascript look like that returned a boolean if a file could be loaded or not? ***: RobertPlummer has joined #tikiwiki chealer: arildb: I'm not sure but there's tikilib->httprequest()
arildb: that may not be safe to call from the installer though, unfortunately :-( nkoth|nelson: arildb: you mean you want to check if a certain url returns something or an error? arildb: chealer: I got a googled hit on jquery .load(). Do you know if jquery is available at install time? nkoth|nelson: yeah, I was going to ask the same question chealer: arildb: I suppose you could do it with JavaScript too, although it would be ideal to know whether the server is IIS arildb: chealer: My assumption is that if a known problem file cannot be loaded, the installation is probably running IIS and does not have the URL Rewrite module chealer: arildb: not sure, but wouldn't rely on that
arildb: oh. yeah, or could have first checked whether the server is IIS. arildb: chealer: yes, better to know if IIS or not, but not necessary. All that's needed, I believe is to give a hint to the user if a "problem file" cannot be loaded chealer: arildb: yeah. you could try http://framework.zend.com/manual/1.11/fr/zend.http.client.html arildb: chealer: checking...but would that be server side? chealer: arildb: yes arildb: chealer: I believe on the server the error is not visible RobertPlummer: nkoth|nelson: You around? nkoth|nelson: RobertPlummer, yes Tiki|bot: New Forum Posts: zip download broken in 7.1? - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=42208 RobertPlummer: nkoth|nelson: So Search_ContentSource_ForumPostSource is what needs updated to index language correct?
For indexer nkoth|nelson: I think so RobertPlummer: ok, I will make sure. chealer: arildb: I don't see why the error wouldn't be visible from the server side. IIS doesn't really make a difference between a local request and a remote request nkoth|nelson: RobertPlummer: I am 91.7% sure
lol chealer: (the user agent could be on the same machine as httpd too) arildb: chealer: maybe you are right. Let me check it a little RobertPlummer: nkoth|nelson: I am I think it is more like 60/60. chealer: bbl ***: redflo has left