easypopulate_4_export.php line 781 - using round with 2 for the price isn't right - you should look at the currency settings for the cart. Some people use 3 decimal places.
easypopulate_4_export.php line 781 - using round with 2 for the price isn't right - you should look at the currency settings for the cart. Some people use 3 decimal places.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Please forgive me if this has already been addressed and feel free to send me to a specific post.
1.5.5f, php 5.6.4, version of easypopulate seems to be most recent.
I have a website that has several addon domains - all have zen cart and all are using this mod. In the addon domains which are in subfolders of the main domain, I can set the download directory to the site's root and it all works. I have had to set the primary domain to the admin folder instead like it's supposed to. No biggie but now that these sites have been upgraded to 1.5.5f, the primary domain does still export the files correctly but when you try to access the files, it says not found and they are there in the correct folder in admin.
I did find an htaccess file I must have put in long ago and removed it (without looking at it) but there is no change. Still can't "find" the file. The htaccess file for admin is not changed - using default 1.5.5f. The htaccess file for the primary domain does include the Ultimate SEO mod and a redirect for ssl.
What am I missing?
There's not really a "supposed" to directory, the placement or folder used is as necessary to support the desired functionality. The big change was that the specific location or path of the storage location would not be stored in the database so that the database could not be accessed to determine the folder location of the admin.
So there are two "settings" in the configuration area associated with the storage of the files. One is an indicator of whether the folder location is to be relative to the admin or the catalog, the other is the path from that choice. There is some detection performed upon data entry/selection to try not to store the folder name of the admin folder in the database.
Then, after that, the issues that are likely to occur are related to download depending on where the folder has been set and the path of "permission" (htaccess overlay). This means the htaccess in the folder(s) of and above the location of the storage location affect the ability to download the file. In a typical ZC store, there is no htaccess in the root, so if a folder were created off of the root/catalog of the store, then the file(s) likely could be downloaded without issue. If the folder is off of the admin folder then the admin's htaccess first provides direction with changes needed to be incorporated to support download of csv files.
So, basically, if you are able to create new files by export of data and able to import new files that are uploaded, then if there is a problem with download, the issue is properly providing access to get to the csv file from the Web browser and that is more of a server/permissions setup issue than with this plugin. To provide direct assistance would recommend identifying the server version information, the htaccess for the admin and possibly the htaccess for the images directory. With that information and assuming that uploads/downloads within those two areas work fine, then should be able to suggest a revised version that would work in the EP4 folder being used.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Thanks for reminding me of the second setting. When I changed it to a folder outside admin, it worked fine.