Cytowanie Vincent Stoessel <[EMAIL PROTECTED]>:

> Maybe I have old code somewhere :(  when I removed and then
> created a new gallery, I got 
> /GLOBAL/25fcf3e6d06803de2606e2bdc4e30c0f/GALLERY
> again and thus the same problem again.

Grrr I need few Men in Black - those bugs are bit irritating :-)

Check and corrent /AegirAddOn_Gallery/lib/menu_functions lines as following:

52:         else {
53:             // to create sitegroup snippetdir
54:             if ( ! ($sitegroupguid_id = mgd_create_snippetdir
($globals_id,$guid,"","") )) return 0;
55:             // change sitegroup
56:             $guid_obj = mgd_get_snippetdir($sitegroupguid_id);
57:             $guid_obj->setsitegroup($sid);
58: 
59:             $gallery=mgd_get_snippetdir();
60:             $gallery->up=$guid_obj->id;
61:             $gallery->name="GALLERY";
62:             $gallery_id=$gallery->create();
63:             $gallery=mgd_get_snippetdir($gallery_id);
64:             $gallery->setsitegroup($sid);
65: 
66:             if ( $gallery_id ) return ($gallery_id);
67:             else return 0;



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to