If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 2.x.x / State field drop down menu off center and not working on New Customer window.

State field drop down menu off center and not working on New Customer window.

Started by foghead on 28 Aug 2024, 10:52 PM · Views: 702

Results 1 to 3 of 3
28 Aug 2024, 10:52 PM
#1
foghead avatar

foghead

New Zenner

Join Date:
Dec 2021
Location:
Tennessee
Posts:
43
Plugin Contributions:
0

Post #1 by foghead

I am still in the process of switching over to Zen-Cart 2.01 on a clean install and database import. PHP 8.31
As the title says, the State filed drop down menu is not working and the filed is out of line with the other fields.
I have numerous errors in the log file in which I don't understand. I have looked at the various files but don't see
what to change. Any help will be greatly appreciated.

[28-Aug-2024 22:42:18 UTC] Request URI: /index.php?main_page=login, IP address: 152.42.24.4, Language id 1
#0 /includes/modules/pages/login/header_php.php(25): zen_debug_error_handler()
#1 /includes/modules/pages/login/header_php.php(25): include()
#2 /index.php(35): require('/home/fyf2bpn91...')
--> PHP Warning: include(includes/modules/create_account.php): Failed to open stream: No such file or directory in /includes/modules/pages/login/header_php.php on line 25.

[28-Aug-2024 22:42:18 UTC] Request URI: /index.php?main_page=login, IP address: 152.42.24.4, Language id 1
#0 /includes/modules/pages/login/header_php.php(25): zen_debug_error_handler()
#1 /includes/modules/pages/login/header_php.php(25): include()
#2 /index.php(35): require('/home/fyf2bpn91...')
--> PHP Warning: include(): Failed opening 'includes/modules/create_account.php' for inclusion (include_path='.:/opt/alt/php83/usr/share/pear:/opt/alt/php83/usr/share/php:/usr/share/pear:/usr/share/php') in /includes/modules/pages/login/header_php.php on line 25.

[28-Aug-2024 22:42:18 UTC] Request URI: /index.php?main_page=login, IP address: 152.42.24.4, Language id 1
#0 /includes/templates/template_default/templates/tpl_modules_create_account.php(63): zen_debug_error_handler()
#1 /includes/templates/template_default/templates/tpl_login_default.php(90): require('/home/fyf2bpn91...')
#2 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('/home/fyf2bpn91...')
#3 /index.php(94): require('/home/fyf2bpn91...')
--> PHP Warning: Undefined variable $selected_country in /includes/templates/template_default/templates/tpl_modules_create_account.php on line 63.

[28-Aug-2024 22:42:18 UTC] Request URI: /index.php?main_page=login, IP address: 152.42.24.4, Language id 1
#0 /includes/templates/template_default/templates/tpl_modules_create_account.php(63): zen_debug_error_handler()
#1 /includes/templates/template_default/templates/tpl_login_default.php(90): require('/home/fyf2bpn91...')
#2 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('/home/fyf2bpn91...')
#3 /index.php(94): require('/home/fyf2bpn91...')
--> PHP Warning: Undefined variable $flag_show_pulldown_states in /includes/templates/template_default/templates/tpl_modules_create_account.php on line 63.

[28-Aug-2024 22:42:18 UTC] Request URI: /index.php?main_page=login, IP address: 152.42.24.4, Language id 1
#0 /includes/templates/template_default/templates/tpl_modules_create_account.php(89): zen_debug_error_handler()
#1 /includes/templates/template_default/templates/tpl_login_default.php(90): require('/home/fyf2bpn91...')
#2 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('/home/fyf2bpn91...')
#3 /index.php(94): require('/home/fyf2bpn91...')
--> PHP Warning: Undefined variable $flag_show_pulldown_states in /includes/templates/template_default/templates/tpl_modules_create_account.php on line 89.

[28-Aug-2024 22:42:18 UTC] Request URI: /index.php?main_page=login, IP address: 152.42.24.4, Language id 1
#0 /includes/templates/template_default/templates/tpl_modules_create_account.php(98): zen_debug_error_handler()
#1 /includes/templates/template_default/templates/tpl_login_default.php(90): require('/home/fyf2bpn91...')
#2 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('/home/fyf2bpn91...')
#3 /index.php(94): require('/home/fyf2bpn91...')
--> PHP Warning: Undefined variable $flag_show_pulldown_states in /includes/templates/template_default/templates/tpl_modules_create_account.php on line 98.

[28-Aug-2024 22:42:18 UTC] Request URI: /index.php?main_page=login, IP address: 152.42.24.4, Language id 1
#0 /includes/templates/template_default/templates/tpl_modules_create_account.php(101): zen_debug_error_handler()
#1 /includes/templates/template_default/templates/tpl_login_default.php(90): require('/home/fyf2bpn91...')
#2 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('/home/fyf2bpn91...')
#3 /index.php(94): require('/home/fyf2bpn91...')
--> PHP Warning: Undefined variable $state_field_label in /includes/templates/template_default/templates/tpl_modules_create_account.php on line 101.

[28-Aug-2024 22:42:18 UTC] Request URI: /index.php?main_page=login, IP address: 152.42.24.4, Language id 1
#0 /includes/templates/template_default/templates/tpl_modules_create_account.php(104): zen_debug_error_handler()
#1 /includes/templates/template_default/templates/tpl_login_default.php(90): require('/home/fyf2bpn91...')
#2 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('/home/fyf2bpn91...')
#3 /index.php(94): require('/home/fyf2bpn91...')
--> PHP Warning: Undefined variable $flag_show_pulldown_states in /includes/templates/template_default/templates/tpl_modules_create_account.php on line 104.

[28-Aug-2024 22:42:18 UTC] Request URI: /index.php?main_page=login, IP address: 152.42.24.4, Language id 1
#0 /includes/templates/template_default/templates/tpl_modules_create_account.php(105): zen_debug_error_handler()
#1 /includes/templates/template_default/templates/tpl_login_default.php(90): require('/home/fyf2bpn91...')
#2 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('/home/fyf2bpn91...')
#3 /index.php(94): require('/home/fyf2bpn91...')
--> PHP Warning: Undefined variable $zone_name in /includes/templates/template_default/templates/tpl_modules_create_account.php on line 105.

[28-Aug-2024 22:42:18 UTC] Request URI: /index.php?main_page=login, IP address: 152.42.24.4, Language id 1
#0 /includes/templates/template_default/templates/tpl_modules_create_account.php(156): zen_debug_error_handler()
#1 /includes/templates/template_default/templates/tpl_login_default.php(90): require('/home/fyf2bpn91...')
#2 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('/home/fyf2bpn91...')
#3 /index.php(94): require('/home/fyf2bpn91...')
--> PHP Warning: Undefined variable $display_nick_field in /includes/templates/template_default/templates/tpl_modules_create_account.php on line 156.

[28-Aug-2024 22:42:18 UTC] Request URI: /index.php?main_page=login, IP address: 152.42.24.4, Language id 1
#0 /includes/templates/template_default/templates/tpl_modules_create_account.php(183): zen_debug_error_handler()
#1 /includes/templates/template_default/templates/tpl_login_default.php(90): require('/home/fyf2bpn91...')
#2 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('/home/fyf2bpn91...')
#3 /index.php(94): require('/home/fyf2bpn91...')
--> PHP Warning: Undefined variable $email_format in /includes/templates/template_default/templates/tpl_modules_create_account.php on line 183.

[28-Aug-2024 22:42:18 UTC] Request URI: /index.php?main_page=login, IP address: 152.42.24.4, Language id 1
#0 /includes/templates/template_default/templates/tpl_modules_create_account.php(183): zen_debug_error_handler()
#1 /includes/templates/template_default/templates/tpl_login_default.php(90): require('/home/fyf2bpn91...')
#2 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('/home/fyf2bpn91...')
#3 /index.php(94): require('/home/fyf2bpn91...')
--> PHP Warning: Undefined variable $email_format in /includes/templates/template_default/templates/tpl_modules_create_account.php on line 183.

30 Aug 2024, 12:47 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,908
Plugin Contributions:
23

Post #2 by dbltoe

The template_default is really not designed for prime time use.

Look into clone a template.

Load it, change your template to responsive_classic, clone responsive_classic to resp_, and change the template to resp_.

I think you'll find most of the errors go away after you do that. And you'll be working with your own version of responsive_classic with the original there as a backup/test platform when things go bump in the night.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

30 Aug 2024, 10:12 PM
#3
foghead avatar

foghead

New Zenner

Join Date:
Dec 2021
Location:
Tennessee
Posts:
43
Plugin Contributions:
0

Post #3 by foghead

Thanks once again. I will work on that. The site is looking good, I have been able to do a test check/money order successfully. My free downloads are working too.
I will look into getting credit card and PayPal working after I follow your above instructions.