If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 2.x.x / v.1.5.7 to v.2.0.1 upgrade cannot place orders from customers page, only new customer

v.1.5.7 to v.2.0.1 upgrade cannot place orders from customers page, only new customer

Started by johnniejetski2 on 9 Sep 2024, 5:19 PM · Views: 1,116

Results 1 to 6 of 6
9 Sep 2024, 5:19 PM
#1
johnniejetski2 avatar

johnniejetski2

New Zenner

Join Date:
Dec 2017
Location:
FLAH-DUH
Posts:
45
Plugin Contributions:
0

Post #1 by johnniejetski2

I upgraded from v1.5.7 to v2.0.1 and had quite a few bugs in my 1.5.7 database that had to be cured, just tried to enter an order over the phone from an existing customer and it goes into a loop at the customer login page.

I have a ton of error logs, but here are the most common:

--> PHP Warning: Undefined variable $category_depth in /includes/languages/english/index.php on line 29.
and
[08-Sep-2024 23:38:03 UTC] Request URI: /index.php?main_page=product_info&cPath=0&products_id=1167, IP address: 216.244.66.236, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/functions/functions_strings.php(335): preg_replace()
#2 /includes/functions/html_output.php(192): zen_clean_html()
#3 /includes/templates/template_default/templates/tpl_modules_main_product_image.php(26): zen_image()
#4 /includes/templates/responsive_classic/templates/tpl_product_info_display.php(58): require('/home/bladez5/b...')
#5 /includes/modules/pages/product_info/main_template_vars.php(140): require('/home/bladez5/b...')
#6 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('/home/bladez5/b...')
#7 /index.php(94): require('/home/bladez5/b...')
--> PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /includes/functions/functions_strings.php on line 335.

10 Sep 2024, 2:50 PM
#2
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
382
Plugin Contributions:
0

Post #2 by njcyx

It looks like it is PHP 8 related warnings. You can try to downgrade your PHP from 8 to 7.4 or so, and see if any helps.

Never mind, minimum requirement for zc 2.0.1 is PHP 8.0. You cannot use PHP 7.4 for zc 2.0.1 anyway.

10 Sep 2024, 3:35 PM
#3
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,144
Plugin Contributions:
56

Post #3 by lat9

Why is there still an /includes/languages/english/index.php? That's been replaced since zc158 with** lang.**index.php.

13 Sep 2024, 1:12 PM
#4
johnniejetski2 avatar

johnniejetski2

New Zenner

Join Date:
Dec 2017
Location:
FLAH-DUH
Posts:
45
Plugin Contributions:
0

Post #4 by johnniejetski2

lat9:

Why is there still an /includes/languages/english/index.php? That's been replaced since zc158 with** lang.**index.php.

I have these in 2.0.1:
root directory/index.php
includes/languages/english/index.php
includes/languages/english/lang.index.php.new
includes/languages/english/responsive_classic/lang.index.php

13 Sep 2024, 1:14 PM
#5
johnniejetski2 avatar

johnniejetski2

New Zenner

Join Date:
Dec 2017
Location:
FLAH-DUH
Posts:
45
Plugin Contributions:
0

Post #5 by johnniejetski2

I'm getting 500 error log files per day - kinda becoming a part time job

16 Sep 2024, 3:58 PM
#6
johnniejetski2 avatar

johnniejetski2

New Zenner

Join Date:
Dec 2017
Location:
FLAH-DUH
Posts:
45
Plugin Contributions:
0

Post #6 by johnniejetski2

UPDATE: I can do orders from Customer page for some customers. Probably customers that added themselves after the upgrade, but I havent done a full check on that due to the size of the customer database. Maybe if I could get some of these error messages resolved it would go away