I could not find any instructions to indicate how to add a new product. Did I miss that somewhere?
Thanks for any advice.
Why would you want to add products without product_id?
If you don't want the products displayed, turn them off or set the availability date to the one when the products would be available.
2013-06-06 8:43:57 - PHP Warning: stream_wrapper_unregister() [<a href='function.stream-wrapper-unregister'>function.stream-wrapper-unregister</a>]: Unable to unregister protocol zip:// in /home/seedsbys/public_html/system/PHPExcel/Classes/PHPExcel/Shared/ZipStreamWrapper.php on line 69
2013-06-06 8:43:57 - PHP Exception: ZipArchive library is not enabled in /home/seedsbys/public_html/system/PHPExcel/Classes/PHPExcel/Reader/Excel2007.php on line 240
I know for a fact everything is enabled as it is our own server, so I can't understand what is going wrong. Changing servers is not an option, so I really need some help with this one.
Hey there,
First and foremost, thanks a lot for this great extension, I'm using this tool for a few clients of mine.
Now I stumbled upon an error for the first time. I'm using OpenCart version 1.5.5.1 and the 1.5.5.1 version of the import / export tool.
Weirdly enough, I just copied a working opencart website to another server, copied the database too and on the older website the export goes fine but it borks on the new version.
I can't open the XLSX file when you click export and you download the XLSX file.
When I try to open it I get the following error:
Error: excel cannot open the file .xlsx because the file format or file extension is not valid, check if the file is damaged etcetc.
I CAN open it in openoffice but then I just get gibberish, I didn't change anything in the code so I'm really puzzled about this.
Most likely there will be an entry in your Opencart's system/logs/error.txt, or in your server's error_log (ask your web host for the latter).TriumphDesign wrote: When I try to open it I get the following error:
Error: excel cannot open the file .xlsx because the file format or file extension is not valid, check if the file is damaged etcetc.
I CAN open it in openoffice but then I just get gibberish, I didn't change anything in the code so I'm really puzzled about this.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
My error log doesn't have errors since last week, so that can't be it. What could have gone wrong by copying the website from one FTP to another?JNeuhoff wrote:Most likely there will be an entry in your Opencart's system/logs/error.txt, or in your server's error_log (ask your web host for the latter).TriumphDesign wrote: When I try to open it I get the following error:
Error: excel cannot open the file .xlsx because the file format or file extension is not valid, check if the file is damaged etcetc.
I CAN open it in openoffice but then I just get gibberish, I didn't change anything in the code so I'm really puzzled about this.
Attachments

When I am importing it is now telling me this message:
Fatal error: Call to undefined method PHPExcel_Reader_CSV::setReadDataOnly() in /home/faecaver/public_html/ocart/admin/model/tool/export.php on line 1644
That should it read so I can get it to import?
Opencart 1.5.5.1
vqmod - 2.3.2
Export Import - opencart-1-5-5-x-export-import-15
The export/import module works fine for importing products and categories except for related products. The strange thing is that I can set mutally related products in the excel sheet and import them. I can see on the front end the number of related products but the products themselves are not visible in the related products tab.
If I remove and add the same related products via the opencart admin console I do get to see them.
Any suggestions on why the related products are stored as part of the productinformation but not visible?
table.oc_product_related
product_id related_id
26 48
27 48
48 26
48 27
Related products tab for product 48 is showing a counted value of 2 but the actual products themselves are not shown. Only when entering the products through the admin console, which results in the same table content, are the product visible and clickable.
You got this error message in your server's error_log:
PHP Fatal error: Class 'PHPExcel_Writer_Excel2010' not found in /home/admincally/domains/callysta.nl/public_html/system/PHPExcel/Classes/PHPExcel/IOFactory.php on line 141
Looks like PHPExcel doesn't support Excel2010. Try Excel2007, or OpenOffice ODS file formats when saving your edited spreadsheet file.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Yeh I tried to change that in export.php to see if I would get different results. But it gave me those errors.JNeuhoff wrote:To TriumphDesign:
You got this error message in your server's error_log:
PHP Fatal error: Class 'PHPExcel_Writer_Excel2010' not found in /home/admincally/domains/callysta.nl/public_html/system/PHPExcel/Classes/PHPExcel/IOFactory.php on line 141
Looks like PHPExcel doesn't support Excel2010. Try Excel2007, or OpenOffice ODS file formats when saving your edited spreadsheet file.
When I set it back to Excel2007 it worked again but I still get the corrupt XSlX file when I try to EXPORT ..
This is not about importing, that works
Might be an issue with PHPExcel, try replacing the one from system/PHPExcel with the latest one from http://phpexcel.codeplex.com/ to see whether it still has the same problem.TriumphDesign wrote:
Yeh I tried to change that in export.php to see if I would get different results. But it gave me those errors.
When I set it back to Excel2007 it worked again but I still get the corrupt XSlX file when I try to EXPORT ..
This is not about importing, that works
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Just tried it, uploaded it over the old files, tried to export again, no change, still corrupt.. Any other ideas?JNeuhoff wrote:Might be an issue with PHPExcel, try replacing the one from system/PHPExcel with the latest one from http://phpexcel.codeplex.com/ to see whether it still has the same problem.TriumphDesign wrote:
Yeh I tried to change that in export.php to see if I would get different results. But it gave me those errors.
When I set it back to Excel2007 it worked again but I still get the corrupt XSlX file when I try to EXPORT ..
This is not about importing, that works

Quite possible. Do a backup of your database, then remove some of your products and/or categories, to see whether it makes any difference.TriumphDesign wrote:Could it be something IN the database that's corrupting the excel, like weird symbols who might've gotten in there... I dunno, I'm out of ideas
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Could you, maybe, give me a list of all the affected tables the tool exports from, my bet is, if I empty them all, my problems might be solved, I already made a fresh opencart install with the template imusing + your tool and the export works on that copy. But I really can't be arsed (excuse my french) to redo the whole website css / php / etc wise.
What happens if you use the default web theme?TriumphDesign wrote:Trying really hard here, I actually deleted all the oc_product_ tables and replaced them with tables from another database where the tool does work. (even that did not do the trick)
Could you, maybe, give me a list of all the affected tables the tool exports from, my bet is, if I empty them all, my problems might be solved, I already made a fresh opencart install with the template imusing + your tool and the export works on that copy. But I really can't be arsed (excuse my french) to redo the whole website css / php / etc wise.
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 3 guests