[horde] My own modules block activesync

Michael J Rubinsky mrubinsk at horde.org
Mon May 9 15:46:42 UTC 2016


Resending to list.


Quoting Michael J Rubinsky <mrubinsk at horde.org>:

> Quoting Soporte SCHOLEM <soporte at scholem.edu.ar>:
>
>> Hello, Mike. Thank you for your fast answer.
>> What I want to do is adding a menu option for linking to other  
>> Intranet apps.
>> The code that I added is very simple: it adds a menu item and links  
>> to an internal webpage. That Intranet app should not sync. Simply I  
>> want to keep synchronizing all the Horde's apps.
>> These are the files I put into /config/registry.d
>>
>> ***intranet.php***
>> <?
>> $this->applications['intranet'] = array(
>>    'name' => _("Sistemas de Intranet"),
>>    'status' => 'link',
>>  
>>         // This is sufficient. More options possible if needed
>> );
>> ?>
>>
>> ***stock.php***
>> <?
>> $this->applications['stock'] = array(
>>
>>    'name' => _("Pedidos de Stock"),
>>    'status' => 'link',
>>    'target' => '_blank',
>>    'webroot' => 'http://here_the_path',
>>    'initial_page' => 'stock.htm',
>>    'menu_parent' => 'intranet',
>>         // This is sufficient. More options possible if needed
>>  
>> );
>> ?> 
>>
>> When I put them into registry.d folder, activesync does not sync  
>> anymore (mail, tasks, calendar, contacts).
>> When I empty the folder, activesync begins to sync again
>> Our Horde version is fully updated to 5.2.14
>> Thank you again for your comments
>> Carlos
>
>
> There is absolutely no reason why those entries should prevent  
> syncing...in fact they should not interact with the sync code at all.
>
> The only thing I can think of is that maybe there is a syntax error  
> in one of those files, or perhaps a extraneous whitespace character  
> outside of the <?php ?> tags.  Make sure there is NOTHING before the  
> opening tag, and remove the closing tag on each page. Also, check  
> the horde log and webserver error log for any relevant entries.
>
>
>> ----- Mensaje de horde-request at lists.horde.org ---------
>>       Fecha: Thu, 05 May 2016 12:00:38 +0000
>>          De: horde-request at lists.horde.org
>> Responder-A: horde at lists.horde.org
>>      Asunto: horde Digest, Vol 4596, Issue 1
>>        Para: horde at lists.horde.org
>>
>>> Send horde mailing list submissions to
>>>         horde at lists.horde.org
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>         http://lists.horde.org/mailman/listinfo/horde
>>> or, via email, send a message with subject or body 'help' to
>>>         horde-request at lists.horde.org
>>>
>>> You can reach the person managing the list at
>>>         horde-owner at lists.horde.org
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of horde digest..."
>>>
>>> Today's Topics:
>>>
>>>   1. Re: My own modules block activesync (Michael J Rubinsky)
>>>   2. IMP tables (grupo correo)
>>>   3. Re: IMP tables (Vilius Sumskas/LNK)
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Wed, 04 May 2016 09:32:58 -0400
>>> From: Michael J Rubinsky <mrubinsk at horde.org>
>>> To: horde at lists.horde.org
>>> Subject: Re: [horde] My own modules block activesync
>>> Message-ID:
>>>          
>>> <20160504093258.Horde.RyqNgWrmDf4eftGYeni_Xj- at h4.theupstairsroom.com>
>>> Content-Type: text/plain; charset="utf-8"; Format="flowed";
>>>         DelSp="Yes"
>>>
>>> Quoting Soporte SCHOLEM <soporte at scholem.edu.ar>:
>>>
>>>> Hello, Team.
>>>> We would want to integrate Horde with other app, so we developed our
>>>> first module following the howto
>>>> https://wiki.horde.org/CreatingYourFirstModule.
>>>> It is easy for now: it just jumps to an app in a popup.
>>>> When we copy the generated files into /config/registry.d, the new
>>>> option on menu appears and the link works fine, but activesync stops
>>>> to sync all the devices with this error in debug log:
>>>>
>>>> ERR: [1063] Attempting to add a collection
>>>> ? ? ? ? ? ? ? ? ? ? to the sync cache while requiring a synckey, but no
>>>> ? ? ? ? ? ? ? ? ? ? synckey could be found. Most likely a client error in
>>>> ? ? ? ? ? ? ? ? ? ? requesting a collection during PING before it
>>>> has issued a
>>>> ? ? ? ? ? ? ? ? ? ? SYNC.
>>>
>>> I'm having a hard time figuring out why any code outside of a
>>> sync-able application would cause this. However, I can't say
>>> *anything* about it without seeing what your code is/does.
>>>
>>>> If we delete the files in registry.d, activesync works again.
>>>> Has anybody the same problem? May we make something wrong?
>>>> Thank you in advance
>>>
>>> Does your code implement any APIs that would normally be synced via a
>>> traditional Horde app?
>>>
>>> --
>>> mike
>>> The Horde Project
>>> http://www.horde.org
>>> https://www.facebook.com/hordeproject
>>> https://www.twitter.com/hordeproject
>>> -------------- next part --------------
>>> A non-text attachment was scrubbed...
>>> Name: smime.p7s
>>> Type: application/pkcs7-signature
>>> Size: 5751 bytes
>>> Desc: S/MIME Signature
>>> URL:  
>>> <http://lists.horde.org/archives/horde/attachments/20160504/097d91ac/attachment-0001.bin>
>>>
>>> ------------------------------
>>>
>>> Message: 2
>>> Date: Thu, 5 May 2016 10:28:52 +0200
>>> From: grupo correo <grupodecorreo10 at gmail.com>
>>> To: horde at lists.horde.org
>>> Subject: [horde] IMP tables
>>> Message-ID:
>>>          
>>> <CALxU0yqzf6AjWMr9C-E9+gYD1Pz6iF4grr9ZLTjV6ats3ti8kQ at mail.gmail.com>
>>> Content-Type: text/plain; charset=UTF-8
>>>
>>> Hi List,
>>>
>>> We have implemented a task to download the database to protect from
>>> possible fails.
>>>
>>> Currently we download all tables in the database, but we only need that, in
>>> these cases, the mail service is provided. Can you tell us which tables are
>>> required to give access only for IMP?
>>>
>>> Thanks a lot and regards.
>>>
>>> ------------------------------
>>>
>>> Message: 3
>>> Date: Thu, 5 May 2016 11:42:41 +0300
>>> From: Vilius Sumskas/LNK <vilius at lnk.lt>
>>> To: horde at lists.horde.org
>>> Subject: Re: [horde] IMP tables
>>> Message-ID:
>>>          
>>> <OFFE40329D.9A5F1719-ONC2257FAA.002F80C7-C2257FAA.002FDAC7 at mgbaltic.lt>
>>>
>>> Content-Type: text/plain; charset="US-ASCII"
>>>
>>> Hi,
>>>
>>>> Hi List,
>>>>
>>>> We have implemented a task to download the database to protect from
>>>> possible fails.
>>>>
>>>> Currently we download all tables in the database, but we only need that,
>>>
>>> in
>>>> these cases, the mail service is provided. Can you tell us which tables
>>>
>>> are
>>>> required to give access only for IMP?
>>>>
>>>> Thanks a lot and regards.
>>>
>>> It depends what you have in mind when you say IMP. For example, IMP uses
>>> tables which start with "imp_", but the contacts are stored in tables
>>> which start with "turba_".
>>>
>>> Also it depends on what functionality you are using in the Horde itself.
>>>
>>> If I were you I just backup full database. There is not much practical
>>> reason to backup only some tables. The tables which are not used will be
>>> empty anyway, so they won't take much space.
>>>
>>> --
>>>   Vilius
>>>
>>> ------------------------------
>>>
>>> Subject: Digest Footer
>>>
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>
>>> ------------------------------
>>>
>>> End of horde Digest, Vol 4596, Issue  
>>> 1**************************************
>>
>> ----- Terminar mensaje de horde-request at lists.horde.org -----
>>  
>> CARLOS MARTíNEZ
>>  /Responsable IT/
>>  O.E.I. SCHOLEM ALEIJEM
>> Tel: (011) 4855-4200
>> http://www.scholem.edu.ar
>>
>> -------------------------
>> Antes de imprimir este correo, piense bien si es necesario hacerlo.
>> El medio ambiente es un problema de todos.
>>
>> ----- Terminar mensaje de Carlos Martinez <cmartinez at scholem.edu.ar> -----
>> ------------------------------------------------------------------------------------
>> Antes de imprimir este correo, piense bien si es necesario hacerlo.
>> El medio ambiente es un problema de todos.
>> -- 
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
> -- 
> mike
> The Horde Project
> http://www.horde.org
> https://www.facebook.com/hordeproject
> https://www.twitter.com/hordeproject



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5751 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20160509/22e3d9cb/attachment-0001.bin>


More information about the horde mailing list