Post by JIMSLITA » Fri Feb 07, 2014 8:07 pm

I am using OC 1.5.4 and thought I had the correct version of Export/Import. I'll double check, thanks.

OC v 1.5.4 with alot of tweaks,exts & mods.


User avatar
New member

Posts

Joined
Fri Feb 08, 2013 3:49 pm

Post by pcp1917 » Sun Feb 16, 2014 2:34 am

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.

Newbie

Posts

Joined
Fri Jan 31, 2014 7:29 pm

Post by jarrodkatanda » Sun Feb 16, 2014 3:05 am

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

Newbie

Posts

Joined
Sun Feb 16, 2014 2:58 am

Post by nfs » Sun Feb 16, 2014 3:23 am

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.

nfs
Newbie

Posts

Joined
Sat Oct 12, 2013 10:49 am

Post by JNeuhoff » Sun Feb 16, 2014 3:43 am

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/

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by JNeuhoff » Sun Feb 16, 2014 3:46 am

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.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by pcp1917 » Sun Feb 16, 2014 4:12 am

Thank you for your work!

Newbie

Posts

Joined
Fri Jan 31, 2014 7:29 pm

Post by nfs » Sun Feb 16, 2014 5:12 pm

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

nfs
Newbie

Posts

Joined
Sat Oct 12, 2013 10:49 am

Post by JNeuhoff » Sun Feb 16, 2014 9:28 pm

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.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Lao » Mon Feb 17, 2014 9:28 pm

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.

I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro


User avatar
Lao
Active Member

Posts

Joined
Tue Nov 23, 2010 3:31 pm
Location - Craiova, Romania

Post by SamNabz » Fri Feb 21, 2014 8:06 am

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.

Cheers, Sam


Active Member

Posts

Joined
Wed Jul 06, 2011 7:32 am
Location - Sydney, Australia

Post by JNeuhoff » Fri Feb 21, 2014 5:50 pm

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)

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by cosmicx » Mon Mar 03, 2014 11:05 am

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.

Active Member

Posts

Joined
Mon Jan 09, 2012 6:27 pm

Post by JIMSLITA » Mon Mar 03, 2014 4:39 pm

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.

OC v 1.5.4 with alot of tweaks,exts & mods.


User avatar
New member

Posts

Joined
Fri Feb 08, 2013 3:49 pm

Post by Lao » Thu Mar 27, 2014 12:20 am

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?

I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro


User avatar
Lao
Active Member

Posts

Joined
Tue Nov 23, 2010 3:31 pm
Location - Craiova, Romania

Post by sarahwhite0 » Thu Jun 05, 2014 12:40 pm

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.

Newbie

Posts

Joined
Thu Jun 05, 2014 12:37 pm

Post by bertjeb » Fri Jun 13, 2014 9:51 pm

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!

Newbie

Posts

Joined
Fri Jun 13, 2014 9:44 pm

Post by JNeuhoff » Sat Jun 14, 2014 2:38 am

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.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by bertjeb » Sun Jun 15, 2014 9:25 pm

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!

Newbie

Posts

Joined
Fri Jun 13, 2014 9:44 pm

Post by Cue4cheap » Sun Jun 15, 2014 10:06 pm

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

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am
Who is online

Users browsing this forum: No registered users and 10 guests