[SOLVED] Users Can't Register

Procyon

Joined: 2008-11-30
Posts: 42
Posted: Thu, 2012-07-19 23:02

Hello,

I upgraded to the last version of gallery 2, but users can't register anymore. When they hit register nothing happens.
Does anybody know what the problem could be?


Gallery version = 2.3.2 core 1.3.0.2
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.17 apache2handler
Webserver = Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 PHP/5.2.17
Database = mysqlt 5.0.95-community, lock.system=flock
Toolkits = Exif, LinkItemToolkit, Thumbnail, ImageMagick, NetPBM
Acceleration = full/3600, full/900
Operating system = Linux 2.6.18-028stab095.1 #1 SMP Mon Oct 24 20:15:15 MSD 2011 i686
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1
Rows in GalleryAccessMap table = 67
Rows in GalleryAccessSubscriberMap table = 30517
Rows in GalleryUser table = 6885
Rows in GalleryItem table = 30497
Rows in GalleryAlbumItem table = 38
Rows in GalleryCacheMap table = 6

 
Procyon

Joined: 2008-11-30
Posts: 42
Posted: Tue, 2012-07-24 04:29

Can anybody help me with this?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2012-07-24 12:20

Did you supply us with a link?
What theme are you using?
What version did you upgrade from?
Have you tried debug mode?FAQ: How to set/use Gallery in debug mode?
FAQ: What information is required when I ask for help in the forums?

-s

 
Procyon

Joined: 2008-11-30
Posts: 42
Posted: Sun, 2012-07-29 18:55

Try it here: http://www.ww2incolor.com/
Upgraded from 2.2.1
It's a custom theme.

