[horde] GIT questions..
Simon Brereton
simon.buongiorno at gmail.com
Tue Mar 12 08:38:12 UTC 2013
On 11 March 2013 18:58, Michael J Rubinsky <mrubinsk at horde.org> wrote:
>
> Quoting Simon Brereton <simon.buongiorno at gmail.com>:
>
>> On 11 March 2013 18:13, Simon Brereton <simon.buongiorno at gmail.com> wrote:
>>>
>>> On 11 March 2013 17:13, Michael J Rubinsky <mrubinsk at horde.org> wrote:
>>>>
>>>>
>>>> If you mean it can't find the IMAP server, this has nothing to do with
>>>> how
>>>> you are installing. This is a configuration error.
>>
>>
>> See below.
>>
>>>> If you are using file-based caching, you can just nuke the files
>>>> yourself.
>>>
>>>
>>> I'm less inclined to think this is the error now - but where do I do
>>> that?
>>
>>
>> I nuked the /tmp directory (of files).
>> Well, that fixed the server not found error by imp - I have mail again :)
>>
>>>>> install_dev.conf
>>>>> // The list of apps to create symlinks for
>>>>> $apps = array('horde', 'imp', 'kronolith', 'turba', 'ingo', 'mnemo',
>>>>> 'nag', 'passwd');
>>>>
>>>>
>>>>
>>>> Content is missing.
>>>
>>>
>>> I didn't have it there last week and it didn't seem to be a problem.
>>> Although I think it's something that should be mentioned in the file -
>>> one of the changes I'll push when I have the time. I've added it and
>>> rerun install_dev but it hasn't made a difference.
>>
>>
>>>>> $app_webroot = '';
>>>>
>>>>
>>>>
>>>> Try "/".
>>>>
>>>>>>> Additionally, I have this in the logs.
>>>>>>> [Mon Mar 11 13:51:36 2013] [error] [client 88.79.126.18] PHP Fatal
>>>>>>> error: Call to a member function getInstance() on a non-object in
>>>>>>> /usr/share/git-horde5/framework/Core/lib/Horde.php on line 76
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> http://bugs.horde.org/ticket/12103
>>>>>
>>>>>
>>>>>
>>>>> I don't think it's related to that ticket - it wasn't just turba
>>>>> affected.
>>>>
>>>>
>>>>
>>>> It's still the same issue. There is NO way for that error to occur
>>>> without
>>>> your php being either broken or misconfigured.
>>>
>>>
>>> The later is more likely, although I haven't changed anything in the
>>> php config since I put the server in production 12 months ago.
>>
>>
>> This is currently my only remaining issue, but I don't understand the
>> ticket, the proposed solution or what I need to do. I could add the
>> lines suggested, but my reading of it is that the Horde devs do not
>> think this is necessary or advised.
>
>
> A possible fix has already been committed to Git.
>
> Git moves fast, you have to keep up =)
True enough. I'd done a pull yesterday, but having done another one,
there's a few more files.
I cleared the cache after doing the pull and upon login I had some
progress. This time my portal page is not blank, but I get the error:
A fatal error has occurred
The Content_Tagger class could not be found. Make sure the Content
application is installed.
1. Horde_Core_Factory_BlockCollection->create()
/usr/share/git-horde5/horde/services/portal/index.php:31
2. Horde_Core_Block_Collection->__construct()
/usr/share/git-horde5/framework/Core/lib/Horde/Core/Factory/BlockCollection.php:61
3. Horde_Registry->getAppDrivers()
/usr/share/git-horde5/framework/Core/lib/Horde/Core/Block/Collection.php:43
4. Horde_Registry->pushApp()
/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php:1917
5. Horde_Registry->_pushAppError()
/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php:1562
6. Horde_Core_Factory_BlockCollection->create()
/usr/share/git-horde5/horde/services/portal/index.php:31
7. Horde_Core_Block_Collection->__construct()
/usr/share/git-horde5/framework/Core/lib/Horde/Core/Factory/BlockCollection.php:61
8. Horde_Registry->getAppDrivers()
/usr/share/git-horde5/framework/Core/lib/Horde/Core/Block/Collection.php:43
9. Horde_Registry->pushApp()
/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php:1917
10. Horde_Registry->callAppMethod()
/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php:1557
11. call_user_func_array()
/usr/share/git-horde5/framework/Core/lib/Horde/Registry.php:1152
12. Horde_Registry_Application->init()
13. Kronolith_Application->_init()
/usr/share/git-horde5/framework/Core/lib/Horde/Registry/Application.php:105
Navigating to imp directly, I got a message that a db schema (nag)
needed updating. When I tried to update this, I get more dire
warnings about the Content_Tagger class.
Per your advise yesterday, my install_dev.conf has:
// The list of apps to create symlinks for
$apps = array('horde', 'imp', 'kronolith', 'turba', 'ingo', 'mnemo',
'nag', 'passwd', 'Content');
Is this correct?
changing this to "content" doesn't change it. (I reran php
./frameworks/bin/install_dev).
It is in the webroot:
mail:/usr/share/git-horde5# ls ../horde-beta/
total 16K
drwxr-xr-x 4 root root 4.0K Mar 12 08:20 ./
drwxr-xr-x 153 root root 4.0K Mar 8 08:31 ../
lrwxrwxrwx 1 root root 33 Mar 12 08:20 admin ->
/usr/share/git-horde5/horde/admin
lrwxrwxrwx 1 root root 31 Mar 12 08:20 bin ->
/usr/share/git-horde5/horde/bin
lrwxrwxrwx 1 root root 34 Mar 12 08:20 config ->
/usr/share/git-horde5/horde/config
lrwxrwxrwx 1 root root 29 Mar 12 08:20 content ->
/usr/share/git-horde5/content
etc..
The only thing I can find on Google is really old -
http://horde.690.n7.nabble.com/The-Content-Tagger-class-could-not-be-found-tp51215p51217.html
But I do have it in registry.php (as a later post on a different
thread by Mike R confirms).
I can solve the nag db update by doing
mail:/usr/share/git-horde5# horde/bin/horde-db-migrate nag up
[ INFO ] Migrating DB up.
[ INFO ] Current nag schema version: 11
Migrating to NagFixSmartlists (12)
At this point, imp works, notes works, turba works, passwd gives me a
blank screen (was working yesterday), kronolith has the above error
and nag has this error:
A fatal error has occurred
Class Content_Types_Manager does not exist
1. require() /usr/share/git-horde5/nag/index.php:20
2. Nag_View_List->__construct() /usr/share/git-horde5/nag/list.php:14
3. Nag_Factory_TagBrowser->create()
/usr/share/git-horde5/nag/lib/View/List.php:70
4. Horde_Injector->getInstance()
/usr/share/git-horde5/nag/lib/Factory/TagBrowser.php:10
5. Horde_Injector->createInstance()
/usr/share/git-horde5/framework/Injector/lib/Horde/Injector.php:247
6. Horde_Injector_Binder_AnnotatedSetters->create()
/usr/share/git-horde5/framework/Injector/lib/Horde/Injector.php:213
7. Horde_Injector_Binder_Implementation->create()
/usr/share/git-horde5/framework/Injector/lib/Horde/Injector/Binder/AnnotatedSetters.php:69
8. Horde_Injector_Binder_Implementation->_getInstance()
/usr/share/git-horde5/framework/Injector/lib/Horde/Injector/Binder/Implementation.php:62
9. ReflectionClass->newInstanceArgs()
/usr/share/git-horde5/framework/Injector/lib/Horde/Injector/Binder/Implementation.php:82
10. Horde_Core_Tagger->__construct()
11. Horde_Injector->getInstance()
/usr/share/git-horde5/framework/Core/lib/Horde/Core/Tagger.php:61
12. Horde_Injector->createInstance()
/usr/share/git-horde5/framework/Injector/lib/Horde/Injector.php:247
13. Horde_Injector_Binder_AnnotatedSetters->create()
/usr/share/git-horde5/framework/Injector/lib/Horde/Injector.php:213
14. Horde_Injector_Binder_Implementation->create()
/usr/share/git-horde5/framework/Injector/lib/Horde/Injector/Binder/AnnotatedSetters.php:69
15. ReflectionClass->__construct()
/usr/share/git-horde5/framework/Injector/lib/Horde/Injector/Binder/Implementation.php:60
Simon
More information about the horde
mailing list