Make sure to use unique names for your filters. And use OpenCart, not the Journal3 framework. Check your database to see that the product actually exists, and that it is accessible via the admin backend at Catalog > Productssamkung wrote: ↑Tue Sep 19, 2023 5:01 pmAbout Export/Import Tool extension, i am using opencart 2.3.02
After i installed this extension, every single product got error 500:
Undefined index: product_id in /home/xxx/library/cart/cart.php on line 556
my Error.log say:
[19-Sep-2023 11:54:43 Asia/Hong_Kong] PHP Parse error: syntax error, unexpected '??' (T_COALESCE), expecting end of file in /home/dbbeingc/public_html/dummy/system/storage/modification/catalog/view/theme/journal3/template/product/product.tpl on line 199
Domain:https://dummy.db-being.com/index.php?ro ... ct_id=2271
Even i disable/remove the extension. now, i can see the product page on my store.
Also, when i try to export product, the system want me to click the box: Use filter_id instead of filter name in worksheets 'ProductFilters' and 'CategoryFilters' for export file. however, after i clicked the box, it can not be unclick!
Please tell me how to fix this, my site can not work.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
PHP 8.2.4, Opencart 4.0.2.1
Firefox, Vivaldi, Safari.
I have gone as far as uninstalling XAMPP and reinstalling it, just to be sure. Pls check the attachments for better clarity on the issue.
Attachments
Comparison between XAMPP directory(upper half) and extracted export_import.ocmod(lower half). This is after installing. The system/library/export_import/ directory is missing in XAMPP after install. - Screenshot 2023-09-22 at 7.27.26 PM.png (233.22 KiB) Viewed 12357 times
Error after trying to install. - Screenshot 2023-09-22 at 7.26.01 PM.png (32.41 KiB) Viewed 12357 times
BTW.: Use OC 4.0.2.3, there has been a number of bugfixes in OpenCart itself.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Did that. Getting the same error: Error: Class "PhpOffice\PhpSpreadsheet\Spreadsheet" not found in /Applications/XAMPP/xamppfiles/htdocs/oc4/extension/export_import/admin/model/tool/export_import.php on line 5666
In the end, my description disappeared from the product. When I checked it, I saw that extension calls deleteProduct() function in uploadProducts() function. This seems fine considering the user would fill every detail in the template and it won't create any problem. But in my situation, it was a problem. Why don't you give the option to update only the items the user wants without actually deleting the product completely?
You may think this problem merits custom extension update and needs to be charged. But doesn't `update` means updating some of the details and not touching the others, @JNeuhoff ? By the way, thank you for this useful extension, I am grateful.
I dont know since this appears - may be after change of PHP server.
Running still on 2.2.0, PHP 7.4.33
Thank you for help.
Probably moved to PHP 8.x. If that is the case I'd suspect a lot of other things are erroring out too.v-v wrote: ↑Wed Nov 29, 2023 12:41 amHi, after years of using I am getting now error message "Trying to access array offset on value of type int " when trying to export - help will be realy appreciated.
I dont know since this appears - may be after change of PHP server.
Running still on 2.2.0
Thank you for help.
Mike
cue4cheap not cheap quality
However, OpenCart 2.2.0.x versions in general don't support PHP 7.4 or 8.x versions. Hence you should think about upgrading to a newer OpenCart version, e.g. 3.0.3.9 or 3.0.x.x (4.0.x.x versions are still too unstable for live sites).
In the meantime, ask your webhost to set back your PHP version to 7.3.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Thank you, hosting provider told me it is not possible to go back for 7.3 :-/ So one of option is some kin d of custom / commercial debug - can it be solution?JNeuhoff wrote: ↑Wed Nov 29, 2023 1:31 amYou could try the opencart-2-x-export-import-multilingual-4-17.ocmod.zip extension which supports newer PHP versions.
However, OpenCart 2.2.0.x versions in general don't support PHP 7.4 or 8.x versions. Hence you should think about upgrading to a newer OpenCart version, e.g. 3.0.3.9 or 3.0.x.x (4.0.x.x versions are still too unstable for live sites).
In the meantime, ask your webhost to set back your PHP version to 7.3.
Of course, I will try suggested verison also.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Using OC 3.0.3.8
I have an issue with a custom product field. Every time I do a product import, the contents of this custom field get wiped. I have about 2000 products, and this is becoming a bit of an issue. I don't necessarily need to import/export this field, but I could do with it not being cleared. Is there an easy fix? Or are we looking at a custom version?
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Error: Unknown column 'pt.tag' in 'field list'
Error No: 1054
SELECT p.product_id, GROUP_CONCAT(pt.tag SEPARATOR ",") AS tag, pd.* FROM `oc_product` p LEFT JOIN `oc_product_description` pd ON pd.product_id=p.product_id AND pd.language_id='2' LEFT JOIN `oc_product_tag` pt ON pt.product_id=p.product_id AND pt.language_id='2' GROUP BY p.product_id ORDER BY p.product_id ;
this is on product export
All other exports (categories, option, attribute, filter, customers) works fine
Without further details, we won't be able to help you here. The 'oc_product_tag' table hasn't been used since OC 1.5.4 or later and shouldn't be there if using a later OC version.mariosp wrote: ↑Sun May 19, 2024 10:55 pmI'm getting this error:
Error: Unknown column 'pt.tag' in 'field list'
Error No: 1054
SELECT p.product_id, GROUP_CONCAT(pt.tag SEPARATOR ",") AS tag, pd.* FROM `oc_product` p LEFT JOIN `oc_product_description` pd ON pd.product_id=p.product_id AND pd.language_id='2' LEFT JOIN `oc_product_tag` pt ON pt.product_id=p.product_id AND pt.language_id='2' GROUP BY p.product_id ORDER BY p.product_id ;
this is on product export
All other exports (categories, option, attribute, filter, customers) works fine
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Users browsing this forum: No registered users and 2 guests