Folks: I'm getting a very odd problem with my site. On my site, I get a normal front page. When I log in, I get a blank page. This happens on Safari in my desktop mac, Firrefox, and Safari on my iPad. What could cause this? If I erase all of the cache data, I get the front page again. http://es.earthednet.org
Bill
William Prothero http://es.earthednet.org
Folks: Update: The blank page only occurs when I log in as an administrator/site owner. If I log in as another user, everything works as expected. It's only userID = 1 that produces a blank page. Seems a lot of possibilities, but before I start thrashing around and creating a big problem, I thought I'd ask the list. Thanks, Bill
William Prothero http://es.earthednet.org
On Jan 7, 2014, at 12:04 PM, Prothero William waprothero@gmail.com wrote:
Folks: I'm getting a very odd problem with my site. On my site, I get a normal front page. When I log in, I get a blank page. This happens on Safari in my desktop mac, Firrefox, and Safari on my iPad. What could cause this? If I erase all of the cache data, I get the front page again. http://es.earthednet.org
Bill
William Prothero http://es.earthednet.org
Sounds like a standard white screen of death problem. There's a php error that's only being included in the admin account.
Enabling error displays, checking logs are the best response https://drupal.org/node/158043 -Don-
On 1/7/2014 3:14 PM, Prothero William wrote:
Folks: Update: The blank page only occurs when I log in as an administrator/site owner. If I log in as another user, everything works as expected. It's only userID = 1 that produces a blank page. Seems a lot of possibilities, but before I start thrashing around and creating a big problem, I thought I'd ask the list. Thanks, Bill
William Prothero http://es.earthednet.org
On Jan 7, 2014, at 12:04 PM, Prothero William waprothero@gmail.com wrote:
Folks: I'm getting a very odd problem with my site. On my site, I get a normal front page. When I log in, I get a blank page. This happens on Safari in my desktop mac, Firrefox, and Safari on my iPad. What could cause this? If I erase all of the cache data, I get the front page again. http://es.earthednet.org
Bill
William Prothero http://es.earthednet.org
Blank screen = White Screen of Death (WSOD). Check your server logs for an error.
Jamie Holly http://hollyit.net
On 1/7/2014 3:14 PM, Prothero William wrote:
Folks: Update: The blank page only occurs when I log in as an administrator/site owner. If I log in as another user, everything works as expected. It's only userID = 1 that produces a blank page. Seems a lot of possibilities, but before I start thrashing around and creating a big problem, I thought I'd ask the list. Thanks, Bill
William Prothero http://es.earthednet.org
On Jan 7, 2014, at 12:04 PM, Prothero William waprothero@gmail.com wrote:
Folks: I'm getting a very odd problem with my site. On my site, I get a normal front page. When I log in, I get a blank page. This happens on Safari in my desktop mac, Firrefox, and Safari on my iPad. What could cause this? If I erase all of the cache data, I get the front page again. http://es.earthednet.org
Bill
William Prothero http://es.earthednet.org
Well, I have 2 days left before I officially declare NH District Court Website is complete and move on to Probation (their website). I had my dog and pony show yesterday, which went pretty well. I think we all agreed that I met expectations. I do however, have a list of "it'd be nice if you could...." items.
One thing I really want to figure out is with the registrations module. Out of the box you can list registrants with the standard columns. If you add custom fields, such as LastName, FirstName to your registration type, you can list them here (with work). I ran into trouble when I tried to make LastName sortable. What's weird is it will sort once (and spew out errors).
Delving further..... registration_registrations_page function... It first builds the header. A standard column looks like this....
$header = array( array( 'data' => t('id'), 'field' => 'registration_id', 'type' => 'property', 'specifier' => 'registration_id', ),
.....
I was hoping I could take my custom field and do something like this......
array( 'data' => t('Last Name'), 'field' => 'field_last_name', 'sort' => 'desc', 'type' => 'property', 'specifier' => 'field_last_name' ),
It doesn't like 'type' at all..... SQL error. Looking further you can see that the standard columns are in the table 'registrations' in this case. My custom field is in a separate table. field_data_field_last_name. (field_last_name is the name of the column).
The SQL query is expecting everything to be in the 'registrations' table. Is there some way I need to tell it to look in the other table for last name? I haven't been able to figure out where in the code this query is happening (if that's even possible). Currently out of ideas.
Anyone? Thanks in advance, Phil
PS: on that very page they indicated that they would like a button to press to print all registrants and a button to dump all registrants into a comma delimited .CSV. I have no clue how to do that - haven't had time to search on it. Thought I'd throw that one out too.
I have created views that we use as an alternative to the regular registration lists. I use Views Data Export to allow for CSV export.
On Wed, Jan 8, 2014 at 11:19 AM, Philip_Wetzel@nhd.uscourts.gov wrote:
Well, I have 2 days left before I officially declare NH District Court Website is complete and move on to Probation (their website). I had my dog and pony show yesterday, which went pretty well. I think we all agreed that I met expectations. I do however, have a list of "it'd be nice if you could...." items.
One thing I really want to figure out is with the registrations module. Out of the box you can list registrants with the standard columns. If you add custom fields, such as LastName, FirstName to your registration type, you can list them here (with work). I ran into trouble when I tried to make LastName sortable. What's weird is it will sort once (and spew out errors).
Delving further..... registration_registrations_page function... It first builds the header. A standard column looks like this....
$header = array( array( 'data' => t('id'), 'field' => 'registration_id', 'type' => 'property', 'specifier' => 'registration_id', ),
.....
I was hoping I could take my custom field and do something like this......
array( 'data' => t('Last Name'), 'field' => 'field_last_name', 'sort' => 'desc', 'type' => 'property', 'specifier' => 'field_last_name' ),It doesn't like 'type' at all..... SQL error. Looking further you can see that the standard columns are in the table 'registrations' in this case. My custom field is in a separate table. field_data_field_last_name. (field_last_name is the name of the column).
The SQL query is expecting everything to be in the 'registrations' table. Is there some way I need to tell it to look in the other table for last name? I haven't been able to figure out where in the code this query is happening (if that's even possible). Currently out of ideas.
Anyone? Thanks in advance, Phil
PS: on that very page they indicated that they would like a button to press to print all registrants and a button to dump all registrants into a comma delimited .CSV. I have no clue how to do that - haven't had time to search on it. Thought I'd throw that one out too.
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi Steve, I hate to sound like an invalid, but I haven't had much success in duplicating the registrant list with a view. I'm still struggling when I need to use a wildcard (for lack of a better description). For instance node/514/registrations replaced with node/%/registrations. Seems to work, but how are the fields specified.
It's been hard finding good info in this area.
Thanks, Phil
From: Steve Kessler skessler@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 01/08/2014 03:02 PM Subject: Re: [support] Some last tweaks needed to registration module. Sent by: support-bounces@drupal.org
I have created views that we use as an alternative to the regular registration lists. I use Views Data Export to allow for CSV export.
On Wed, Jan 8, 2014 at 11:19 AM, Philip_Wetzel@nhd.uscourts.gov wrote: Well, I have 2 days left before I officially declare NH District Court Website is complete and move on to Probation (their website). I had my dog and pony show yesterday, which went pretty well. I think we all agreed that I met expectations. I do however, have a list of "it'd be nice if you could...." items.
One thing I really want to figure out is with the registrations module. Out of the box you can list registrants with the standard columns. If you add custom fields, such as LastName, FirstName to your registration type, you can list them here (with work). I ran into trouble when I tried to make LastName sortable. What's weird is it will sort once (and spew out errors).
Delving further..... registration_registrations_page function... It first builds the header. A standard column looks like this....
$header = array( array( 'data' => t('id'), 'field' => 'registration_id', 'type' => 'property', 'specifier' => 'registration_id', ),
.....
I was hoping I could take my custom field and do something like this......
array( 'data' => t('Last Name'), 'field' => 'field_last_name', 'sort' => 'desc', 'type' => 'property', 'specifier' => 'field_last_name' ),
It doesn't like 'type' at all..... SQL error. Looking further you can see that the standard columns are in the table 'registrations' in this case. My custom field is in a separate table. field_data_field_last_name. (field_last_name is the name of the column).
The SQL query is expecting everything to be in the 'registrations' table. Is there some way I need to tell it to look in the other table for last name? I haven't been able to figure out where in the code this query is happening (if that's even possible). Currently out of ideas.
Anyone? Thanks in advance, Phil
PS: on that very page they indicated that they would like a button to press to print all registrants and a button to dump all registrants into a comma delimited .CSV. I have no clue how to do that - haven't had time to search on it. Thought I'd throw that one out too.
-- [ Drupal support list | http://lists.drupal.org/ ]
-- Steve Kessler Owner and Lead Consultant Denver DataMan, LLC 303-587-4428-- [ Drupal support list | http://lists.drupal.org/ ]
BTW: I was actually able to get the regular view to display all of the fields including custom fields. Hacked up Registration.module pretty good to do it. I've been able to make hooks work, but had problems in this case.
Really wanted to sort on Last name. From what I can tell the Entity module sorts just from one table and custom fields are in a separate table. I think there is a select statement somewhere that needs to have a JOIN clause added somehow.
As far as I can tell there is no documentation to guide one through that. I find that accomplishing most of what I needed to modify is strait hard core reverse engineering.
I see there is a whole module called registration_views contained within the registration module. I have no clue how to use it or perhaps I am using it, but don't know it.
Phil
From: Philip_Wetzel@nhd.uscourts.gov To: support@drupal.org, Date: 01/10/2014 01:06 PM Subject: Re: [support] Some last tweaks needed to registration module. Sent by: support-bounces@drupal.org
Hi Steve, I hate to sound like an invalid, but I haven't had much success in duplicating the registrant list with a view. I'm still struggling when I need to use a wildcard (for lack of a better description). For instance node/514/registrations replaced with node/%/registrations. Seems to work, but how are the fields specified.
It's been hard finding good info in this area.
Thanks, Phil
From: Steve Kessler skessler@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 01/08/2014 03:02 PM Subject: Re: [support] Some last tweaks needed to registration module. Sent by: support-bounces@drupal.org
I have created views that we use as an alternative to the regular registration lists. I use Views Data Export to allow for CSV export.
On Wed, Jan 8, 2014 at 11:19 AM, Philip_Wetzel@nhd.uscourts.gov wrote: Well, I have 2 days left before I officially declare NH District Court Website is complete and move on to Probation (their website). I had my dog and pony show yesterday, which went pretty well. I think we all agreed that I met expectations. I do however, have a list of "it'd be nice if you could...." items.
One thing I really want to figure out is with the registrations module. Out of the box you can list registrants with the standard columns. If you add custom fields, such as LastName, FirstName to your registration type, you can list them here (with work). I ran into trouble when I tried to make LastName sortable. What's weird is it will sort once (and spew out errors).
Delving further..... registration_registrations_page function... It first builds the header. A standard column looks like this....
$header = array( array( 'data' => t('id'), 'field' => 'registration_id', 'type' => 'property', 'specifier' => 'registration_id', ),
.....
I was hoping I could take my custom field and do something like this......
array( 'data' => t('Last Name'), 'field' => 'field_last_name', 'sort' => 'desc', 'type' => 'property', 'specifier' => 'field_last_name' ),
It doesn't like 'type' at all..... SQL error. Looking further you can see that the standard columns are in the table 'registrations' in this case. My custom field is in a separate table. field_data_field_last_name. (field_last_name is the name of the column).
The SQL query is expecting everything to be in the 'registrations' table. Is there some way I need to tell it to look in the other table for last name? I haven't been able to figure out where in the code this query is happening (if that's even possible). Currently out of ideas.
Anyone? Thanks in advance, Phil
PS: on that very page they indicated that they would like a button to press to print all registrants and a button to dump all registrants into a comma delimited .CSV. I have no clue how to do that - haven't had time to search on it. Thought I'd throw that one out too.
-- [ Drupal support list | http://lists.drupal.org/ ]
-- Steve Kessler Owner and Lead Consultant Denver DataMan, LLC 303-587-4428-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
I had the WSOD problem and it was fixed by increasing the maximum allowed packet size in mySQL. It was set a 1Mb and the help guy said it is usually 16M. Fixed the problem nicely. Best, Bill
William Prothero http://es.earthednet.org
On Jan 8, 2014, at 10:19 AM, Philip_Wetzel@nhd.uscourts.gov wrote:
Well, I have 2 days left before I officially declare NH District Court Website is complete and move on to Probation (their website). I had my dog and pony show yesterday, which went pretty well. I think we all agreed that I met expectations. I do however, have a list of "it'd be nice if you could...." items.
One thing I really want to figure out is with the registrations module. Out of the box you can list registrants with the standard columns. If you add custom fields, such as LastName, FirstName to your registration type, you can list them here (with work). I ran into trouble when I tried to make LastName sortable. What's weird is it will sort once (and spew out errors).
Delving further..... registration_registrations_page function... It first builds the header. A standard column looks like this....
$header = array( array( 'data' => t('id'), 'field' => 'registration_id', 'type' => 'property', 'specifier' => 'registration_id', ),
.....
I was hoping I could take my custom field and do something like this......
array( 'data' => t('Last Name'), 'field' => 'field_last_name', 'sort' => 'desc', 'type' => 'property', 'specifier' => 'field_last_name' ),
It doesn't like 'type' at all..... SQL error. Looking further you can see that the standard columns are in the table 'registrations' in this case. My custom field is in a separate table. field_data_field_last_name. (field_last_name is the name of the column).
The SQL query is expecting everything to be in the 'registrations' table. Is there some way I need to tell it to look in the other table for last name? I haven't been able to figure out where in the code this query is happening (if that's even possible). Currently out of ideas.
Anyone? Thanks in advance, Phil
PS: on that very page they indicated that they would like a button to press to print all registrants and a button to dump all registrants into a comma delimited .CSV. I have no clue how to do that - haven't had time to search on it. Thought I'd throw that one out too.
-- [ Drupal support list | http://lists.drupal.org/ ]