QTpro

First Install - QTpro

First Install

by Scratchilito » Mon Jun 05, 2023 1:23 pm

Hello,
Many Thanks for all your work.

I had already installed 'Option Images' (2.40) and 'AJAX attribute manager' (3.52) which work well for a while.

After discovering QTpro (7.4.10) I installed it locally to test.

I was immediately confronted with the failure to use the QTpro table, the shop crashed. But it worked without the table. I was able to appreciate the usefulness of QTpro and I'd like to use it.
I tried uninstalling 'Option images', but that broke everything (that's what it's for).

Now I'm reinstalling my local shop. I see that there is a hierarchy in the order of installation (fortunately these modules are all yours).

1) 'Option Images'
2) 'AJAX attribute manager'
3) 'QTpro'

But it seems that product 'Options images' is under development (you mention a version 3 that I can't find).

What would you recommend for my complete install process about these 3 modules?
Scratchilito
Posts: 20
Joined: Wed Jan 26, 2022 2:15 pm
Contact:

Re: First Install

by raiwa » Mon Jun 05, 2023 5:09 pm

Hi,
Scratchilito wrote: ...the failure to use the QTpro table, the shop crashed.
I'm sorry, but it doesn't help to say "the shop crashed" and "that broke everything " without providing more details like error messages/logs.
Please have a look in the "Need Help" post. See the link in my footer.
Most important would be to know your exact Phoenix version, PHP version and errors (messages on screen or in error log file). But also if you are using the Pi or content modules.

The 3 addons should work together no matter of the installation order and the QtPro table does not depend on any of the other 2 addons.
Scratchilito wrote:But it seems that product 'Options images' is under development (you mention a version 3 that I can't find).
I do not know where you saw it, there is no version 3 under development.

Best wishes
Rainer
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
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: First Install

by Scratchilito » Mon Jun 05, 2023 5:42 pm

Thanks Raiwa

Sorry for the lack of precision, I didn't expect anyone to spend too much time on me catching errors.
I wanted to know if my reasoning was well-founded or not. Obviously not.
For information, I'm in 1.08.20, I work in French and I had installed in content, then uninstalled and reinstalled in pi for the same error (all for the latest versions).

My doubt comes also from the QTpro Documentation.pdf file page 5
If you are using Options Images add-on:
Please use the latest version: Options Images Phoenix v3.0
Install either pi or content product info options images module to add the required database entries.
Then you can switch the options images module off or uninstall it (without the option "remove database
entries".
Option images support is included in the qtpro product info options module, EXCEPT for "Sequenced Drop
Downs"

============

Installation

********************
1. Copy all new files into the appropriate folders

********************
Support for Option Images
Has been removed in this version. It will be readded once Options Images has been updated
Scratchilito
Posts: 20
Joined: Wed Jan 26, 2022 2:15 pm
Contact:

Re: First Install

by raiwa » Mon Jun 05, 2023 6:08 pm

It seems this is a type error. It should be 2.3 or I may have named the next version 2.4 instead of 3.0. I checked in my test store and Options images 2.4 is working with last QtPro.
For the QtPro table crash I would need the error message/log to help.
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
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: First Install

by Scratchilito » Mon Jun 05, 2023 9:07 pm

I'm going to reinstall these three modules and see if it happens again. I'll keep you posted.
I hadn't noticed the error messages, sorry again.
Scratchilito
Posts: 20
Joined: Wed Jan 26, 2022 2:15 pm
Contact:

Re: First Install

by Scratchilito » Tue Jun 06, 2023 10:25 am

Hello,
CE Phoenix 1.0.8.20
Windows OS
Xamp server 8.0.25
Apache/2.4.54 (Win64)
OpenSSL/1.1.1p
PHP/8.0.25
phpmyadmin 5.2.0
MariaDB10.4.27
I've rebuilt the shop with all my usual modules and : option images 2.4 (ok) ajax attribute manager 3.5.2 (ok) and qtpro 7.4.10

I didn't repatriate my database, but just created a product with its 4 options.

Here is the error which is the same as at the beginning of this topic when I activate the QTpro table and display the product page:
Fatal error: Uncaught Error: Undefined constant "PI_QTPRO_TABLE_PRICE" in \x\x\x\includes\modules\pi\product_info\templates\tpl_pi_qtpro_table.php:14 Stack trace:
#0 \x\x\x\includes\modules\block_template.php(14): include()
#1 \x\x\x\includes\modules\pi\product_info\pi_qtpro_table.php(118): include('D:\\xampp\\htdocs...')
#2 \x\x\x\includes\modules\content\product_info\cm_pi_modular.php(44): pi_qtpro_table->getOutput()
#3 [internal function]: cm_pi_modular->{closure}(Object(pi_qtpro_table), 5)
#4 \x\x\x\includes\modules\content\product_info\cm_pi_modular.php(44): array_walk(Array, Object(Closure))
#5 \x\x\x\includes\system\versioned\1.0.8.4\template.php(106): cm_pi_modular->execute()
#6 \x\x\x\templates\default\includes\pages\product_info.php(26): Template->get_content('product_info')
#7 \x\x\x\product_info.php(25): require('D:\\xampp\\htdocs...')
#8 {main} thrown in \x\x\x\includes\modules\pi\product_info\templates\tpl_pi_qtpro_table.php on line 14
Thanks.
Scratchilito
Posts: 20
Joined: Wed Jan 26, 2022 2:15 pm
Contact:

Re: First Install

by raiwa » Tue Jun 06, 2023 11:42 am

It seems you are using a language file (maybe french) which is missing this language definition.
Please compare with the provided language files included in the package if you have this line in:
includes\languages\[your language]\modules\pi\product_info\pi_qtpro_table.php

Code: Select all

  const PI_QTPRO_TABLE_PRICE = 'Price';
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
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: First Install

by Scratchilito » Tue Jun 06, 2023 12:14 pm

Heeey ! God made genius like you ! (you also certainly worked a lot)

My eyes did indeed glaze over during my little translation (into French, you are good). I put :

Code: Select all

  const PI_QTPRO_TABLE_PRIX = 'Prix';
Now it's ok with your advise :

Code: Select all

  const PI_QTPRO_TABLE_PRICE = 'Prix';
Sorry for taking up your time and that of the community.
Scratchilito
Posts: 20
Joined: Wed Jan 26, 2022 2:15 pm
Contact:

Re: First Install

by raiwa » Tue Jun 06, 2023 6:22 pm

Scratchilito wrote:Heeey ! God made genius like you ! (you also certainly worked a lot)

Sorry for taking up your time and that of the community.
Thank you. Remember the “Buy me a beverage” button 🤗 😉
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
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: First Install

by Scratchilito » Wed Jun 07, 2023 9:33 am

raiwa wrote:Thank you. Remember the “Buy me a beverage” button 🤗 😉
Done ;)
Scratchilito
Posts: 20
Joined: Wed Jan 26, 2022 2:15 pm
Contact: