Activating new (user made) layout not working in Alpha 4

lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Mon, 2004-11-29 21:12

I downloaded and installed Alpha 4 this morning the same way I update G2 by deleteing the database and files by using /lib/test/tools and deleteing all the files the the gallery2 folder. Then I installed Alpha 4 and modified the global.tpl.local file to have the title images I want. Then I took the Matrix layout folder and copied it to a folder called lvthunder (the layout I want to make). I renamed Matrix to Lvthunder in the layout.inc file. I then modifed the pathbar.tpl and the sidebar.tpl (which I made the .local file since it's in the gallery templates folder now and not with the layout). I uploaded the lvthunder layout to the layouts folder and the sidebar.tpl.local to to the templates folder. Then I logged in to gallery as admin and actived lvthunder. I got the green message that says lvthunder was activated but when I looked at the page it still says activate under my lvthunder layout. I tried to switch to that layout but it didn't show up. Then I tried to activate again and got an error message. So I turned on debug mode and from what I could tell it was saying that the database already had that layout so I went to /lib/tools/test and rebuilt the database. I then reuploaded my layout and tried it again but the same thing happens. Here is the error message with buffered mode turned on. The first box shows the code the first time I activate it and the second shows when I try again.

 You are in debug mode so we are not automatically redirecting.
[continue]
http://www.lvthunder.com/gallery2/main.php?g2_view=core:SiteAdmin&g2_subView=core:AdminLayouts&g2_statusId=x29c401df&g2_navId=xee6d7d31
Gallery Debug Output

      file_exists(/home2/lvthund/gallery2/g2data/sessions/f5e2c366c373395a771ff00c5d894d5b)
clearstatcache()
filesize(/home2/lvthund/gallery2/g2data/sessions/f5e2c366c373395a771ff00c5d894d5b)
fopen(/home2/lvthund/gallery2/g2data/sessions/f5e2c366c373395a771ff00c5d894d5b,
rb, 0)
flock(Resource id #18, 6, )
fread(Resource id #18, 968)
flock(Resource id #18, 3, )
fclose(Resource id #18)
file_exists(/home2/lvthund/gallery2/g2data/cache/module/core/0/0/0.inc)
Initializing navigation
Continuing navigation xee6d7d31
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc)
file_exists(/home2/lvthund/gallery2/g2data//versions.dat)
file(/home2/lvthund/gallery2/g2data//versions.dat, )
[1101762518] can't guarantee 5 -- extending!
file_exists(/home2/lvthund/gallery2/g2data/cache/entity/0/0/5.inc)
file_exists(/home2/lvthund/gallery2/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/../../../modules/core/AdminLayouts.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/../../../modules/core/AdminLayouts.inc)

(mysql): 
        SELECT
          g2_UserGroupMap.g_userId
        FROM
          g2_UserGroupMap
        WHERE
          g2_UserGroupMap.g_userId = 5
          AND
          g2_UserGroupMap.g_groupId = '2'
         LIMIT 1   


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../layouts/lvthunder/layout.inc)
file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)

(mysql): 
                  SELECT
                    g2_PluginParameterMap.g_parameterName, 
                    g2_PluginParameterMap.g_parameterValue
                  FROM
                    g2_PluginParameterMap
                  WHERE
                    g2_PluginParameterMap.g_pluginType = 'layout'
                    AND
                    g2_PluginParameterMap.g_pluginId = 'Lvthunder'
                    AND
                    g2_PluginParameterMap.g_itemId = 0
                     


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0)
file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0)
file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder)
file_exists(/home2/lvthund/gallery2/g2data/cache/layout)
mkdir(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder, 755)
mkdir(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0, 755)
mkdir(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0, 755)
fopen(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc, wb,
0)
flock(Resource id #56, 2, )
fwrite(Resource id #56, ..., )
fwrite(Resource id #56, ..., )
fwrite(Resource id #56, ..., )
fwrite(Resource id #56, ..., )
fclose(Resource id #56)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/comment/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/customfield/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/debug/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/exif/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/gd/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/imageframe/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/imagemagick/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/netpbm/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/newitems/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/panorama/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/photoaccess/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/randomhighlight/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/register/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/remote/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/slideshow/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/squarethumb/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/thumbnail/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/thumbpage/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/uploadapplet/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/watermark/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/webcam/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/ImageFrameImpl.class)
realpath(/home2/lvthund/public_html/gallery2/modules/core/classes/../../..)
Binding text domain: modules_imageframe ->
/home2/lvthund/public_html/gallery2/modules/imageframe/locale
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames)
is_readable(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames)
opendir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/.)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/./frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/..)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/../frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/bamboo)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/bamboo/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/book)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/book/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/brand)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/brand/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/dots)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/dots/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/gold)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/gold/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/gold2)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/gold2/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/notebook)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/notebook/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/polaroid)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/polaroid/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/polaroids)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/polaroids/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/shadow)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/shadow/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/shell)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/shell/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/wood)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/wood/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/glow)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/glow/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/README.html)
readdir(Resource id #81)

(mysql): INSERT INTO g2_PluginParameterMap (g_pluginType,  g_pluginId, 
g_itemId,  g_parameterName,  g_parameterValue) VALUES ('layout', 
'Lvthunder',  0,  'rows',  3)   


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
is_dir(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
unlink(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)

(mysql): 
                  SELECT
                    g2_PluginParameterMap.g_parameterName, 
                    g2_PluginParameterMap.g_parameterValue
                  FROM
                    g2_PluginParameterMap
                  WHERE
                    g2_PluginParameterMap.g_pluginType = 'layout'
                    AND
                    g2_PluginParameterMap.g_pluginId = 'Lvthunder'
                    AND
                    g2_PluginParameterMap.g_itemId = 0
                     


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0)
fopen(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc, wb,
0)
flock(Resource id #100, 2, )
fwrite(Resource id #100, ..., )
fwrite(Resource id #100, ..., )
fwrite(Resource id #100, ..., )
fwrite(Resource id #100, ..., )
fclose(Resource id #100)

(mysql): INSERT INTO g2_PluginParameterMap (g_pluginType,  g_pluginId, 
g_itemId,  g_parameterName,  g_parameterValue) VALUES ('layout', 
'Lvthunder',  0,  'columns',  3)   


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
is_dir(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
unlink(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)

(mysql): 
                  SELECT
                    g2_PluginParameterMap.g_parameterName, 
                    g2_PluginParameterMap.g_parameterValue
                  FROM
                    g2_PluginParameterMap
                  WHERE
                    g2_PluginParameterMap.g_pluginType = 'layout'
                    AND
                    g2_PluginParameterMap.g_pluginId = 'Lvthunder'
                    AND
                    g2_PluginParameterMap.g_itemId = 0
                     


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0)
fopen(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc, wb,
0)
flock(Resource id #103, 2, )
fwrite(Resource id #103, ..., )
fwrite(Resource id #103, ..., )
fwrite(Resource id #103, ..., )
fwrite(Resource id #103, ..., )
fclose(Resource id #103)

(mysql): INSERT INTO g2_PluginParameterMap (g_pluginType,  g_pluginId, 
g_itemId,  g_parameterName,  g_parameterValue) VALUES ('layout', 
'Lvthunder',  0,  'showImageOwner',  0)   


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
is_dir(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
unlink(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)

(mysql): 
                  SELECT
                    g2_PluginParameterMap.g_parameterName, 
                    g2_PluginParameterMap.g_parameterValue
                  FROM
                    g2_PluginParameterMap
                  WHERE
                    g2_PluginParameterMap.g_pluginType = 'layout'
                    AND
                    g2_PluginParameterMap.g_pluginId = 'Lvthunder'
                    AND
                    g2_PluginParameterMap.g_itemId = 0
                     


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0)
fopen(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc, wb,
0)
flock(Resource id #106, 2, )
fwrite(Resource id #106, ..., )
fwrite(Resource id #106, ..., )
fwrite(Resource id #106, ..., )
fwrite(Resource id #106, ..., )
fclose(Resource id #106)

(mysql): INSERT INTO g2_PluginParameterMap (g_pluginType,  g_pluginId, 
g_itemId,  g_parameterName,  g_parameterValue) VALUES ('layout', 
'Lvthunder',  0,  'showAlbumOwner',  1)   


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
is_dir(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
unlink(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)

(mysql): 
                  SELECT
                    g2_PluginParameterMap.g_parameterName, 
                    g2_PluginParameterMap.g_parameterValue
                  FROM
                    g2_PluginParameterMap
                  WHERE
                    g2_PluginParameterMap.g_pluginType = 'layout'
                    AND
                    g2_PluginParameterMap.g_pluginId = 'Lvthunder'
                    AND
                    g2_PluginParameterMap.g_itemId = 0
                     


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0)
fopen(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc, wb,
0)
flock(Resource id #109, 2, )
fwrite(Resource id #109, ..., )
fwrite(Resource id #109, ..., )
fwrite(Resource id #109, ..., )
fwrite(Resource id #109, ..., )
fclose(Resource id #109)

(mysql): INSERT INTO g2_PluginParameterMap (g_pluginType,  g_pluginId, 
g_itemId,  g_parameterName,  g_parameterValue) VALUES ('layout', 
'Lvthunder',  0,  'useCaptureDate',  0)   


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
is_dir(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
unlink(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)

(mysql): 
                  SELECT
                    g2_PluginParameterMap.g_parameterName, 
                    g2_PluginParameterMap.g_parameterValue
                  FROM
                    g2_PluginParameterMap
                  WHERE
                    g2_PluginParameterMap.g_pluginType = 'layout'
                    AND
                    g2_PluginParameterMap.g_pluginId = 'Lvthunder'
                    AND
                    g2_PluginParameterMap.g_itemId = 0
                     


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0)
fopen(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc, wb,
0)
flock(Resource id #112, 2, )
fwrite(Resource id #112, ..., )
fwrite(Resource id #112, ..., )
fwrite(Resource id #112, ..., )
fwrite(Resource id #112, ..., )
fclose(Resource id #112)

(mysql): INSERT INTO g2_PluginParameterMap (g_pluginType,  g_pluginId, 
g_itemId,  g_parameterName,  g_parameterValue) VALUES ('layout', 
'Lvthunder',  0,  'albumFrame',  '')   


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
is_dir(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
unlink(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)

(mysql): 
                  SELECT
                    g2_PluginParameterMap.g_parameterName, 
                    g2_PluginParameterMap.g_parameterValue
                  FROM
                    g2_PluginParameterMap
                  WHERE
                    g2_PluginParameterMap.g_pluginType = 'layout'
                    AND
                    g2_PluginParameterMap.g_pluginId = 'Lvthunder'
                    AND
                    g2_PluginParameterMap.g_itemId = 0
                     


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0)
fopen(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc, wb,
0)
flock(Resource id #115, 2, )
fwrite(Resource id #115, ..., )
fwrite(Resource id #115, ..., )
fwrite(Resource id #115, ..., )
fwrite(Resource id #115, ..., )
fclose(Resource id #115)

(mysql): INSERT INTO g2_PluginParameterMap (g_pluginType,  g_pluginId, 
g_itemId,  g_parameterName,  g_parameterValue) VALUES ('layout', 
'Lvthunder',  0,  'itemFrame',  '')   


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
is_dir(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
unlink(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)

(mysql): 
                  SELECT
                    g2_PluginParameterMap.g_parameterName, 
                    g2_PluginParameterMap.g_parameterValue
                  FROM
                    g2_PluginParameterMap
                  WHERE
                    g2_PluginParameterMap.g_pluginType = 'layout'
                    AND
                    g2_PluginParameterMap.g_pluginId = 'Lvthunder'
                    AND
                    g2_PluginParameterMap.g_itemId = 0
                     


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0)
fopen(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc, wb,
0)
flock(Resource id #118, 2, )
fwrite(Resource id #118, ..., )
fwrite(Resource id #118, ..., )
fwrite(Resource id #118, ..., )
fwrite(Resource id #118, ..., )
fclose(Resource id #118)

(mysql): INSERT INTO g2_PluginParameterMap (g_pluginType,  g_pluginId, 
g_itemId,  g_parameterName,  g_parameterValue) VALUES ('layout', 
'Lvthunder',  0,  'photoFrame',  '')   


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
is_dir(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)
unlink(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)

(mysql): INSERT INTO g2_PluginMap (g_pluginType,  g_pluginId,  g_active)
VALUES ('layout',  'Lvthunder',  1)   


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
is_dir(/home2/lvthund/gallery2/g2data/cache/layout/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
unlink(/home2/lvthund/gallery2/g2data/cache/layout/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
realpath(/home2/lvthund/public_html/gallery2/modules/core/classes/../../..)

      

   Error (ERROR_STORAGE_FAILURE):

    * in file modules/core/classes/GalleryStorage/DatabaseStorage.class at line 782 (gallerystatus::error)
    * in file modules/core/classes/GalleryStorage.class at line 261 (mysqldatabasestorage::addmapentry)
    * in file modules/core/classes/interfaces/GalleryPluginMap.inc at line 112 (gallerystorage::addmapentry)
    * in file modules/core/classes/helpers/GalleryPluginHelper_medium.class at line 64 (gallerypluginmap::addmapentry)
    * in file modules/core/classes/GalleryCoreApi.class at line 223 (gallerypluginhelper_medium::activate)
    * in file modules/core/classes/GalleryLayout.class at line 158 (gallerycoreapi::activateplugin)
    * in file modules/core/AdminLayouts.inc at line 78 (lvthunderlayout::activate)
    * in file main.php at line 170 (adminlayoutscontroller::handlerequest)
    * in file main.php at line 47
    * in file main.php at line 40

file_exists(/home2/lvthund/gallery2/g2data/sessions/f5e2c366c373395a771ff00c5d894d5b)
clearstatcache()
filesize(/home2/lvthund/gallery2/g2data/sessions/f5e2c366c373395a771ff00c5d894d5b)
fopen(/home2/lvthund/gallery2/g2data/sessions/f5e2c366c373395a771ff00c5d894d5b,
rb, 0)
flock(Resource id #18, 6, )
fread(Resource id #18, 1070)
flock(Resource id #18, 3, )
fclose(Resource id #18)
file_exists(/home2/lvthund/gallery2/g2data/cache/module/core/0/0/0.inc)
Initializing navigation
Continuing navigation x711bb271
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc)
file_exists(/home2/lvthund/gallery2/g2data//versions.dat)
file(/home2/lvthund/gallery2/g2data//versions.dat, )
[1101761785] can't guarantee 5 -- extending!
file_exists(/home2/lvthund/gallery2/g2data/cache/entity/0/0/5.inc)
file_exists(/home2/lvthund/gallery2/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/../../../modules/core/AdminLayouts.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/../../../modules/core/AdminLayouts.inc)

(mysql): 
        SELECT
          g2_UserGroupMap.g_userId
        FROM
          g2_UserGroupMap
        WHERE
          g2_UserGroupMap.g_userId = 5
          AND
          g2_UserGroupMap.g_groupId = '2'
         LIMIT 1   


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../layouts/lvthunder/layout.inc)
file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc)

(mysql): 
                  SELECT
                    g2_PluginParameterMap.g_parameterName, 
                    g2_PluginParameterMap.g_parameterValue
                  FROM
                    g2_PluginParameterMap
                  WHERE
                    g2_PluginParameterMap.g_pluginType = 'layout'
                    AND
                    g2_PluginParameterMap.g_pluginId = 'Lvthunder'
                    AND
                    g2_PluginParameterMap.g_itemId = 0
                     


file_exists(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0)
fopen(/home2/lvthund/gallery2/g2data/cache/layout/Lvthunder/0/0/0.inc, wb,
0)
flock(Resource id #56, 2, )
fwrite(Resource id #56, ..., )
fwrite(Resource id #56, ..., )
fwrite(Resource id #56, ..., )
fwrite(Resource id #56, ..., )
fclose(Resource id #56)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/comment/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/customfield/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/debug/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/exif/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/gd/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/imageframe/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/imagemagick/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/netpbm/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/newitems/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/panorama/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/photoaccess/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/randomhighlight/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/register/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/remote/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/slideshow/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/squarethumb/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/thumbnail/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/thumbpage/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/uploadapplet/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/watermark/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/core/classes/helpers/../../../../modules/webcam/module.inc)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/ImageFrameImpl.class)
realpath(/home2/lvthund/public_html/gallery2/modules/core/classes/../../..)
Binding text domain: modules_imageframe ->
/home2/lvthund/public_html/gallery2/modules/imageframe/locale
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames)
is_readable(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames)
opendir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/.)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/./frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/..)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/../frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/bamboo)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/bamboo/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/book)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/book/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/brand)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/brand/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/dots)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/dots/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/gold)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/gold/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/gold2)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/gold2/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/notebook)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/notebook/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/polaroid)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/polaroid/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/polaroids)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/polaroids/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/shadow)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/shadow/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/shell)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/shell/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/wood)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/wood/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/glow)
file_exists(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/glow/frame.inc)
readdir(Resource id #81)
is_dir(/home2/lvthund/public_html/gallery2/modules/imageframe/classes/../frames/README.html)
readdir(Resource id #81)
mysql error: [1062: Duplicate entry 'layout-Lvthunder' for key 1] in
EXECUTE("INSERT INTO g2_PluginMap (g_pluginType, g_pluginId, g_active)
VALUES ('layout', 'Lvthunder', 1)")


(mysql): INSERT INTO g2_PluginMap (g_pluginType,  g_pluginId,  g_active)
VALUES ('layout',  'Lvthunder',  1)   

1062: Duplicate entry 'layout-Lvthunder' for key 1

                     
     adodb_mysql._execute(INSERT INTO g2_PluginMap (g_pluginType,
g_pluginId, g_active) VA...) % line 
818, file: adodb.inc.php
                        adodb_mysql.execute(INSERT INTO g2_PluginMap
(g_pluginType, g_pluginId, g_active) VA..., Array[3]) % line  779, file: DatabaseStorage.class
                     mysqldatabasestorage.addmapentry(GalleryPluginMap,
Array[3]) % line  261, file: GalleryStorage.class
                  gallerystorage.addmapentry(GalleryPluginMap,
Array[3]) % line  112, file: GalleryPluginMap.inc
               gallerypluginmap.addmapentry(Array[3]) % line   64, file: GalleryPluginHelper_medium.class


realpath(/home2/lvthund/public_html/gallery2/modules/core/classes/../../../)
file_exists(/home2/lvthund/public_html/gallery2/modules/debug/classes/DebugStatusFormatter.class)
file_exists(/home2/lvthund/gallery2/g2data/smarty/templates_c/%%1547081559)
file_exists(/home2/lvthund/gallery2/g2data/smarty/templates_c/%%1547081559)
mkdir(/home2/lvthund/gallery2/g2data/smarty/templates_c/%%1547081559, 755)
fopen(/home2/lvthund/gallery2/g2data/smarty/templates_c/%%1547081559/v_2,
w, 0)
fclose(Resource id #103)
file_exists(/home2/lvthund/public_html/gallery2/modules/debug/classes/../templates/DebugStatusFormatter.tpl.local)
file_exists(/home2/lvthund/public_html/gallery2/modules/debug/classes/../templates/DebugStatusFormatter.tpl.local)
stat(/home2/lvthund/public_html/gallery2/modules/debug/classes/../templates/DebugStatusFormatter.tpl)
realpath(/home2/lvthund/public_html/gallery2/modules/core/classes/../../..)
Binding text domain: modules_debug ->
/home2/lvthund/public_html/gallery2/modules/debug/locale

Thanks,

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Mon, 2004-11-29 23:42

I figured it out. I had replaced Matrix with Lvthunder but the folder I had it in was lvthunder so when I replaced Lvthunder with lvthunder in the layout.inc file it worked right. I think the Activation should of either failed or do something different then what it did.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2004-11-30 04:52

That's odd. It shouldn't be case sensitive. Are you using PHP5?

I agree -- we need to revisit activation/deactivation/install/uninstall in the layouts code and make that a little more robust.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Tue, 2004-11-30 05:50

No I'm not using PHP 5. It's 4.3.9.