Alejandro Aranda
Forum Replies Created
-
Forum: Plugins
In reply to: [Woocommerce osCommerce Sync] Unable to copy imagesI did not think either that it was a problem of permissions of the upload folder. Anyway it’s okay to keep this thread, in case someone else happens.
Forum: Plugins
In reply to: [Woocommerce osCommerce Sync] Unable to copy imagesI do not think the PHP version is the problem, sometimes it can give problems if the web is in https, but it seems that is not the case.
I recommend you investigate modifying the code of my plugin.
All the functionality is in the file woocommerce-osc-sync.php
The function that imports images is otw_import_image () the problem must be within it.
You can add new messages in the log file with: otw_log (“importCategories”, message);
If you find something tell me, to fix or add it to the plugin.
good luck
Forum: Plugins
In reply to: [Woocommerce osCommerce Sync] Unable to copy imagesThe problem is that oscommerce files are not accessible from the wordpress.
The script https://test.toko.dk/website-test.php that you have linked me to check the oscommerce site says “https://www.toko.dk is down!” that is that it is not accessible from test.toko.dk you must contact the hosting of your site and ask for this.
Another option is that you mount a local web server on a PC, with a copy of both sites and do it locally. Once you have made your import, pass it to the web server test.toko.dk
Forum: Plugins
In reply to: [Woocommerce osCommerce Sync] Unable to copy imagesIn your wordpress admin panel https://codex.www.ads-software.com/Media_Library_Screen
If exist import images from oscommerce, the problem is in the category and product import code, is not linking the image to the product or category correctly.
Forum: Plugins
In reply to: [Woocommerce osCommerce Sync] Unable to copy imagesDo imported images appear on your [woocommercesite] /wp-admin/upload.php? In case the problem is to link the image to the category or the product
Forum: Plugins
In reply to: [Woocommerce osCommerce Sync] Unable to copy imagesIt seems to be generating well the url of import of the images, another possibility is that from the web server of wordpress is not accessible https://www.toko.dk.
You can test if you have access with this script: https://www.saotn.org/php-curl-check-website-availability/
Forum: Plugins
In reply to: [Woocommerce osCommerce Sync] Unable to copy imagesIf you activate the debug mode, a log file will be generated in the root folder of your wordpress, if you can put some line of the image import log file, maybe I can know what is happening to you.
Forum: Plugins
In reply to: [Woocommerce osCommerce Sync] Duplicate product imagesHi, thanks.
It seems that the function that you attach to me would be worth replacing the name with otw_import_image, but you have to perform tests to see if it has any implication.
Forum: Plugins
In reply to: [Woocommerce osCommerce Sync] Unable to copy imagesI fix the problem in the code.
The images path is make with [‘store_url’]/[‘images_url’]/[‘products_image’]
Can you test now?
Forum: Plugins
In reply to: [Woocommerce osCommerce Sync] Language id field not workingI update plugin for save the sql query for import products in the log file.
Activate debug mode and read file importProduct.log in root WordPress path, and paste in this support taks the query.
Forum: Plugins
In reply to: [Woocommerce osCommerce Sync] Great plugin, and thank you! Product Pictures?The problem seems then that the url https://www.x2industries.com/ is not accessible from your wordpress.
One solution would be to copy the oscoommerce images folder to the wordpress server and try to use the parameters like this:
“OsCommerce store URL”: localhost or the address of your wordpress
In “Images directory”: images
Once the images have been imported you could delete that copied folder.
Forum: Plugins
In reply to: [Woocommerce osCommerce Sync] Great plugin, and thank you! Product Pictures?In “osCommerce store URL”: https://www.x2industries.com
In “Images directory”: images
Are you using those parameters?
Forum: Plugins
In reply to: [Woocommerce osCommerce Sync] Great plugin, and thank you! Product Pictures?Yes, the default directory is images, not image, I think I have written it wrong. I will correct it in the future.
But to clarify and leave doubts, better go to your oscommerce and you give in the browser with the mouse to right button> see image, and look at the URL and place the directory in the new field of the plugin.
Forum: Plugins
In reply to: [Woocommerce osCommerce Sync] Great plugin, and thank you! Product Pictures?Hi, the problem with the images is that they may not be in the default directory of osCommerce “/ image”. I would need the url of your osCommerce to know which is the correct directory.
Example:
your site \ images directory \ image file
I have added an update to the plugin to specify the directory of the images.
Forum: Plugins
In reply to: [Woocommerce osCommerce Sync] orders from specific yearThe timeouts also gave me the import of products, were due to an error when inserting them in WP, or some order has something that does not like WooCommerce and that is why it causes the timeout.
To do what you ask to filter it by dates in the line that you ate yesterday, you must add the following
if ($ orders = $ oscdb-> get_results ("SELECT * FROM orders WHERE DATE (date_purchased)> = '2011-01-01' and DATE (date_purchased) <= '2011-12-31' ORDER BY orders_id DESC", ARRAY_A)) {
For any date you want, using the American format. If there is something that causes the waiting time, the information may be what I can fix.
- This reply was modified 6 years, 11 months ago by Alejandro Aranda.