Remi Collet | 26 Jul 11:01 2015

Horde_Util, failed test with recent glibc

Hi,

In Fedora CI, Horde_Util test suite start failing.
https://apps.fedoraproject.org/koschei/package/php-horde-Horde-Util

1) Horde_Util_TransliterateTest::testTransliterateToAsciiIconv with
data set #1 ('AÀBÞEÉSß', 'AAB?EESss')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
 <at>  <at>   <at>  <at> 
-'AAB?EESss'
+'AABTHEESss'

/builddir/build/BUILD/php-horde-Horde-Util-2.5.5/Horde_Util-2.5.5/test/Horde/Util/TransliterateTest.php:73

2) Horde_Util_TransliterateTest::testTransliterateToAsciiIconv with
data set #2 ('AÀ黾BÞ', 'AA?B?')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
 <at>  <at>   <at>  <at> 
-'AA?B?'
+'AA?BTH'

This is related to iconv, where "Þ" is now translated as "TH"
(like with intl).

Fedora rawhide, glibc 2.21.90:
  $ php -r 'var_dump(iconv("UTF-8", "ASCII//TRANSLIT", "Þ"));'
(Continue reading)

Remi Collet | 20 Jul 11:45 2015

Horde_DAV


Howdy  <at> horde

AFAIK, Horde_DAV 1.1.2 still provides sabre/dav 1.8.10
=> https://github.com/horde/horde/tree/master/framework/Dav/bundle

Latest upstream for 1.8.x is 1.8.12,
but only 2.0, 2.1 and 3.0 seems maintained.
=> http://sabre.io/dav/install/

I understand raising dependency on PHP 5.4 can be an issue.

I notice an old pull request
https://github.com/horde/horde/pull/135

What are the plan for this important component in Horde ?

Remi.
Sebastian Birnbach | 19 Jul 20:25 2015
Picon

Get creation date of wicked page?

Is there a way to retrieve the creation date of a wicked page? Not the date
of creation of the current version but the very first creation date.

Thanks

  Sebastian
--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

Sebastian Birnbach | 17 Jul 12:43 2015
Picon

wicked API

All,

please forgive me if I am asking stupid questions here but I am having
ongoing problems using the API of wicked -- and also of other horde
modules. Here are my questions:

I am playing with blocks and want to access the wicked API for getting page
information:
$res = $registry->call('wiki/getPageInfo', array('mypage'));

1.) APIname 'wiki' corresponds to wicked, 'contacts' to turba (a little
less intuitive), how about the other modules, where are the APInames
defined?
2.) I am surprised that the second argument needs to be an array even
though the documentation says string. It's not the parameter passing as
such as the pageExists method works fine on a string
3.) with the above code I get an Exception. From the syslog:
Jul 17 12:33:31 max HORDE: [wicked] Cannot access protected property
Wicked_Page_StandardPage::$_page [pid 31625 on line 59 of
"/usr/local/www/apache24/data/wicked/lib/Api.php"]
4.) trying to work around with
$res = $registry->call('wiki/getMultiplePageInfo', array('mypage'));
I get a (to me) even more mysterious message:
Jul 17 12:16:46 max HORDE: [wicked] PHP ERROR:
require_once(/usr/local/www/apache24/data/wicked/lib/base.php): failed to
open stream: No such file or directory [pid 37311 on line 77 of
"/usr/local/www/apache24/data/wicked/lib/Api.php"]
AFAIK base.php was last used in horde version 3 or so. Any chance I failed
to installed an optional dependency?

(Continue reading)

Michael Menge | 7 Jul 15:05 2015
Picon

Unconfirmed bugs


Hi,

some of the bugs reported by me still have the status unconfirmed.

https://bugs.horde.org/ticket/14006
https://bugs.horde.org/ticket/14010
https://bugs.horde.org/ticket/14035

Is there anything that i can/need to do to help to confirm/solve these bugs?

Regards

     Michael

--------------------------------------------------------------------------------
M.Menge                                Tel.: (49) 7071/29-70316
Universität Tübingen                   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung          mail:  
michael.menge <at> zdv.uni-tuebingen.de
Wächterstraße 76
72074 Tübingen

--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org
Sebastian Birnbach | 26 Jun 13:16 2015
Picon

trean acting up

Dear all,

I keep getting FILE NOT FOUND errors when triggering certain actions.

Specifically:

Specifically, when I edit a bookmark I cannot save the changes and I cannot
delete a bookmark from the list of bookmarks.

The URL that is requested is /trean/b/save or /trean/b/delete,
respectively.

I compared this behaviour with a 5.6.1 installation I still have around and
it appears the request itself is OK, at least it shows up in the
httpd-access.log and everything seems to function.

Any ideas, anybody?

Kind regards

  Sebastian
--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

Sebastian Birnbach | 24 Jun 15:53 2015
Picon

migrating 'wicked' content from one installation to another

Dear all,

what is the recommended way of migrating wiki pages in the 'wicked'
application from one host to another? Both sites run the same version of
wicked so it might be done by exporting the SQL tables

wicked_pages
wicked_history
wicked_attachments
wicked_attachment_history and
wicked_schema_info

on the one side and incecting them on the other side. I am hesitating to do
that, though, because the users on both systems may not match.

Of course there is always the possibility of copy-pasting the source code
of each page from one system to the other but that would be rather tedious
on a larger system and the history and the attachments would be lost.

Thanks

  Sebastian
--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

Michael Menge | 19 Jun 15:32 2015
Picon

slow pageload before authentication

Hi,

after changing our production system to horde 5.2.5 (from horde 3) we  
discovered a strange
delay in loading the initial page (/ which redirects to login.php)  
Most of the time the page
loads in less than a second, but occasional it takes between 30 and 60  
seconds.

We discovered that the delay is on the server side, because the delay  
is visible in
the apache access logs. Setting the horde loglevel to debug we found  
for an delayed load of the initial
page the corrosponding pid produced over 32000 lines of

HORDE [horde] Horde_HashTable_Predis: Retrieved keys  
(djmss6knc7qpr31c9batplpr31) [pid 31663 on line 233 of  
"/usr/share/pear/Horde/HashTable/Base.php"]

for different keys. Is this number of keys expected behavior?
Any ideas what could cause this delay?

We use apc and redis as bytecode cache,  HashTable, Cache and Session Storage.

$conf['sessionhandler']['type'] = 'HashTable';
$conf['sessionhandler']['hashtable'] = false;
$conf['session']['cache_limiter'] = 'nocache';
$conf['share']['cache'] = false;
$conf['cache']['default_lifetime'] = 86400;
$conf['cache']['driver'] = 'Hashtable';
(Continue reading)

denis bahati | 16 Jun 14:10 2015
Picon

Horde Calendar Date Format

Dear All,
Is there a way to configure date format for Calendar when creating new event/task in Horde? It always
display date as 'MM/DD/YY', but I need to be 'DD/MM/YYYY' .
--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

Sebastian Birnbach | 14 Jun 21:57 2015
Picon

SOLVED: performance problems with horde

All,

thanks again for bearing with me. I finally (!!) solved my performance
problems and they were - surprise! - related to DNS.

In resolv.conf I had defined a secondary nameserver that now turned out not
to respond at all. For some reason it got queried every time Horde
processed a HTTP request. I have no clue
* why the secondary DNS was called at all
* why the secondary DNS was queried before the primary and
* why this didn't affect other PHP applications like phpMyAdmin.
Af any of you dev guys wants to know more I am ready to perform any test
you like.

I also noticed that pear application DNS2 throws errors like this on every
request:

Jun 14 21:35:00 max HORDE: PHP ERROR: Undefined offset: 1 [pid 6887 on line
416 of "/usr/local/share/pear/Net/DNS2.php"]

I experimentally put some debugging code two lines above the referenced
statement to dump $line and this it what it yields:

Jun 14 21:41:51 max HORDE: line is [removed name of domain in this example]
Jun 14 21:44:55 max HORDE: line is nameserver 192.168.0.10
Jun 14 21:44:55 max HORDE: line is options:timeout:1
Jun 14 21:44:55 max HORDE: PHP ERROR: Undefined offset: 1 [pid 6934 on line
418 of "/usr/local/share/pear/Net/DNS2.php"]

It seems like the timeout options for a DNS query doesn't get processed
(Continue reading)

Sebastian Birnbach | 12 Jun 14:33 2015
Picon

performance problem -> does horde use raw sockets

All,

I have made the host's ethernet interface available inside the jail and
checked with tcpdump if PHP secretly downloads a file as a reason for the
5-seconds-delay to every HTTP request. This does not seem the case, nothing
suspicious is going on.

Is it possible that horde is using raw sockets for something? A ping to
some internet host maybe? This concerns the base system, not one of the
applications (nag, kronolith etc), there are none installed yet.

Currently, nslookup is possible for everybody but ping is limited to root.
I am working on enabling it for users, too, just checking if I am barking
up the right tree.

Kind regards

  Sebastian
--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org


Gmane