Page 11 of 13

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Fri Feb 07, 2014 8:07 pm
by JIMSLITA
I am using OC 1.5.4 and thought I had the correct version of Export/Import. I'll double check, thanks.

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Sun Feb 16, 2014 2:34 am
by pcp1917
Magnificent extension.

I'm trapped with a problem about the encoding when importing data.

If I insert the name "Aceitería" through the opencart admin panel, when creating a category (for example), the field in the database is right ("Aceitería"). If I insert "Aceitería" directly via mySQLAdmin, the field in the database is right too.

In export.php of the tool, the variable "name" just before inserting it into the table contains the right value -> "Aceitería". But after the insertion, the field in the database has wrong chars-> "Aceitería"

Then, I don't know why the "INSERT INTO" of the import tool stores "Aceitería" instead of "Aceitería".

Please help me!

Regards.

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Sun Feb 16, 2014 3:05 am
by jarrodkatanda
hi,

I have followed the instruction and getting this error message,

The requested URL /admin/<b>Notice</b>: Undefined variable: export in <b>/srv/disk1/1616455/www/themacmanleicester.atspace.co.uk/admin/view/template/common/header.tpl</b> on line <b>213</b> was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


any ideas what this means?

I am a not very good with code and have tried all steps again with the same error message,
any help would be very appreciated.

thanks

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Sun Feb 16, 2014 3:23 am
by nfs
My export import file seems corrupt.

The file open OK, and all information is available. But its corrupt.
I cant upload it to my store. File size is actually 280kb. But the new file size is 550kb.

The server get a PHP Fatal Error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 3145728 bytes)
It is not a memory error in my server. File is corrupt

If I export my data from opencart to my computer it is OK. But I loose 150pcs products.
If I only copy the export import file data fields on my computer "The corrupt " one. File size will jump from 300kg to 550kb.
It do not mater if I add 10 products or 100pcs. File size jump to 550kb.

How to resolve this? Is there other export import tool I can use, so I dont loose my 150pcs of products data.

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Sun Feb 16, 2014 3:43 am
by JNeuhoff
nfs wrote: The server get a PHP Fatal Error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 3145728 bytes)
It is not a memory error in my server. File is corrupt
.....
How to resolve this? Is there other export import tool I can use, so I dont loose my 150pcs of products data.
You need to resolve your memory error first, see e.g. http://www.opencartnews.com/tutorials/c ... olve-them/

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Sun Feb 16, 2014 3:46 am
by JNeuhoff
pcp1917 wrote:Magnificent extension.

I'm trapped with a problem about the encoding when importing data.

If I insert the name "Aceitería" through the opencart admin panel, when creating a category (for example), the field in the database is right ("Aceitería"). If I insert "Aceitería" directly via mySQLAdmin, the field in the database is right too.

In export.php of the tool, the variable "name" just before inserting it into the table contains the right value -> "Aceitería". But after the insertion, the field in the database has wrong chars-> "Aceiter&iacute;a"

Then, I don't know why the "INSERT INTO" of the import tool stores "Aceiter&iacute;a" instead of "Aceitería".

Please help me!

Regards.
Thank you for reporting this issue. I'll fix it in the next release of the Export/Import tool, the old pear library (used in the past) didn't have proper UTF-8 support for XLS, but since it is now using the newer XLSX format and the PHPExcel software, it shouldn't be too hard to fix it so as to have full UTF-8 support.

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Sun Feb 16, 2014 4:12 am
by pcp1917
Thank you for your work!

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Sun Feb 16, 2014 5:12 pm
by nfs
JNeuhoff wrote:
nfs wrote: The server get a PHP Fatal Error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 3145728 bytes)
It is not a memory error in my server. File is corrupt
.....
How to resolve this? Is there other export import tool I can use, so I dont loose my 150pcs of products data.
You need to resolve your memory error first, see e.g. http://www.opencartnews.com/tutorials/c ... olve-them/
It do not mater if I add 10 products or 100pcs. File size jump to 550kb.

So What Im saying is that filesize jump from about 250kb to 550kb if only add one product. File is corrupt how to resolve this. Is there any other export import tool I can try if working then I export from my opencart and get a working file again.


An other problem I have had since installed is this error message in log.
PHP Notice: Cannot find controller class file for route '' in /home/user1901/public_html/system/engine/factory.php on line 152

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Sun Feb 16, 2014 9:28 pm
by JNeuhoff
nfs wrote: So What Im saying is that filesize jump from about 250kb to 550kb if only add one product. File is corrupt how to resolve this. Is there any other export import tool I can try if working then I export from my opencart and get a working file again.


An other problem I have had since installed is this error message in log.
PHP Notice: Cannot find controller class file for route '' in /home/user1901/public_html/system/engine/factory.php on line 152
You are not telling us the whole story. Suggest if you send me a PM with your Opencart, cPanel and FTP login details I can take a look at it.

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Mon Feb 17, 2014 9:28 pm
by Lao
anat wrote: also, go to lines: 112 and 146 (where the jqeury code is):

if (image != null) {
html += '<div class="image">' + image + '</div>';
}



and replace it with this:

if (image != null) {
html += '<div class="image">' + image + '</div>';
}

else {
html += '<div class="image">' + '<a href="<?php echo $product['href']; ?>"><img src="http://www.yourdomain.com/image/cache/d ... -80x80.jpg" title="<?php echo $product['name']; ?>" alt="<?php echo $product['name']; ?>" /></a>' + '</div>';
}


