[development] Left menu missing

John Morahan john.morahan at gmail.com
Tue Jul 22 22:07:34 UTC 2008


John Morahan wrote:
> Joel Penner (Volt) wrote:
>> Hey all,
>> I'm writing an abstraction layer for mssql and got the system up and working minus the left hand menu, it shows only 2 items if i clear the cache table but then after reloading it goes away again. Can someone point me in the right direction in the code?
>>
>> Joel Penner
>> Volt
>> Microsoft Open Source Software Lab
>>
> 
> Perhaps if we could see your code, we could tell you where you're going
> wrong?
> 
> ;)
> 
> -john
> 
> 

Oops.  I didn't actually mean to hit send on that snarky response, so I
guess I should actually try to be helpful. If you're working with Drupal
5, menu_get_menu() in includes/menu.inc is the only function I'm aware
of that reads or writes cached menu data.  In Drupal 6 there are quite a
few more.  Search for calls to cache_set and cache_get with 'cache_menu'
as the second parameter.

If you're writing a whole new database driver, my first guess would be
charset issues - I once accidentally converted a MySQL table to the
wrong charset and it broke the serialized data.

-john


More information about the development mailing list