Debug Output
file_exists(/home/gallery/public_html/files/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) file_exists(/home/gallery/public_html/modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class) getParameter modrewrite.galleryLocation for rewrite plugin file_exists(/home/gallery/public_html/files/cache/module/rewrite/0/0/0.inc) getParameter shortUrls for rewrite plugin getParameter language.useBrowserPref for core plugin file_exists(/home/gallery/public_html/files/cache/module/core/0/0/0.inc) getParameter default.language for core plugin controller register.UserSelfRegistration, view Loading plugin core Class not defined, trying to include it. file_exists(/home/gallery/public_html/modules/core/module.inc) core plugin successfully instantiated file_exists(/home/gallery/public_html/files/versions.dat) file(/home/gallery/public_html/files/versions.dat, ) file_exists(/home/gallery/public_html/modules/httpauth/classes/HttpAuthPlugin.class) file_exists(/home/gallery/public_html/files/cache/module/httpauth/0/0/0.inc) getParameter id.anonymousUser for core plugin [1343587784] can't guarantee 5 -- extending! file_exists(/home/gallery/public_html/files/cache/entity/0/0/5.inc) Loading plugin register Class not defined, trying to include it. file_exists(/home/gallery/public_html/modules/register/module.inc) register plugin successfully instantiated Check the version of the register plugin file_exists(/home/gallery/public_html/files/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the register plugin is ok file_exists(/home/gallery/public_html/modules/register/UserSelfRegistration.inc) getParameter validation.level for register plugin file_exists(/home/gallery/public_html/files/cache/module/register/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 file_exists(/home/gallery/public_html/modules/core/UserAdmin.inc) getParameter smarty.compile_check for core plugin getParameter id.anonymousUser for core plugin getParameter id.adminGroup for core plugin
________________________________________
(mysqlt): SET NAMES "utf8"
________________________________________
________________________________________
(mysqlt): 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
________________________________________
________________________________________
(mysqlt): SELECT g_userId FROM g2_UserGroupMap WHERE g_userId=5 AND g_groupId=3 LIMIT 1
________________________________________
getParameter id.rootAlbum for core plugin file_exists(/home/gallery/public_html/files/cache/entity/0/0/7.inc)
________________________________________
(mysqlt): 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 = 5 ORDER BY g2_Group.g_groupName LIMIT 2147483647
________________________________________
________________________________________
(mysqlt): SELECT g_module, g_permission, g_description, g_bits, g_flags FROM g2_PermissionSetMap
________________________________________
________________________________________
(mysqlt): SELECT DISTINCT g2_AccessMap.g_accessListId FROM g2_AccessMap WHERE g2_AccessMap.g_userOrGroupId IN (5,4) AND g2_AccessMap.g_permission & 1 = 1
________________________________________
________________________________________
(mysqlt): SELECT g_itemId FROM g2_AccessSubscriberMap WHERE g_itemId=7 AND g_accessListId IN (484231,598165,655880,669344,669340,703516,685180,703517) LIMIT 1
________________________________________
Loading plugin moderate Class not defined, trying to include it. file_exists(/home/gallery/public_html/modules/moderate/module.inc) moderate plugin successfully instantiated Loading plugin favourites Class not defined, trying to include it. file_exists(/home/gallery/public_html/modules/favourites/module.inc) favourites plugin successfully instantiated Loading plugin tags Class not defined, trying to include it. file_exists(/home/gallery/public_html/modules/tags/module.inc) tags plugin successfully instantiated getParameter default.theme for core plugin Loading plugin fighterjets Class not defined, trying to include it. file_exists(/home/gallery/public_html/themes/fighterjets/theme.inc) fighterjets plugin successfully instantiated Check the version of the fighterjets plugin file_exists(/home/gallery/public_html/files/cache/theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the fighterjets plugin is ok file_exists(/home/gallery/public_html/files/cache/theme/fighterjets/0/0/0.inc) file_exists(/home/gallery/public_html/files/cache/theme/_all/localUrlMap.txt) 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 notification Class not defined, trying to include it. file_exists(/home/gallery/public_html/modules/notification/module.inc) notification plugin successfully instantiated Check the version of the notification plugin The version of the notification plugin is ok getParameter id.anonymousUser 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 getParameter id.anonymousUser for core plugin getParameter id.adminGroup 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 register register plugin successfully instantiated Check the version of the register plugin The version of the register plugin is ok getParameter misc.markup for core plugin file_exists(/home/gallery/public_html/modules/exif/Preloads.inc) file_exists(/home/gallery/public_html/modules/comment/Preloads.inc) file_exists(/home/gallery/public_html/modules/search/Preloads.inc) file_exists(/home/gallery/public_html/modules/rating/Preloads.inc) file_exists(/home/gallery/public_html/modules/icons/classes/IconsImpl.class) getParameter iconpack for icons plugin file_exists(/home/gallery/public_html/files/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
________________________________________
(mysqlt): SELECT g_parentSequence FROM g2_ItemAttributesMap WHERE g_itemId=7
________________________________________
________________________________________
(mysqlt): 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 (5,4) GROUP BY g2_AccessSubscriberMap.g_itemId
________________________________________
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 favourites favourites plugin successfully instantiated Check the version of the favourites plugin The version of the favourites plugin is ok getParameter id.anonymousUser for core plugin Loading plugin linksinthehead Class not defined, trying to include it. file_exists(/home/gallery/public_html/modules/linksinthehead/module.inc) linksinthehead plugin successfully instantiated Check the version of the linksinthehead plugin The version of the linksinthehead plugin is ok file_exists(/home/gallery/public_html/files/cache/module/linksinthehead/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 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 fighterjets fighterjets plugin successfully instantiated Check the version of the fighterjets plugin The version of the fighterjets plugin is ok file_exists(/home/gallery/public_html/files/smarty/templates_c/%%2250521471/fighterjets) is_dir(/home/gallery/public_html/files/smarty/templates_c/%%2250521471/fighterjets) file_exists(/home/gallery/public_html/files/smarty/templates_c/%%2250521471/fighterjets) is_writeable(/home/gallery/public_html/files/smarty/templates_c/%%2250521471/fighterjets) file_exists(/home/gallery/public_html/files/smarty/templates_c/%%2250521471/fighterjets/v_14) file_exists(/home/gallery/public_html/modules/search/SearchBlock.js) stat(/home/gallery/public_html/modules/search/SearchBlock.js) file_exists(/home/gallery/public_html/lib/yui/utilities.js) stat(/home/gallery/public_html/lib/yui/utilities.js) file_exists(/home/gallery/public_html/modules/rating/rating.js) stat(/home/gallery/public_html/modules/rating/rating.js) file_exists(/home/gallery/public_html/files/cache/module/_all/0/0/CombinedJavascript_3746e427c3ce741b84639d88f3bb36fd.inc) file_exists(/home/gallery/public_html/modules/core/../../themes/fighterjets/local/theme.css) file_exists(/home/gallery/public_html/files/smarty/templates_c/%%2250521471/fighterjets/%%55^55E^55E14245%%SystemLinks.tpl.php) file_exists(/home/gallery/public_html/files/smarty/templates_c/%%2250521471/fighterjets/%%9E^9E2^9E27C8E6%%SearchBlock.tpl.php)

Smarty Debug Console
included templates & config files (load time in seconds)
gallery:themes/fighterjets/templates/theme.tpl
includes/header.php (0.00560)
gallery:modules/core/templates/blocks/SystemLinks.tpl (0.00183)
gallery:modules/search/templates/blocks/SearchBlock.tpl (0.00271)
gallery:themes/fighterjets/templates/admin.tpl (0.00239)
gallery:modules/core/templates/UserAdmin.tpl (0.00205)
gallery:modules/register/templates/UserSelfRegistration.tpl (0.00083)
assigned template variables
{$SCRIPT_NAME} "/main.php"
{$UserAdmin} Array (5)
subViewChoices => Array (2)
0 => Array (2)
name => "Register"
view => "register.UserSelfRegistration"
1 => Array (2)
name => "Login"
view => "core.UserLogin"
subViewName => "register.UserSelfRegistration"
isSiteAdmin => false
viewBodyFile => "modules/register/templates/UserSelfRe..."
viewL10Domain => "modules_register"
{$UserSelfRegistration} Array (1)
plugins => Array (0)
{$controller} "register.UserSelfRegistration"
{$form} Array (7)
formName => "UserSelfRegistration"
userName => "testaaa"
email => "sdfjsd@qdlksdf.com"
password1 => "[Not shown in debug output]"
password2 => "[Not shown in debug output]"
action => Array (1)
create => "Register"
error => Array (1)
fullName => Array (1)
missing => "1"
{$head} Array (6)
tpl => Array (0)
style => Array (0)
javascript => Array (3)
modules/search/SearchBlock.js => true
lib/yui/utilities.js => true
modules/rating/rating.js => true
meta => Array (4)
0 => Array (3)
name => "robots"
content => "noindex"
isHttpEquiv => false
1 => Array (3)
name => "Cache-Control"
content => "no-cache"
isHttpEquiv => true
2 => Array (3)
name => "Pragma"
content => "no-cache"
isHttpEquiv => true
3 => Array (3)
name => "Expires"
content => "Sun, 22 Jul 2012 18:49:44 GMT"
isHttpEquiv => true
link => Array (3)
=> true
=> true
=> true
title => "Gallery User Administration"
{$isEmbedded} false
{$l10Domain} "themes_fighterjets"
{$status} null
{$theme} Array (16)
guestPreviewMode => 0
actingUserId => 5
themeId => "fighterjets"
themeUrl => "/themes/fighterjets"
pageUrl => Array (2)
view => "core.ShowItem"
itemId => 7
markupType => "bbcode"
params => Array (10)
albumBlocks => Array (0)
contentWidth => "700"
dynamicLinks => "browse"
enableImageMap => "1"
groupByYear => "0"
perPage => "9"
photoBlocks => Array (4)
0 => Array (2)
0 => "exif.ExifInfo"
1 => Array (0)
1 => Array (2)
0 => "comment.ViewComments"
1 => Array (0)
2 => Array (2)
0 => "search.SearchBlock"
1 => Array (0)
3 => Array (2)
0 => "rating.Rating"
1 => Array (0)
_requiredCoreApi => "7,10"
_requiredThemeApi => "2,4"
_version => "1.1.3"
useFullScreen => false
pageType => "admin"
adminTemplate => "modules/core/templates/UserAdmin.tpl"
adminL10Domain => "modules_core"
item => Array (24)
theme => null
orderBy => ""
orderDirection => "desc"
canContainChildren => 1
description => "Welcome to a great collection of Worl..."
keywords => null
ownerId => 6
renderer => null
summary => ""
title => "World War 2 Photos"
viewedSinceTimestamp => 1197240663
originationTimestamp => 1197240663
pathComponent => null
parentId => 0
id => 7
creationTimestamp => 1197240663
isLinkable => 0
linkId => null
linkedEntity => null
modificationTimestamp => 1331468282
serialNumber => 80
entityType => "GalleryAlbumItem"
onLoadHandlers => null
_persistentStatus => Array (2)
flags => 0
originalValue => Array (22)
theme => null
orderBy => ""
orderDirection => "desc"
canContainChildren => 1
description => "Welcome to a great collection of Worl..."
keywords => null
ownerId => 6
renderer => null
summary => ""
title => "World War 2 Photos"
viewedSinceTimestamp => 1197240663
originationTimestamp => 1197240663
pathComponent => null
parentId => 0
id => 7
creationTimestamp => 1197240663
isLinkable => 0
linkId => null
modificationTimestamp => 1331468282
serialNumber => 80
entityType => "GalleryAlbumItem"
onLoadHandlers => null
children => Array (0)
parents => Array (0)
parent => null
systemLinks => Array (4)
register.Register => Array (2)
text => "Register"
params => Array (3)
view => "core.UserAdmin"
subView => "register.UserSelfRegistration"
return => 1
linksinthehead.Contact => Array (2)
text => "Contact"
params => Array (1)
href => "http://www.ww2incolor.com/news/ww2inc..."
linksinthehead.RSS => Array (2)
text => "RSS"
params => Array (1)
href => "http://feeds.feedburner.com/ww2incolor"
core.Login => Array (2)
text => "Login"
params => Array (3)
view => "core.UserAdmin"
subView => "core.UserLogin"
return => 1
{$user} Array (19)
userName => "guest"
fullName => "Guest"
hashedPassword => "[Not shown in debug output]"
email => null
language => null
locked => 0
id => 5
creationTimestamp => 1197240663
isLinkable => 0
linkId => null
linkedEntity => null
modificationTimestamp => 1197240663
serialNumber => 1
entityType => "GalleryUser"
onLoadHandlers => null
_persistentStatus => Array (2)
flags => 0
originalValue => Array (14)
userName => "guest"
fullName => "Guest"
hashedPassword => "[Not shown in debug output]"
email => null
language => null
locked => 0
id => 5
creationTimestamp => 1197240663
isLinkable => 0
linkId => null
modificationTimestamp => 1197240663
serialNumber => 1
entityType => "GalleryUser"
onLoadHandlers => null
isGuest => true
isRegisteredUser => false
isAdmin => false
assigned config file variables (outer template scope)
{#files#} Array (0)
{#vars#} Array (0)

 
Procyon

Joined: 2008-11-30
Posts: 42
Posted: Wed, 2012-08-22 20:20

Here is the PHPinfo: http://www.hostlead.com/

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-07-29 20:36

Did you also update the register module?
Can you try the default matrix theme?
Any php errors in the server's error logs?

-s

 
Procyon

Joined: 2008-11-30
Posts: 42
Posted: Sun, 2012-07-29 20:54

Registration plugin is 1.0.14

I have a bunch of errors under event logs, which has to do with an external script (path not correct), but that's disabled for now.

Same behaviour on the Matrix theme. I also enable captcha thinking that might have caused it since I was using it previously, but that didn't change anything.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-07-29 23:35

looking at the smarty debug

Quote:
{$form} Array (7)
formName => "UserSelfRegistration"
userName => "testaaa"
email => "sdfjsd@qdlksdf.com"
password1 => "[Not shown in debug output]"
password2 => "[Not shown in debug output]"
action => Array (1)
create => "Register"
error => Array (1)
fullName => Array (1)
missing => "1"

error=>1
missing=>1

but no mention of the error or what's missing.
Are these getting logged to the gallery's event log?

-s

 
Procyon

Joined: 2008-11-30
Posts: 42
Posted: Tue, 2012-07-31 04:38

Unfortunately they are not getting logged! I was really hoping that they would.

 
Procyon

Joined: 2008-11-30
Posts: 42
Posted: Thu, 2012-08-02 18:49

Is there anything else I can try?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2012-08-02 19:32

I just installed the register module on one of my test sites and it has a field for Full Name(Required)
I'm attaching modules/resister/templates/UserSelfRegistration.tpl

-s

 
Procyon

Joined: 2008-11-30
Posts: 42
Posted: Fri, 2012-08-03 18:13

The file I have is identical.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-08-03 19:05

So why does yours not show full name?
do you have a modules/resister/templates/local/UserSelfRegistration.tpl

-s

 
Procyon

Joined: 2008-11-30
Posts: 42
Posted: Fri, 2012-08-03 20:11

I have modules/register/templates/local/UserSelfRegistration.tpl

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-08-03 20:44
Procyon wrote:
I have modules/register/templates/local/UserSelfRegistration.tpl

the local version is the one that is used.
You must have customized it in the past.
Try backing up the local copy and removing it or replace with the one I supplied.

-s

 
Procyon

Joined: 2008-11-30
Posts: 42
Posted: Tue, 2012-08-07 18:55

How do you know it isn't using the localized version?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2012-08-07 19:59

gallery always uses /local first.

-s
All New jQuery Minislideshow for G2/G3

 
Procyon

Joined: 2008-11-30
Posts: 42
Posted: Wed, 2012-08-22 20:10

Sorry I was busy! But copying your file into the local folder fixed it! Thanks.