Re: Apsona ShopAdmin - a free tool for import/mass update/reporting
I don't get this edit (which I had not seen).
Quote:
if (!defined('DIR_FS_CATALOG')) include ('includes/defined_paths.php');//from Zen Cart 1.55
DIR_FS_CATALOG is defined in configure.php so is ALWAYS defined at this point irrespective of the Zen Cart version: defined_paths will never get loaded and so the Apsona page will not work.
So something needs to be tested for, that existed in configure 154 and not 155, such as DIR_WS_ADMIN:
PHP Code:
if (!defined('DIR_WS_ADMIN')) include ('includes/defined_paths.php');//from Zen Cart 1.55
So to recap, in apsona_svc.php I have:
PHP Code:
if (file_exists('includes/local/configure.php')) {
include ('includes/local/configure.php');}
else {
include ('includes/configure.php');}
if (!defined('DIR_WS_ADMIN')) include ('includes/defined_paths.php');//from Zen Cart 1.55
require (DIR_FS_CATALOG . DIR_WS_INCLUDES . 'database_tables.php');
require ('apsona_config.php');
require ('apsona_functions.php');
I also do not agree with putting the DIR_WS_ADMIN in configure.php.
This seems to be as sticking plaster approach as this will allow other mods that rely on this to continue to work, instead of updating them to work with the ZC155 vanilla code.
I think mod code should be self contained and not need bits added to core code to make them work wherever possible.
Re: Apsona ShopAdmin - a free tool for import/mass update/reporting
okay, now I got it. And it's working now! And now I'll create a new package for download.
Re: Apsona ShopAdmin - a free tool for import/mass update/reporting
Thanks for these code patches! I was worried that I wouldn't be able to continue using Shopadmin after updating to 1.5.5, but now it is up and running. I really appreciate the contributions in this thread.
Has someone put together a .zip package with all the 1.5.5 patches applied so that others can have a simpler fix? I would upload it but I don't want to claim credit for any of the code changes.
Re: Apsona ShopAdmin - a free tool for import/mass update/reporting
The instructions need to be added for 1.5.5. If you can add that as well, and put it together right, let me know. I don't mind retrieving and vetting and reuploading if necessary. Haven't had time or energy to do it - 2 surgeries this year....
Re: Apsona ShopAdmin - a free tool for import/mass update/reporting
Quote:
Originally Posted by
delia
The instructions need to be added for 1.5.5. If you can add that as well, and put it together right, let me know. I don't mind retrieving and vetting and reuploading if necessary. Haven't had time or energy to do it - 2 surgeries this year....
Where would i find this addon to work for 1.5.5 i was not able to get it to work? is there a zip file yet?
Thanks,
Robert
Re: Apsona ShopAdmin - a free tool for import/mass update/reporting
I got all the pieces - I'll get it packaged up as soon as I can.
Re: Apsona ShopAdmin - a free tool for import/mass update/reporting
Quote:
Originally Posted by
delia
I got all the pieces - I'll get it packaged up as soon as I can.
Sounds Great too me I just started trying to use it I add around 500 shoulder patches at a time to my site was hoping for an easy idiot way to do it :) Still learning zen cart
Robert
patchesrus.net
Re: Apsona ShopAdmin - a free tool for import/mass update/reporting
All worked after I added this piece to apsona_svc.php
if (file_exists('includes/local/configure.php')) {
include ('includes/local/configure.php');}
else {
include ('includes/configure.php');}
if (!defined('DIR_WS_ADMIN')) include ('includes/defined_paths.php');//from Zen Cart 1.55
require (DIR_FS_CATALOG . DIR_WS_INCLUDES . 'database_tables.php');
require ('apsona_config.php');
require ('apsona_functions.php');
now it works great!
Re: Apsona ShopAdmin install does not work
Does someone have experience using Apsona to export customers from 1 store and import them to another? Whenever i do it matched adresses with Name, lastname, e-mailadres, postalcode etc.. with a slight difference and with an export that export for every adress (up til 5 are allowed in the adressbook) a new customer/line in the CSV i have now x times the amount of customers then i had; lol.
Best would be that apsona check ONLY on emailadres and just don't do an import when it exist in the database.
Re: Apsona ShopAdmin - a free tool for import/mass update/reporting
Hi I really need some help with this mod if possible. I have everything installed but all I get is the apsona header and nothing else. Ive checked the troubleshooter on apsona website and change the files to execuable and the aalow_url_fopen is set to on. My PHP is 5.5.26. The version of zen cart is 1.5.4. MY SQL Version is 5.5.52
Thanks