(or just add the "else" segment).
Notice - the path I gave for the image placeholder is where my placeholder is (no_image.jpg). You should choose the right path for your pic of course.
This will work on category pages. If you have other pages that display products (like "manufacturers-info.tpl for example) you need to find the lines in those file which match those I've mentioned above, and do the same thing.
Hope this was helpful.
I don't have these lines in my product.tpl :( I'm using OCTheme2.

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Fri Feb 21, 2014 8:06 am
by SamNabz
Hi J.Neuhoff,

We are using your extension, which works perfectly. However, we have installed an extension called "Multicurrency" (http://www.opencart.com/index.php?route ... on_id=7084) which allows you to insert product pricing in various currencies which then automatically get converted to the store's default currency choice.

Now, the Multicurrency fields are not included when we do an export and so we were wondering what modification(s) we have to make to your extension in order for it to include the custom fields in the export, as well as allows us to edit those fields offline and re-import them back in.

Your earliest reply is appreciated.

Thank you.

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Fri Feb 21, 2014 5:50 pm
by JNeuhoff
SamNabz wrote:Hi J.Neuhoff,

We are using your extension, which works perfectly. However, we have installed an extension called "Multicurrency" (http://www.opencart.com/index.php?route ... on_id=7084) which allows you to insert product pricing in various currencies which then automatically get converted to the store's default currency choice.

Now, the Multicurrency fields are not included when we do an export and so we were wondering what modification(s) we have to make to your extension in order for it to include the custom fields in the export, as well as allows us to edit those fields offline and re-import them back in.

Your earliest reply is appreciated.

Thank you.
You'd have to modify the admin/model/tool/export.php at the following methods:
storeProductsIntoDatabase
uploadProducts
expectedProductsHeading
getProducts
populateProductsWorksheet

If you want, I can do it for you for a small charge (in which case send me a PM)

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Mon Mar 03, 2014 11:05 am
by cosmicx
Hello J.Neuhoff

I've found your Import/Export Tool very powerful. Right now, I am still developing my own store. I found and installed another extension called "SEO Ultimate"

My question is, will you be able to include it to your import/export tool? I mean include the table so it can be also imported and exported?

The SEO Ultimate Extension, lets you insert an SEO keyword/phrases on top or in place of the meta title/product title and I am looking forward that I can also back it up and also import it from the excel file.

Please message me, if you have the time.

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Mon Mar 03, 2014 4:39 pm
by JIMSLITA
SamNabz wrote:Hi J.Neuhoff,

We are using your extension, which works perfectly. However, we have installed an extension called "Multicurrency" (http://www.opencart.com/index.php?route ... on_id=7084) which allows you to insert product pricing in various currencies which then automatically get converted to the store's default currency choice.

Now, the Multicurrency fields are not included when we do an export and so we were wondering what modification(s) we have to make to your extension in order for it to include the custom fields in the export, as well as allows us to edit those fields offline and re-import them back in.

Your earliest reply is appreciated.

Thank you.
Hi there

I have a modified version of the export.php which allows us to import/export product COSTS to use this extension in conjunction with the ADV profit modules - if you would like to have a look it might make editing for your purposes a bit clearer.

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Thu Mar 27, 2014 12:20 am
by Lao
Lao wrote:
anat wrote: also, go to lines: 112 and 146 (where the jqeury code is):

if (image != null) {
html += '<div class="image">' + image + '</div>';
}



and replace it with this:

if (image != null) {
html += '<div class="image">' + image + '</div>';
}

else {
html += '<div class="image">' + '<a href="<?php echo $product['href']; ?>"><img src="http://www.yourdomain.com/image/cache/d ... -80x80.jpg" title="<?php echo $product['name']; ?>" alt="<?php echo $product['name']; ?>" /></a>' + '</div>';
}


(or just add the "else" segment).
Notice - the path I gave for the image placeholder is where my placeholder is (no_image.jpg). You should choose the right path for your pic of course.
This will work on category pages. If you have other pages that display products (like "manufacturers-info.tpl for example) you need to find the lines in those file which match those I've mentioned above, and do the same thing.
Hope this was helpful.
I don't have these lines in my product.tpl :( I'm using OCTheme2.
Anyone have a solution for this?

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Thu Jun 05, 2014 12:40 pm
by sarahwhite0
JNeuhoff wrote:
cabicon wrote:Hey Guys.

Getting this error msg.

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 '=52,0,'','','','','','','',5,'Multimeter DMM 902 4mm probe',0,'',1,389,0,NOW(),N' at line 1
Error No: 1064
INSERT INTO `oc_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 (=52,0,'','','','','','','',5,'Multimeter DMM 902 4mm probe',0,'',1,389,0,NOW(),NOW(),NOW(),0,1,1,9,0,0,0,0,'1','1','1','1'); in /hsphere/local/home/cabicon/test.test/xto/system/database/mysql.php on line 49

I think ive tried everything, but nothing works.. Please help me..

and happy new year

Regards
Wrong product_id, it should be an integer value, not something like '=52'.
Just struggled with this, thanks for your suggestion.

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Fri Jun 13, 2014 9:51 pm
by bertjeb
JNeuhoff Thank you for building the tool!

After installing the Export/Import tool I moved to the latested step of de readme.
From there, select 'Top Administrator', then click on the 'Edit' link to the right.
This will open up an edit window with multichoice dropdown lists for 'Access' and 'Modify' rights.
In both of them, you'll see a new entry for 'tool/export' which you can select by clicking
on their check boxes.
I'm not able to find these options, after setting select all I still don't have access to the tool.

Can you please help, many thanks!

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Sat Jun 14, 2014 2:38 am
by JNeuhoff
bertjeb wrote: I'm not able to find these options, after setting select all I still don't have access to the tool.
Looks like you haven't uploaded all the files from the admin folder.

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Sun Jun 15, 2014 9:25 pm
by bertjeb
JNeuhoff wrote:
Looks like you haven't uploaded all the files from the admin folder.
Thank you for your replay I copied everything again but it didn't change. Any other suggestions or specific files where I need to look for?

Many thanks!

Re: [RELEASED] Export/Import tool for OpenCart 1.5.4.x

Posted: Sun Jun 15, 2014 10:06 pm
by Cue4cheap
bertjeb wrote:
JNeuhoff wrote:
Looks like you haven't uploaded all the files from the admin folder.
Thank you for your replay I copied everything again but it didn't change. Any other suggestions or specific files where I need to look for?

Many thanks!
Do you have VQMod installed?

Mike