mitsukee Posted October 22, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 20 Reputation: 0 Joined: 04/28/12 Last Seen: December 4, 2012 Share Posted October 22, 2012 When I try to make an account, I get this error: Fatal error: Undefined class constant 'INVALID_BIRTHDATE_FORMAT' in /home/scarlett/public_html/modules/account/create.php on line 115 I've gone to see that line, but I am now sure how to define the Birthdate content to make it work. Thank you. Link to comment Share on other sites More sharing options...
Patskie Posted October 24, 2012 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 23 minutes ago Share Posted October 24, 2012 put this on your modules/account/create.php Find : <tr> <th><label for="register_email_address"><?php echo htmlspecialchars(Flux::message('AccountEmailLabel')) ?></label></th> <td><input type="text" name="email_address" id="register_email_address" value="<?php echo htmlspecialchars($params->get('email_address')) ?>" /></td> </tr> Add below : <tr> <th><label for="register_birth_date"><?php echo htmlspecialchars(Flux::message('BirthDateLabel')) ?></label></th> <td><input type="text" name="birth_date" id="register_birth_date" value="<?php echo htmlspecialchars($params->get('birth_date')) ?>" /><i>(Format: YYYY-MM-DD)</i></td> </tr> Format is Format: YYYY-MM-DD Link to comment Share on other sites More sharing options...
mitsukee Posted October 24, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 20 Reputation: 0 Joined: 04/28/12 Last Seen: December 4, 2012 Author Share Posted October 24, 2012 (edited) Do you mean in themes/account/create.php? Because I do not see that in the modules/account/create.php Also in the theme/account/create.php, I also have that added below the first one already... <tr> <th><label for="register_email_address"><?php echo htmlspecialchars(Flux::message('AccountEmailLabel')) ?></label></th> <td><input type="text" name="email_address" id="register_email_address" value="<?php echo htmlspecialchars($params->get('email_address')) ?>" /></td> </tr> <tr> <th><label for="register_birth_date"><?php echo htmlspecialchars(Flux::message('BirthDateLabel')) ?></label></th> <td><input type="text" name="birth_date" id="register_birth_date" value="<?php echo htmlspecialchars($params->get('birth_date')) ?>" /><i>(Format: YYYY-MM-DD)</i></td> </tr> It's still showing that error. Edited October 24, 2012 by mitsukee Link to comment Share on other sites More sharing options...
mitsukee Posted October 29, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 20 Reputation: 0 Joined: 04/28/12 Last Seen: December 4, 2012 Author Share Posted October 29, 2012 Any help on this? Link to comment Share on other sites More sharing options...
Thanna Posted October 29, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 271 Reputation: 7 Joined: 01/06/12 Last Seen: May 16, 2015 Share Posted October 29, 2012 (edited) go to your CpFolder->themes->default->account and paste this create.php in there create.php Edited October 29, 2012 by Thanna Link to comment Share on other sites More sharing options...
mitsukee Posted October 29, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 20 Reputation: 0 Joined: 04/28/12 Last Seen: December 4, 2012 Author Share Posted October 29, 2012 It still give me the error "Fatal error: Undefined class constant 'INVALID_BIRTHDATE_FORMAT' in /home/scarlett/public_html/modules/account/create.php on line 118" Link to comment Share on other sites More sharing options...
benching Posted November 7, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 350 Reputation: 43 Joined: 09/07/12 Last Seen: August 30, 2019 Share Posted November 7, 2012 why dont you ask your Control Panel Maker. Link to comment Share on other sites More sharing options...
Thanna Posted November 9, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 271 Reputation: 7 Joined: 01/06/12 Last Seen: May 16, 2015 Share Posted November 9, 2012 try this go to your CpFolder->themes->default->account and paste this create.php in there create.php Link to comment Share on other sites More sharing options...
Question
mitsukee
When I try to make an account, I get this error:
Fatal error: Undefined class constant 'INVALID_BIRTHDATE_FORMAT' in /home/scarlett/public_html/modules/account/create.php on line 115
I've gone to see that line, but I am now sure how to define the Birthdate content to make it work.
Thank you.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts