1.0.9.9 Questions / Comments / Concerns / Feedback

Open to all! Ask other shopowners for help.
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

Re: 1.0.9.9 Questions / Comments / Concerns / Feedback

Post by raiwa »

With the old core module the modal doesn't show and it trows the expected error:

Code: Select all

PHP Fatal error:  Uncaught Error: Undefined constant "PI_GALLERY_SWIPE_ARROWS" in C:\laragon\www\Raiwas_private_addons_8.2\templates\default\includes\hooks\shop\product_info\gallery.php:38
With your modified hook it works error free.
With my version it doesn't show modal, but no errors are logged.

I merged now your and my version:
- keeping your hook language file option as fallback for the case if the main pi gallery module is not installed
- removed support for the content module (it has its own complete code)
- all possible combinations are working error free
- no duplicated modal code is shown if the content module is used.
TestingRaiwa2.zip
You do not have the required permissions to view the files attached to this post.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27

Tags:


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: 1.0.9.9 Questions / Comments / Concerns / Feedback

Post by burt »

TY, I'll try to find time to load this change today or tomorrow.
I am not here to build for you.
I am here to build with you. Let's help each other.
User avatar
tessthepup
Certified Developer
Posts: 381
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

Re: 1.0.9.9 Questions / Comments / Concerns / Feedback

Post by tessthepup »

Hi Guys,

I hope everyone is having a lovely xmas break and enjoying a bit of down time.

I have a fresh install of 1.0.9.9 but receiving this error
PHP Parse error: syntax error, unexpected end of file in /home/***/public_html/templates/bootstrap5/includes/hooks/shop/product_info/gallery.php on line 84
Has anyone else come across this?

Thanks

Mark
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: 1.0.9.9 Questions / Comments / Concerns / Feedback

Post by ecartz »

tessthepup wrote: Sun Dec 29, 2024 12:50 pm I have a fresh install of 1.0.9.9 but receiving this error
Try adding a return at the end of the file.
User avatar
tessthepup
Certified Developer
Posts: 381
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

Re: 1.0.9.9 Questions / Comments / Concerns / Feedback

Post by tessthepup »

ecartz wrote: Sun Dec 29, 2024 2:24 pm
tessthepup wrote: Sun Dec 29, 2024 12:50 pm I have a fresh install of 1.0.9.9 but receiving this error
Try adding a return at the end of the file.
@ecartz
Thank you. I tried that but it produces the same error
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: 1.0.9.9 Questions / Comments / Concerns / Feedback

Post by ecartz »

tessthepup wrote: Sun Dec 29, 2024 2:38 pm I tried that but it produces the same error
Maybe https://github.com/CE-PhoenixCart/Phoen ... 452f8d1bfc
User avatar
tessthepup
Certified Developer
Posts: 381
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

Re: 1.0.9.9 Questions / Comments / Concerns / Feedback

Post by tessthepup »

ecartz wrote: Sun Dec 29, 2024 2:55 pm
tessthepup wrote: Sun Dec 29, 2024 2:38 pm I tried that but it produces the same error
Maybe https://github.com/CE-PhoenixCart/Phoen ... 452f8d1bfc
@ecartz
well would you believe it lol that worked :D

Thank you
rupruprup
Member
Posts: 44
Joined: Thu Nov 05, 2020 7:39 pm
Phoenix Version: v1.0.9.10
Has thanked: 6 times
Been thanked: 3 times

Re: 1.0.9.9 Questions / Comments / Concerns / Feedback

Post by rupruprup »

perhaps you should think about combining checkout shipping and checkout payment to one single page now ?
User avatar
bonbec
Contributor
Posts: 190
Joined: Mon Oct 26, 2020 12:23 pm
Phoenix Version: V1.1.0.7
Has thanked: 54 times
Been thanked: 40 times

Re: 1.0.9.9 Questions / Comments / Concerns / Feedback

Post by bonbec »

rupruprup wrote: Tue Jan 07, 2025 2:22 pm perhaps you should think about combining checkout shipping and checkout payment to one single page now ?
In France, it's not allowed ...
Old MS2.2 PHP7.4 site being converted to CE Phoenix v1.1.0.6 PHP 8.3
rupruprup
Member
Posts: 44
Joined: Thu Nov 05, 2020 7:39 pm
Phoenix Version: v1.0.9.10
Has thanked: 6 times
Been thanked: 3 times

Re: 1.0.9.9 Questions / Comments / Concerns / Feedback

Post by rupruprup »

Code: Select all

[07-Jan-2025 17:27:17 Europe/Berlin] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /templates/bootstrap5/includes/hooks/shop/product_info/gallery.php on line 17
[07-Jan-2025 17:27:17 Europe/Berlin] PHP Fatal error:  Uncaught Error: Undefined constant "PI_GALLERY_ALBUM_NAME" in /templates/bootstrap5/includes/hooks/shop/product_info/gallery.php:52
Stack trace:
#0 /includes/system/versioned/1.0.8.1/hooks.php(149): hook_shop_product_info_gallery->listen_injectBodyEnd(Array)
#1 /templates/bootstrap5/includes/components/template_bottom.php(57): hooks->cat('injectBodyEnd')
#2 /templates/default/includes/pages/product_info_not_found.php(21): require('...')
#3 /product_info.php(29): require('...')
#4 {main}
  thrown in /templates/bootstrap5/includes/hooks/shop/product_info/gallery.php on line 52

this happens on my installation if try to access a product thats does not exist anymore


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