[horde] Class definition of Horde_Cache_emcache not found - Revisted
d.hill at yournetplus.com
d.hill at yournetplus.com
Mon Aug 3 04:45:05 UTC 2009
Quoting Michael Rubinsky <mrubinsk at horde.org>:
>
> Quoting d.hill at yournetplus.com:
>
>> Quoting Michael Rubinsky <mrubinsk at horde.org>:
>>
>>>
>>> Quoting d.hill at yournetplus.com:
>>>
>>>> Quoting Michael Rubinsky <mrubinsk at horde.org>:
>>>>>
>>>>> Quoting d.hill at yournetplus.com:
>>>>>
>>>>>> Quoting Michael Rubinsky <mrubinsk at horde.org>:
>>>>>>
>>>>>>>
>>>>>>> Quoting d.hill at yournetplus.com:
>>>>>>>
>>>>>>>> I'm still getting an error relating to 'Class definition of
>>>>>>>> Horde_Cache_emcache not found' periodically.
>>>>>>>>
>>>>>>>> I have added my email account as an admin so I could get the
>>>>>>>> full error message. Being the content of the text is over
>>>>>>>> 500Kb, here is a link to the text of what I receive
>>>>>>>> periodically:
>>>>>>>>
>>>>>>>> http://mail.yournetplus.com/d.hill/Horde_Cache_emcache.txt
>>>>>>>>
>>>>>>>> I've changed all of the sensitive information (E.g. server
>>>>>>>> domain names and passwords) to protect the innocent.
>>>>>>>>
>>>>>>>> Can anyone shed light as to what is going on? I have very
>>>>>>>> little PHP experience to debug this issue.
>>>>>>>
>>>>>>> This is very bizarre. It looks like you either have a corrupt
>>>>>>> Cache.php file or a badly broken PHP build.
>>>>>>>
>>>>>>> Can you post what the factory() method looks like in
>>>>>>> lib/Horde/Cache.php? Even better, you can place
>>>>>>> var_dump($driver) statements in various locations in that
>>>>>>> method and see where the string is losing the first character.
>>>>>>
>>>>>> Thanks for your quick response. I have placed var_dump($driver)
>>>>>> after all of the if statements within that particular methond.
>>>>>
>>>>> ...and what are the results of the var_dump()s?
>>>>
>>>> The error has not occured as of yet. I'm assuming the var_dump()
>>>> will show something in the logs. What would I be looking for?
>>>> Also, is it going to show something on the dump page I get when
>>>> the error occures?
>>>
>>> No, var_dump was a quick and dirty way of getting the value of
>>> that variable...it will display on the screen. If you want it to
>>> appear in the log, you should do something like:
>>>
>>> Horde::logMessage(print_r($driver, true), _FILE__, __LINE__,
>>> PEAR_LOG_DEBUG);
>>>
>>> ..and this will not happen only if there is an error - it will log
>>> every time.
>>
>> I must not be looking for the correct log line. I've looked in the
>> horde log and apache log and don't see anything that sticks out.
>
> You're looking in the wrong log. The error you're pasting is from
> the web server error log, you need to look in the horde log for the
> debug output.
As I stated, I was looking in the Horde log file and do not know what
I should be looking for.
More information about the horde
mailing list