v1.0.8.1 Questions / Comments / Concerns

Ask the community for help and support.
artfulweb
VIP Member
VIP Member
Posts: 119
Joined: Thu Oct 29, 2020 12:34 pm
Has thanked: 11 times
Been thanked: 4 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by artfulweb »

Hi Matt,
Having updated from Phoenix 1.0.8.0 to 1.0.8.1 using the update file I now have a problem with Paypal on the checkout confirmation page, the "Finalize and Pay" button no longer shows (nor the columns on either side) whereas it worked fine in 1.0.8.1 and all the other payments work correctly. The details of the order show up to where the button should appear. Any idea what would have caused it?

Thanks in advance.

Tags:
ecartz
Lead Developer
Lead Developer
Posts: 2637
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 181 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by ecartz »

Usually there would be an error message in the log that would give some hints. Two guesses without that:

1. There's a problem with the CSS, such that the HTML is still there but not visible. View page source to check.
2. There's a problem with a module, such that everything after that module is not showing. This should show in the logs.
artfulweb
VIP Member
VIP Member
Posts: 119
Joined: Thu Oct 29, 2020 12:34 pm
Has thanked: 11 times
Been thanked: 4 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by artfulweb »

Hi Matt, thete is nothing in the logs, no addons in the cart and the page surce stops just above the finalize button... a real mystery whereas the other payment modules go all the way.
artfulweb
VIP Member
VIP Member
Posts: 119
Joined: Thu Oct 29, 2020 12:34 pm
Has thanked: 11 times
Been thanked: 4 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by artfulweb »

Rolled back to 1.0.8.0 and it works, so something in 1.0.8.1 interferes but I can not see what...
artfulweb
VIP Member
VIP Member
Posts: 119
Joined: Thu Oct 29, 2020 12:34 pm
Has thanked: 11 times
Been thanked: 4 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by artfulweb »

Hello Matt,
I started from scratch and installed 1.0.8.1 and finally get an error in the log to explain why the checkout_confirmation page with Paypal will not show the "finalize order" button :

PHP Notice: Undefined variable: db in /xx/xx/xx/xx/catalog/includes/system/segments/checkout/insert_order.php on line 117

PHP Fatal error: Uncaught Error: Call to a member function query() on null in /xx/xx/xx/xx/catalog/includes/system/segments/checkout/insert_order.php:117
Stack trace:
#0 /xx/xx/xx/xx/catalog/includes/modules/payment/paypal_standard.php(184): require()
#1 /xx/xx/xx/xx/catalog/includes/system/versioned/1.0.7.3/payment.php(166): paypal_standard->confirmation()
#2 /xx/xx/xx/xx/catalog/templates/default/includes/pages/checkout_confirmation.php(123): payment->confirmation()
#3 /xx/xx/xx/xx/catalog/checkout_confirmation.php(25): require('/xx/xx/x...')
#4 {main}
thrown in /xx/xx/xx/xx/catalog/includes/system/segments/checkout/insert_order.php on line 117
artfulweb
VIP Member
VIP Member
Posts: 119
Joined: Thu Oct 29, 2020 12:34 pm
Has thanked: 11 times
Been thanked: 4 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by artfulweb »

artfulweb wrote: Wed Apr 21, 2021 5:02 pm Hello Matt,
I started from scratch and installed 1.0.8.1 and finally get an error in the log to explain why the checkout_confirmation page with Paypal will not show the "finalize order" button :

PHP Notice: Undefined variable: db in /xx/xx/xx/xx/catalog/includes/system/segments/checkout/insert_order.php on line 117

PHP Fatal error: Uncaught Error: Call to a member function query() on null in /xx/xx/xx/xx/catalog/includes/system/segments/checkout/insert_order.php:117
Stack trace:
#0 /xx/xx/xx/xx/catalog/includes/modules/payment/paypal_standard.php(184): require()
#1 /xx/xx/xx/xx/catalog/includes/system/versioned/1.0.7.3/payment.php(166): paypal_standard->confirmation()
#2 /xx/xx/xx/xx/catalog/templates/default/includes/pages/checkout_confirmation.php(123): payment->confirmation()
#3 /xx/xx/xx/xx/catalog/checkout_confirmation.php(25): require('/xx/xx/x...')
#4 {main}
thrown in /xx/xx/xx/xx/catalog/includes/system/segments/checkout/insert_order.php on line 117

Just noticed it only happens if a product has attributes. If no attributes it works normally.
ecartz
Lead Developer
Lead Developer
Posts: 2637
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 181 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by ecartz »

artfulweb wrote: Wed Apr 21, 2021 5:02 pm PHP Notice: Undefined variable: db in /xx/xx/xx/xx/catalog/includes/system/segments/checkout/insert_order.php on line 117

PHP Fatal error: Uncaught Error: Call to a member function query() on null in /xx/xx/xx/xx/catalog/includes/system/segments/checkout/insert_order.php:117
TY. https://github.com/CE-PhoenixCart/Phoen ... 7cd9991b25
artfulweb
VIP Member
VIP Member
Posts: 119
Joined: Thu Oct 29, 2020 12:34 pm
Has thanked: 11 times
Been thanked: 4 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by artfulweb »

Thank you! You are the best!
gsmiley007
Posts: 82
Joined: Sun Mar 14, 2021 9:28 pm
Has thanked: 9 times
Been thanked: 2 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by gsmiley007 »

Mysql: Server version: 5.6.32-78.1 - Percona Server (GPL), Release 78.1, Revision 8bb53b6

So I tried to a new install of 1.0.8.4 and i was having database issues, so I tried 1.0.8.1 since it's working on 1.0.8.0.

This is the error i'm getting:

Specified key was too long; max key length is 767 bytes

collation: utf8mb4_unicode_ci
User avatar
zipurman
PhoenixCart Developer
PhoenixCart Developer
Posts: 470
Joined: Tue Oct 13, 2020 5:20 pm
Has thanked: 84 times
Been thanked: 147 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by zipurman »

gsmiley007 wrote: Thu Jun 17, 2021 5:08 pm Mysql: Server version: 5.6.32-78.1 - Percona Server (GPL), Release 78.1, Revision 8bb53b6

So I tried to a new install of 1.0.8.4 and i was having database issues, so I tried 1.0.8.1 since it's working on 1.0.8.0.

This is the error i'm getting:

Specified key was too long; max key length is 767 bytes

collation: utf8mb4_unicode_ci
See viewtopic.php?p=3853#p3853
zipurman
aka Preston Lord
-----------
Happy to help where I can ;)

https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
Image
Post Reply