Thank you for fast replyJNeuhoff wrote:
This is a known issue which we will address in the next release of the Export/Import tool.
// Jonas
Thank you for fast replyJNeuhoff wrote:
This is a known issue which we will address in the next release of the Export/Import tool.
I'm like a spammer, but I solved it.mettty wrote:Maybe I found the problem with restrictions. My webhost don't allow me use functions sys_get_temp_dir() and tempnam(), which needs server root temp folder. So tool can't make the export file. I tried to modify PHPExcel files to set tmp folder manually (like 'data/folder/tmp') without result.mettty wrote:Hi,
I have the same problem as qaso. There are restrictions on my webhost, so I can't export the file. But I want to try, if I can import the file. And for that I need at least one sample.
Someone who can share with me?
Thanks.
Problem is in opencartfolder/system/PHPExcel/classes/PHPExcel/Shared/file.php line 106 function sys_get_temp_dir()
and in opencartfolder/system/PHPExcel/classes/PHPExcel/Writer/Excel2007.php line 205.
Please help, if someone have any idea how to edit this code. Could not imagine how to use opencart without this tool.
and your older version of Import/Export tool was ok, just do this:qaso wrote:I have installed your newest version. It still doesnt work. Here is log:
Code: Select all
2013-02-21 14:16:50 - PHP Warning: realpath() [<a href='function.realpath'>function.realpath</a>]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/data/web/filatelista.eu/:/data/f/i/filatelista.eu/:/usr/php53/lib/php/:/apachetmp/) in /data/f/i/filatelista.eu/web/system/PHPExcel/Classes/PHPExcel/Shared/File.php on line 136 2013-02-21 14:16:50 - PHP Warning: tempnam() [<a href='function.tempnam'>function.tempnam</a>]: open_basedir restriction in effect. File() is not within the allowed path(s): (/data/web/filatelista.eu/:/data/f/i/filatelista.eu/:/usr/php53/lib/php/:/apachetmp/) in /data/f/i/filatelista.eu/web/system/PHPExcel/Classes/PHPExcel/Writer/Excel2007.php on line 205 2013-02-21 14:16:50 - PHP Exception: Could not close zip file php://output. in /data/f/i/filatelista.eu/web/system/PHPExcel/Classes/PHPExcel/Writer/Excel2007.php on line 378
Code: Select all
header('Content-Disposition: attachment;filename="backup_categories_products.xlsx"');
Code: Select all
header('Content-Disposition: attachment;filename="backup_categories_products.xls"');
Code: Select all
$objWriter = PHPExcel_IOFactory::createWriter($workbook, 'Excel2007');
Code: Select all
$objWriter = PHPExcel_IOFactory::createWriter($workbook, 'Excel5');
I think it would have a been a lot easier to just change webhost. Some webhosts are simply not up to the task.mettty wrote: I'm like a spammer, but I solved it.Problem is in Excel2007, which (I don't know why) has another method for temp directories on server then Excel5. So back to Excel5.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Love,
Leslie Gabriel, WaterMan, CEO, H2OAmbassador
Website - www.WaterCheck.biz
PS WaterCheck.biz donates a portion of our revenues to H2O Sustainability Projects here and around the globe.
Check the entries in your server's error_log, ask your webhost for help.kromanluv wrote:After I install Export/Import tool for OpenCart 1.5.5.x, I got error "500 Internal Server Error" for my opencart control panel (www.[domain]/admin) but, my front panel is alright.
I am using OpenCart version 1.5.5.1, with custom theme.
Now I have to restore backup to get back previous working state.
I tried 2 times already, but still getting same error.
Could someone help me how can I install sucessfully?
Thanks & Regards,
Kromanluv
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I've tried installing this with no success. Get this message:JNeuhoff wrote:The Export/Import tool is now available for OpenCart 1.5.5.x.
This latest version contains an improved error handler. And it now uses the XLSX as the default spreadsheet file format.
Still on our to-do list:
- Make it more override-friendly for customisations
- Incremental Import
- Multilingual support
Some cheap webhosts are simply not worth their money.Pyrocrafter wrote:Further to my other posts. I've now managed to install the Import/Export tool but get this error log when I try to export the site. (I forgot to upload all the folders - as others before me have done)
2013-05-15 15:50:55 - PHP Warning: stream_wrapper_unregister() [<a href='function.stream-wrapper-unregister'>function.stream-wrapper-unregister</a>]: Unable to unregister protocol zip:// in /web2/user42276/website/upload/system/PHPExcel/Classes/PHPExcel/Shared/ZipStreamWrapper.php on line 69
2013-05-15 15:50:56 - PHP Fatal Error: Class 'ZipArchive' not found in /web2/user42276/website/upload/system/PHPExcel/Classes/PHPExcel/Writer/Excel2007.php on line 234
....
Any info would be greatly appreciated. Thanks
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Code: Select all
Notice: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0,0,0,'1','1','1','1')' at line 1
Error No: 1064
INSERT INTO `product` (`product_id`,`quantity`,`sku`,`upc`,`ean`,`jan`,`isbn`,`mpn`,`location`,`stock_status_id`,`model`,`manufacturer_id`,`image`,`shipping`,`price`,`points`,`date_added`,`date_modified`,`date_available`,`weight`,`weight_class_id`,`status`,`tax_class_id`,`viewed`,`length`,`width`,`height`,`length_class_id`,`sort_order`,`subtract`,`minimum`) VALUES (24,50,'V767106','','','','','','1',5,'108x68',13,'',1,200,0,'2013-05-14 02:54:51','0000-00-00 00:00:00','2013-05-13',0,1,1,9,,0,0,0,'1','1','1','1'); in /home/bluepoin/public_html/mad/system/database/mysql.php on line 50
Yes, it is the 'viewed' column.burley wrote:HI, just upgraded to 1551 and the latest version of your mod.
Exporting go's without a hitch, importing is giving me problems thought.
I keep getting the following error;
Can't find anything bad in my xlsx file, any clues?
Just save you file as xls and then try upload. Worked for me!Maestroluc wrote:I have an installation of newly installed Opencart 1.5.5.1. The component works well in export but to import fails (Uploaded file is not a valid spreadsheet file or its values are not in the expected formats!) Only when overtaking the 200 lines in the table "products" xlsx file. Any idea?
Thank you very much!
Works!!!…NITCO wrote:Just save you file as xls and then try upload. Worked for me!
Users browsing this forum: No registered users and 15 guests