Problem loading page when login

ssherriff - September 17, 2007 - 07:42
Project:Membership types and registration modification
Version:5.x-1.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi,

I'm trying to setup this module and have read through the instructions several times. I believe I have followed all the instructions correctly.

I have two types of users, musician and band. I created a Node Profile content type for each one. I didn't break everything up because I wasn't collecting too much information and it would all fit on one page. I created page routes for each one, with only one page. I'm also using account types, but at the moment there is only really one role per each, but I wanted the ability to expand. I set for the node profiles to be required, so that if they login, they need to fill in the information if they haven't already.

When a user registers, it has them choose a membership type, and then to enter in username/email/password, but then logs them in and puts them at the home page. If I then go to my account and Edit, and then the node profile, I get the following error:

warning: Illegal offset type in /var/www/gigfox/includes/form.inc on line 890.
warning: Illegal offset type in isset or empty in /var/www/gigfox/includes/theme.inc on line 166.
warning: Illegal offset type in /var/www/gigfox/includes/theme.inc on line 167.
warning: Illegal offset type in /var/www/gigfox/includes/theme.inc on line 169.

If I then logout, and log back in, it does seem to want to redirect to the register pages, but I get that the page cannot be found, that the redirect will never happen.

I'm wondering if this has to do with the versions I'm using. Has anyone tested with the newest versions? It would be nice to know that is the problem, because then maybe I could help in making some updates so it does work with the newest versions. I thought I would check here first.

Cheers,
Steph

#1

rconstantine - September 17, 2007 - 15:49

Interesting. I'm not aware of any other posts siting problems with theme-related issues.

It would be helpful if you were to use the devel module's backtrace feature as your error message cannot possibly be traced to a problem with this module.

#2

ssherriff - September 21, 2007 - 02:45

Using the dev module doesn't seem to help me at all for some reason. Maybe if I fix up the problem that comes first, the other will get fixed up. I have it so it is required for a particular role to fill in a certain profile. When someone registers for that role, it logs them in and doesn't require them to fill in the information, then if I go to the my account page and go to the profile page, I get that error I show above.

I'm going to try going back to the exact versions of the modules that you use to see if that fixes the problem. Maybe it is a problem with module versions.

#3

rconstantine - September 21, 2007 - 16:08
Status:active» postponed (maintainer needs more info)

Are you saying that devel's backtrace wouldn't work for you? That's strange. I'm sorry that the warning messages you've provided don't point me in any particular direction. Let me know if you learn anything new.

#4

rconstantine - October 26, 2007 - 21:33

After further thought, there are a few strange things in your original post.

First, do you mean to say that you set the pageroutes to 'required' at this page: admin/user/nf_registration_mod/ct_adjustments, or some other page?

Second, the user, once logged in, should be unable to go to any page outside of the required page route. Try the latest version to see how things go now. I made some changes that may be related to your issue.

And others have said that later versions of the required modules are fine, but you can check that for yourself. If I don't hear back from you in a couple of weeks, I'll have to assume that one way or another, you don't need any more help with this issue.

#5

rconstantine - December 3, 2007 - 19:48
Status:postponed (maintainer needs more info)» closed
 
 

Drupal is a registered trademark of Dries Buytaert.