When I log in as admin and click the Site Admin link, all I get is the theme header, the gallery link and the theme footer (xhtml logo, Gallery2 logo and Gallery Help image). I don't get a sidebar or any of the other admin related stuff. I took a screenshot of my browser that can be found here http://gallery.bbaworld.com/admin.png. I also posted the debug output from the Site Admin page below.
Thanks,
Gallery version (not just "2"): 2.3
PHP version (e.g. 5.1.6): 5.2.4
PHPInfo Link (see FAQ): http://gallery.bbaworld.com/phpinfo.php
Webserver (e.g. Apache 1.3.33): Apache 2.2.8
Database (e.g. MySql 5.0.32): 5.0.51
Activated toolkits (e.g. NetPbm, GD): GD for sure, maybe more
Operating system (e.g. Linux): Ubuntu 8.04 Kernel 2.6.28-K8
Browser (e.g. Firefox 2.0): Firefox 3.5.4 and Safari 4.0.3
Debug Output
file_exists(/usr/share/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator getParameter session.lifetime for core plugin file_exists(/usr/share/g2data/cache/module/core/0/0/0.inc) getParameter session.inactivityTimeout for core plugin (mysqli): SET NAMES "utf8" (mysqli): SELECT g2_Schema.g_info FROM g2_PluginMap, g2_Schema WHERE g2_PluginMap.g_pluginId = g2_Schema.g_pluginId AND g2_Schema.g_type = 'map' AND g2_PluginMap.g_active = 1 (mysqli): SELECT g_userId, g_remoteIdentifier, g_creationTimestamp, g_modificationTimestamp, g_data FROM g2_SessionMap WHERE g_id='1aa1429bf6835e953d24ca53662549a0' controller , view core.SiteAdmin Loading plugin core Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/core/module.inc) core plugin successfully instantiated file_exists(/usr/share/g2data/versions.dat) file(/usr/share/g2data/versions.dat, ) file_exists(/var/www/gallery2/modules/firestats/module.inc) [1257183568] can't guarantee 5 -- extending! file_exists(/usr/share/g2data/cache/entity/0/0/6.inc) Loading plugin core core plugin successfully instantiated Check the version of the core plugin file_exists(/usr/share/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the core plugin is ok file_exists(/var/www/gallery2/modules/core/SiteAdmin.inc) getParameter acceleration for core plugin getParameter id.anonymousUser for core plugin getParameter smarty.compile_check for core plugin getParameter id.anonymousUser for core plugin getParameter id.adminGroup for core plugin (mysqli): SELECT g_userId FROM g2_UserGroupMap WHERE g_userId=6 AND g_groupId=3 LIMIT 1 getParameter id.rootAlbum for core plugin file_exists(/usr/share/g2data/cache/entity/0/0/7.inc) getParameter default.theme for core plugin Loading plugin burnsbeyerl Class not defined, trying to include it. file_exists(/var/www/gallery2/themes/burnsbeyerl/theme.inc) burnsbeyerl plugin successfully instantiated Check the version of the burnsbeyerl plugin file_exists(/usr/share/g2data/cache/theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the burnsbeyerl plugin is ok file_exists(/usr/share/g2data/cache/theme/burnsbeyerl/0/0/0.inc) file_exists(/usr/share/g2data/cache/theme/_all/localUrlMap.txt) getParameter id.adminGroup for core plugin getParameter session.siteAdministrationTimeout for core plugin Loading plugin albumselect Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/albumselect/module.inc) albumselect plugin successfully instantiated Check the version of the albumselect plugin The version of the albumselect plugin is ok Loading plugin archiveupload Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/archiveupload/module.inc) archiveupload plugin successfully instantiated Check the version of the archiveupload plugin The version of the archiveupload plugin is ok Loading plugin comment Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/comment/module.inc) comment plugin successfully instantiated Check the version of the comment plugin The version of the comment plugin is ok Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok (mysqli): SELECT g2_TkOperatnMimeTypeMap.g_operationName, g2_TkOperatnMimeTypeMap.g_mimeType, g2_TkOperatnMimeTypeMap.g_toolkitId, g2_TkOperatnMimeTypeMap.g_priority FROM g2_TkOperatnMimeTypeMap WHERE g2_TkOperatnMimeTypeMap.g_priority >= 20 AND g2_TkOperatnMimeTypeMap.g_priority <= 40 Loading plugin customfield Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/customfield/module.inc) customfield plugin successfully instantiated Check the version of the customfield plugin The version of the customfield plugin is ok Loading plugin exif Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/exif/module.inc) exif plugin successfully instantiated Check the version of the exif plugin The version of the exif plugin is ok Loading plugin ffmpeg Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/ffmpeg/module.inc) ffmpeg plugin successfully instantiated Check the version of the ffmpeg plugin The version of the ffmpeg plugin is ok Loading plugin firestats firestats plugin successfully instantiated Check the version of the firestats plugin The version of the firestats plugin is ok Loading plugin getid3 Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/getid3/module.inc) getid3 plugin successfully instantiated Check the version of the getid3 plugin The version of the getid3 plugin is ok Loading plugin icons Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/icons/module.inc) icons plugin successfully instantiated Check the version of the icons plugin The version of the icons plugin is ok Loading plugin imageblock Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/imageblock/module.inc) imageblock plugin successfully instantiated Check the version of the imageblock plugin The version of the imageblock plugin is ok Loading plugin imagemagick Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/imagemagick/module.inc) imagemagick plugin successfully instantiated Check the version of the imagemagick plugin The version of the imagemagick plugin is ok Loading plugin itemadd Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/itemadd/module.inc) itemadd plugin successfully instantiated Check the version of the itemadd plugin The version of the itemadd plugin is ok Loading plugin linkitem Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/linkitem/module.inc) linkitem plugin successfully instantiated Check the version of the linkitem plugin The version of the linkitem plugin is ok Loading plugin members Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/members/module.inc) members plugin successfully instantiated Check the version of the members plugin The version of the members plugin is ok Loading plugin migrate Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/migrate/module.inc) migrate plugin successfully instantiated Check the version of the migrate plugin The version of the migrate plugin is ok Loading plugin mime Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/mime/module.inc) mime plugin successfully instantiated Check the version of the mime plugin The version of the mime plugin is ok Loading plugin multilang Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/multilang/module.inc) multilang plugin successfully instantiated Check the version of the multilang plugin The version of the multilang plugin is ok Loading plugin newitems Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/newitems/module.inc) newitems plugin successfully instantiated Check the version of the newitems plugin The version of the newitems plugin is ok Loading plugin panorama Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/panorama/module.inc) panorama plugin successfully instantiated Check the version of the panorama plugin The version of the panorama plugin is ok Loading plugin picasa Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/picasa/module.inc) picasa plugin successfully instantiated Check the version of the picasa plugin The version of the picasa plugin is ok Loading plugin quotas Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/quotas/module.inc) quotas plugin successfully instantiated Check the version of the quotas plugin The version of the quotas plugin is ok Loading plugin randomhighlight Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/randomhighlight/module.inc) randomhighlight plugin successfully instantiated Check the version of the randomhighlight plugin The version of the randomhighlight plugin is ok Loading plugin rating Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/rating/module.inc) rating plugin successfully instantiated Check the version of the rating plugin The version of the rating plugin is ok Loading plugin register Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/register/module.inc) register plugin successfully instantiated Check the version of the register plugin The version of the register plugin is ok Loading plugin remote Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/remote/module.inc) remote plugin successfully instantiated Check the version of the remote plugin The version of the remote plugin is ok Loading plugin rss Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/rss/module.inc) rss plugin successfully instantiated Check the version of the rss plugin The version of the rss plugin is ok Loading plugin sitemap Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/sitemap/module.inc) sitemap plugin successfully instantiated Check the version of the sitemap plugin The version of the sitemap plugin is ok Loading plugin slideshow Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/slideshow/module.inc) slideshow plugin successfully instantiated Check the version of the slideshow plugin The version of the slideshow plugin is ok Loading plugin slideshowapplet Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/slideshowapplet/module.inc) slideshowapplet plugin successfully instantiated Check the version of the slideshowapplet plugin The version of the slideshowapplet plugin is ok Loading plugin thumbnail Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/thumbnail/module.inc) thumbnail plugin successfully instantiated Check the version of the thumbnail plugin The version of the thumbnail plugin is ok Loading plugin uploadapplet Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/uploadapplet/module.inc) uploadapplet plugin successfully instantiated Check the version of the uploadapplet plugin The version of the uploadapplet plugin is ok Loading plugin useralbum Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/useralbum/module.inc) useralbum plugin successfully instantiated Check the version of the useralbum plugin The version of the useralbum plugin is ok Loading plugin watermark Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/watermark/module.inc) watermark plugin successfully instantiated Check the version of the watermark plugin The version of the watermark plugin is ok Loading plugin webcam Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/webcam/module.inc) webcam plugin successfully instantiated Check the version of the webcam plugin The version of the webcam plugin is ok Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok file_exists(/var/www/gallery2/modules/core/AdminCore.inc) getParameter id.adminGroup for core plugin getParameter session.siteAdministrationTimeout for core plugin getParameter permissions.directory for core plugin getParameter permissions.file for core plugin getParameter exec.beNice for core plugin getParameter exec.expectedStatus for core plugin getParameter session.lifetime for core plugin getParameter session.inactivityTimeout for core plugin getParameter session.siteAdministrationTimeout for core plugin getParameter misc.markup for core plugin getParameter smtp.host for core plugin getParameter smtp.from for core plugin getParameter smtp.username for core plugin getParameter smtp.password for core plugin getParameter cookie.path for core plugin getParameter cookie.domain for core plugin getParameter lock.system for core plugin getParameter format.date for core plugin getParameter format.time for core plugin getParameter format.datetime for core plugin Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok getParameter misc.markup for core plugin file_exists(/var/www/gallery2/modules/search/Preloads.inc) file_exists(/var/www/gallery2/modules/core/Preloads.inc) file_exists(/var/www/gallery2/modules/core/Preloads.inc) file_exists(/var/www/gallery2/modules/imageblock/Preloads.inc) file_exists(/usr/share/g2data/cache/module/imageblock/0/0/0.inc) file_exists(/var/www/gallery2/modules/imageframe/classes/ImageFrameImpl.class) Loading plugin imageframe Class not defined, trying to include it. file_exists(/var/www/gallery2/modules/imageframe/module.inc) imageframe plugin successfully instantiated Check the version of the imageframe plugin The version of the imageframe plugin is ok is_dir(/var/www/gallery2/modules/imageframe/classes/../frames/) file_exists(/var/www/gallery2/modules/imageframe/classes/../frames//frame.inc) file_exists(/var/www/gallery2/modules/comment/Preloads.inc) file_exists(/var/www/gallery2/modules/exif/Preloads.inc) file_exists(/var/www/gallery2/modules/icons/classes/IconsImpl.class) getParameter iconpack for icons plugin file_exists(/usr/share/g2data/cache/module/icons/0/0/0.inc) Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok (mysqli): SELECT g_parentSequence FROM g2_ItemAttributesMap WHERE g_itemId=7 (mysqli): SELECT g2_Group.g_id, g2_Group.g_groupName FROM g2_UserGroupMap, g2_Group WHERE g2_Group.g_id = g2_UserGroupMap.g_groupId AND g2_UserGroupMap.g_userId = 6 ORDER BY g2_Group.g_groupName LIMIT 18446744073709551615 (mysqli): SELECT g2_AccessSubscriberMap.g_itemId, BIT_OR(g2_AccessMap.g_permission) FROM g2_AccessMap, g2_AccessSubscriberMap WHERE g2_AccessSubscriberMap.g_itemId IN (7) AND g2_AccessSubscriberMap.g_accessListId = g2_AccessMap.g_accessListId AND g2_AccessMap.g_userOrGroupId IN (6,4,2,3) GROUP BY g2_AccessSubscriberMap.g_itemId (mysqli): SELECT g_module, g_permission, g_description, g_bits, g_flags FROM g2_PermissionSetMap Loading plugin register register plugin successfully instantiated Check the version of the register plugin The version of the register plugin is ok getParameter id.anonymousUser for core plugin Loading plugin useralbum useralbum plugin successfully instantiated Check the version of the useralbum plugin The version of the useralbum plugin is ok file_exists(/usr/share/g2data/cache/module/useralbum/0/0/0.inc) getParameter id.anonymousUser for core plugin getParameter albumId for useralbum plugin file_exists(/usr/share/g2data/cache/module/useralbum/0/0/6.inc) Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok getParameter id.adminGroup for core plugin getParameter id.anonymousUser for core plugin getParameter id.rootAlbum for core plugin getParameter default.theme for core plugin Loading plugin burnsbeyerl burnsbeyerl plugin successfully instantiated Check the version of the burnsbeyerl plugin The version of the burnsbeyerl plugin is ok file_exists(/usr/share/g2data/smarty/templates_c/%%3193516666/burnsbeyerl) is_dir(/usr/share/g2data/smarty/templates_c/%%3193516666/burnsbeyerl) file_exists(/usr/share/g2data/smarty/templates_c/%%3193516666/burnsbeyerl) is_writeable(/usr/share/g2data/smarty/templates_c/%%3193516666/burnsbeyerl) file_exists(/usr/share/g2data/smarty/templates_c/%%3193516666/burnsbeyerl/v_14) file_exists(/var/www/gallery2/lib/javascript/BlockToggle.js) stat(/var/www/gallery2/lib/javascript/BlockToggle.js) file_exists(/var/www/gallery2/modules/search/SearchBlock.js) stat(/var/www/gallery2/modules/search/SearchBlock.js) file_exists(/var/www/gallery2/lib/yui/utilities.js) stat(/var/www/gallery2/lib/yui/utilities.js) file_exists(/var/www/gallery2/lib/yui/container-min.js) stat(/var/www/gallery2/lib/yui/container-min.js) file_exists(/usr/share/g2data/cache/module/_all/0/0/CombinedJavascript_88f134bfb25370ca9b6deb4356092bfc.inc) file_exists(/var/www/gallery2/modules/core/../../themes/burnsbeyerl/local/theme.css) file_exists(/usr/share/g2data/smarty/templates_c/%%3193516666/burnsbeyerl/%%55^55E^55E14245%%SystemLinks.tpl.php) getParameter id.rootAlbum for core plugin file_exists(/usr/share/g2data/smarty/templates_c/%%3193516666/burnsbeyerl/%%FD^FD9^FD9328A6%%BreadCrumb.tpl.php) getParameter misc.markup for core plugin Loading plugin core core plugin successfully instantiated getParameter id.adminGroup for core plugin Loading plugin core core plugin successfully instantiated getParameter id.adminGroup for core plugin Loading plugin core core plugin successfully instantiated getParameter id.adminGroup for core plugin Loading plugin core core plugin successfully instantiated getParameter id.adminGroup for core plugin
Posts: 17338
I would remove any customization you have done and check file integrity:
FAQ: How can I make sure that my installation files are all intact?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 10
Dave,
Thanks for the reply. I did the system check and got green across the board. I'm not sure how to disable any mods considering I can't get to the admin page. The only real mod I have is the theme and I'm using the Custom Field plugin that we leverage to enhance searching the gallery. Any other suggestions?
Posts: 11001
And you have a different theme, try changing back to Matrix:
FAQ: How can I change the default theme when I can't reach site admin?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 10
I did that also. All I get then is a blank page. And yes I verified that I was logged in as admin. I also tried logging out then back in as admin to be sure.
Posts: 11001
If you PM me login details I can take a look and see if I can get the theme changed.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 10
I'm looking at the FAQ for disabling plugins. I just ran SELECT g_pluginId FROM g2_PluginMap WHERE g_active=1; to get a list of active plugins, but I'm not sure which ones are safe to disable. Any advice?
Posts: 11001
Can you post the list?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 10
+-----------------+
| g_pluginId |
+-----------------+
| matrix |
| albumselect |
| archiveupload |
| colorpack |
| comment |
| customfield |
| debug |
| exif |
| getid3 |
| hidden |
| icons |
| imageblock |
| imageframe |
| linkitem |
| members |
| migrate |
| mime |
| multilang |
| newitems |
| panorama |
| password |
| picasa |
| publishxp |
| quotas |
| randomhighlight |
| rating |
| rearrange |
| register |
| remote |
| reupload |
| rss |
| search |
| shutterfly |
| sitemap |
| sizelimit |
| slideshow |
| slideshowapplet |
| thumbnail |
| uploadapplet |
| useralbum |
| watermark |
| webcam |
| imagemagick |
| slider |
| classic |
| tile |
| floatrix |
| hybrid |
| siriux |
| ffmpeg |
| core |
| burnsbeyerl |
| firestats |
| replica |
| itemadd |
+-----------------+
Posts: 11001
Now, I'm not sure where your idea for disabling modules/plugins has come in, we are just trying to get you to change to the default theme....
All of these should be fine to deactivate:
| albumselect |
| archiveupload |
| colorpack |
| comment |
| customfield |
| debug |
| exif |
| getid3 |
| hidden |
| icons |
| imageblock |
| imageframe |
| linkitem |
| members |
| migrate |
| mime |
| multilang |
| newitems |
| panorama |
| password |
| picasa |
| publishxp |
| quotas |
| randomhighlight |
| rating |
| rearrange |
| register |
| remote |
| reupload |
| rss |
| search |
| shutterfly |
| sitemap |
| sizelimit |
| slideshow |
| slideshowapplet |
| thumbnail |
| uploadapplet |
| useralbum |
| watermark |
| webcam |
| slider |
| classic |
| tile |
| floatrix |
| hybrid |
| siriux |
| ffmpeg |
| firestats | <--- I'm not even sure this one works for G2.3....
| replica |
| itemadd |
That would leave you with these:
| matrix | <--- The default theme we are trying to get you switched to
| imagemagick | <--- A working (presumably image toolkit to build images)
| core | <---- Gallery can't function without this
| burnsbeyerl | <---- Your current theme
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 10
UPDATE g2_PluginParameterMap SET g_parameterValue = 'matrix'
WHERE g_pluginType = 'module' AND g_pluginId = 'core' AND g_parameterName = 'default.theme';
Posts: 11001
FAQ: How can I change the default theme when I can't reach site admin?
If that doesn't work, PM me login details.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 10
OK, that solved the problem, the Matrix theme pulls up the site admin. But now for the money question. That theme has been working flawlessly in production for over a year. Why all of a sudden would it break my access to the site admin?
Posts: 11001
I don't know. Someone made changes to it back in January. Perhaps the working version has been sitting in cache on the server and the cache finally got cleared out...
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 10
That was when the theme was created. Sorry, I was a little off in my timing.
Posts: 10
Does the custom theme include anything obvious that would break the admin page?
Posts: 11001
Looks like you based it on an older version of Matrix. I can't explain why it stopped working but I would try reapplying your changes to the current version of Matrix (AFTER COPYING MATRIX):
http://codex.gallery2.org/Gallery2:Themes:How_to_Copy_an_Existing_Theme
And then see how things go.
Make sure to clear you cache along the way:
FAQ: How can I clear cached data?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 10
OK, so I got around to setting up a stock gallery server on our ESXi box identical to the production install minus the data. I tar'd up the custom theme and installed it on the test install and the admin page loads fine. This leads me to believe that there is something in either the database or g2data that is causing the problem.