Zen Cart Logo
Forums / 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

Views: 1,082

Results 1 to 6 of 6
09 Sep 2024, 17:19
#1
johnniejetski2 avatar

johnniejetski2

New Zenner

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

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

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, 14:50
#2
njcyx avatar

njcyx

Zen Follower

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

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

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, 15:35
#3
lat9 avatar

lat9

Administrator

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

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

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

13 Sep 2024, 13:12
#4
johnniejetski2 avatar

johnniejetski2

New Zenner

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

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

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, 13:14
#5
johnniejetski2 avatar

johnniejetski2

New Zenner

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

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

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

16 Sep 2024, 15:58
#6
johnniejetski2 avatar

johnniejetski2

New Zenner

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

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

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