Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default new server issue

    php ver 8.1

    I just migrated my server. The website seems to be working well. I did encounter one odd issue.

    I notice when I try and create a new account as a customer it just keeps loading until I refresh the page.
    "When I refresh is when I get the errors below"

    Strange thing is there are no other logs and it works perfectly fine on my localhost.
    Could this be a server setting causing this issue,

    **Note on my local server everything works great.





    HTML Code:
    [23-Aug-2023 00:43:13 America/New_York] Request URI: /index.php?main_page=address_book, IP address: 73.125.15.28
    #0 /home/xxx/public_html/includes/templates/xxx/templates/tpl_address_book_default.php(51): zen_debug_error_handler()
    #1 /home/xxx/public_html/includes/templates/xxx/common/tpl_main_page.php(422): require('/home/xxx/...')
    #2 /home/xxx/public_html/index.php(100): require('/home/xxx/...')
    --> PHP Warning: Undefined array key "customer_default_address_id" in /home/xxx/public_html/includes/templates/xxx/templates/tpl_address_book_default.php on line 51.
    
    [23-Aug-2023 00:43:13 America/New_York] Request URI: /index.php?main_page=address_book, IP address: 73.125.15.28
    #0 /home/xxx/public_html/includes/functions/functions_addresses.php(395): zen_debug_error_handler()
    #1 /home/xxx/public_html/includes/templates/xxx/templates/tpl_address_book_default.php(51): zen_address_label()
    #2 /home/xxx/public_html/includes/templates/xxx/common/tpl_main_page.php(422): require('/home/xxx/...')
    #3 /home/xxx/public_html/index.php(100): require('/home/xxx/...')
    --> PHP Warning: Undefined array key "country_id" in /home/xxx/public_html/includes/functions/functions_addresses.php on line 395.
    
    [23-Aug-2023 00:43:13 America/New_York] Request URI: /index.php?main_page=address_book, IP address: 73.125.15.28
    #0 /home/xxx/public_html/includes/templates/xxx/templates/tpl_address_book_default.php(79): zen_debug_error_handler()
    #1 /home/xxx/public_html/includes/templates/xxx/common/tpl_main_page.php(422): require('/home/xxx/...')
    #2 /home/xxx/public_html/index.php(100): require('/home/xxx/...')
    --> PHP Warning: Undefined array key "customer_default_address_id" in /home/xxx/public_html/includes/templates/xxx/templates/tpl_address_book_default.php on line 79.

  2. #2
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: new server issue

    doing some more research I realized most of my forms I submit are really slow. As mentioned before on my local machine everything works perfectly. Which makes me believe it could be a server setting. Anyone have any ideas.

  3. #3
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    100
    Plugin Contributions
    0

    Default Re: new server issue

    I had a similar issue at "create account" after changing from 155f and PHP 7.1 to 157f and PHP 8.0.27.

    Do you have any additional restrictions for PHP at your server?

    Maybe this issue -> https://www.zen-cart.com/showthread....61#post1394361

  4. #4
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: new server issue

    on the server i found this. If i REMOVE IT. Same result very slow

    STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_A UTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,505
    Plugin Contributions
    88

    Default Re: new server issue

    Quote Originally Posted by chadlly2003 View Post
    php ver 8.1

    I just migrated my server. The website seems to be working well. I did encounter one odd issue.

    I notice when I try and create a new account as a customer it just keeps loading until I refresh the page.
    "When I refresh is when I get the errors below"

    Strange thing is there are no other logs and it works perfectly fine on my localhost.
    Could this be a server setting causing this issue,

    **Note on my local server everything works great.

    HTML Code:
    [23-Aug-2023 00:43:13 America/New_York] Request URI: /index.php?main_page=address_book, IP address: 73.125.15.28
    #0 /home/xxx/public_html/includes/templates/xxx/templates/tpl_address_book_default.php(51): zen_debug_error_handler()
    #1 /home/xxx/public_html/includes/templates/xxx/common/tpl_main_page.php(422): require('/home/xxx/...')
    #2 /home/xxx/public_html/index.php(100): require('/home/xxx/...')
    --> PHP Warning: Undefined array key "customer_default_address_id" in /home/xxx/public_html/includes/templates/xxx/templates/tpl_address_book_default.php on line 51.
    
    [23-Aug-2023 00:43:13 America/New_York] Request URI: /index.php?main_page=address_book, IP address: 73.125.15.28
    #0 /home/xxx/public_html/includes/functions/functions_addresses.php(395): zen_debug_error_handler()
    #1 /home/xxx/public_html/includes/templates/xxx/templates/tpl_address_book_default.php(51): zen_address_label()
    #2 /home/xxx/public_html/includes/templates/xxx/common/tpl_main_page.php(422): require('/home/xxx/...')
    #3 /home/xxx/public_html/index.php(100): require('/home/xxx/...')
    --> PHP Warning: Undefined array key "country_id" in /home/xxx/public_html/includes/functions/functions_addresses.php on line 395.
    
    [23-Aug-2023 00:43:13 America/New_York] Request URI: /index.php?main_page=address_book, IP address: 73.125.15.28
    #0 /home/xxx/public_html/includes/templates/xxx/templates/tpl_address_book_default.php(79): zen_debug_error_handler()
    #1 /home/xxx/public_html/includes/templates/xxx/common/tpl_main_page.php(422): require('/home/xxx/...')
    #2 /home/xxx/public_html/index.php(100): require('/home/xxx/...')
    --> PHP Warning: Undefined array key "customer_default_address_id" in /home/xxx/public_html/includes/templates/xxx/templates/tpl_address_book_default.php on line 79.
    What template is in use?

  6. #6
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: new server issue

    I figured out the issue. It was an an incorrect dns setting. Once i corrected it bingo all works well

 

 

Similar Threads

  1. v155 Weird issue getting to admin folder on my new server
    By patrioticflags in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 17 Dec 2018, 11:10 PM
  2. v139h Odd Cart Issue on new server
    By semide in forum General Questions
    Replies: 19
    Last Post: 10 Jan 2016, 06:10 PM
  3. server migration - can't access admin on new server (APC problem)
    By nathanscrivener in forum General Questions
    Replies: 8
    Last Post: 16 Nov 2010, 07:09 AM
  4. relocating to new server issue
    By timdwyer42 in forum General Questions
    Replies: 2
    Last Post: 19 Oct 2009, 12:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR