upgrade 1.0.9.1 - cart page blank when populated

Open to all! Ask other shopowners for help.
Post Reply
kudos
Member
Posts: 20
Joined: Sat Jan 16, 2021 8:48 pm
Phoenix Version:
Has thanked: 1 time

upgrade 1.0.9.1 - cart page blank when populated

Post by kudos »

hi
upgrading my store to latest 1.0.9.1
php is 8.0

have afew addons, guest check out is one

site apears to work ok untill you go to shopping cart, and just a blank page happens no errors just blank

shopping_cart.php

when loged in a customer or not. clicking shopping cart from any page delivers a blank page
i have php error reporting on.

i have found out that:
if the cart is empty, then the page will load and show a empty cart
but if i have any item in it, then the page will fail to load and just be blank.

what can cause this?

rob


Join The Code Co-op to get access to your library in the Code Co-op Forum
kudos
Member
Posts: 20
Joined: Sat Jan 16, 2021 8:48 pm
Phoenix Version:
Has thanked: 1 time

Re: upgrading to 1.0.9.1

Post by kudos »

sorry can an admin upgrade title of post to more meaningfull,
upgrade 1.0.9.1 - cart page blank when populated
kudos
Member
Posts: 20
Joined: Sat Jan 16, 2021 8:48 pm
Phoenix Version:
Has thanked: 1 time

Re: upgrading to 1.0.9.1

Post by kudos »

ok i seem to have found this logged in a log file

Code: Select all

[18-Apr-2024 00:11:35 Europe/London] PHP Fatal error:  Uncaught Error: Call to undefined function tep_href_link() in public_html/includes/modules/content/shopping_cart/templates/tpl_cm_sc_empty_cart.php:2
Stack trace:
#0 public_html/includes/modules/content/cm_template.php(14): include()
#1 public_html/includes/modules/content/shopping_cart/cm_sc_empty_cart.php(25): include('/home/innovativ...')
#2 public_html/includes/system/versioned/1.0.8.4/template.php(106): cm_sc_empty_cart->execute()
#3 public_html/templates/default/includes/pages/shopping_cart.php(13): Template->get_content('shopping_cart')
#4 public_html/shopping_cart.php(17): require('/home/innovativ...')
#5 {main}
  thrown in public_html/includes/modules/content/shopping_cart/templates/tpl_cm_sc_empty_cart.php on line 2
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: upgrade 1.0.9.1 - cart page blank when populated

Post by Kofod95 »

cm_sc_empty_cart

This add-on calls a legacy function and needs updating. Either manually or by downloading an update if available.
It's not difficult to do it yourself - hints found in Raiwas signature.

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
kudos
Member
Posts: 20
Joined: Sat Jan 16, 2021 8:48 pm
Phoenix Version:
Has thanked: 1 time

Re: upgrade 1.0.9.1 - cart page blank when populated

Post by kudos »

thanks, replaced all the empty cart related files updated them,
working as exspected now
thanks


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply