Hi,
I'm using CSVI pro 7.3 with Joomla 3.81.
I'm importing an xml file and all images are imported with 0 size.
Any ideas on what might be causing this?
Thanks!
Dennis
- barracuda69
- RO CSVI
- Thursday, 02 November 2017
- Subscribe via email
0
Accepted Answer
Pending Moderation
Hello Dennis,
Have a look at post here which talks about the same issue and solution for the issue. Try and let me know if it helps.
Have a look at post here which talks about the same issue and solution for the issue. Try and let me know if it helps.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hi Tharuna,
Sorry for the late reply I was testing various combinations so that I could get back to you with a more detailed approach.
My problem is a bit different... allow_url_fopen is enabled fine but something funny happens.
Here's the scenario:
1. The xml has 2 new products
2. Importing the xml via the component imports 1 new product only instead of 2 but its image is imported just fine
3. Importing the xml via a cronjob (/home/httpd/cgi-bin/php70 /usr/home/adagio/public_html/administrator/components/com_csvi/helper/cron.php --key=adagr2017 --template_id=2) imports both new products but with 0 size on the images...
Any good ideas? ;-)
Thanks!
Dennis
Sorry for the late reply I was testing various combinations so that I could get back to you with a more detailed approach.
My problem is a bit different... allow_url_fopen is enabled fine but something funny happens.
Here's the scenario:
1. The xml has 2 new products
2. Importing the xml via the component imports 1 new product only instead of 2 but its image is imported just fine
3. Importing the xml via a cronjob (/home/httpd/cgi-bin/php70 /usr/home/adagio/public_html/administrator/components/com_csvi/helper/cron.php --key=adagr2017 --template_id=2) imports both new products but with 0 size on the images...
Any good ideas? ;-)
Thanks!
Dennis
Accepted Answer
Pending Moderation
Hello Dennis,
Can you post the debug log of both the imports along with your XML file to check? It is difficult for me to tell on the issue without these details. To know on how to get the debug log check Where to get debug log information? document.
Can you post the debug log of both the imports along with your XML file to check? It is difficult for me to tell on the issue without these details. To know on how to get the debug log check Where to get debug log information? document.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hi Tharuna.
File sizes are too large to attach but you can get them here: http://adagio.gr/xml/Archive.zip
The xml is also too large to attach but you can find it here: http://adagio.gr/xml/zozef.xml
Hope this helps...
Thanks
File sizes are too large to attach but you can get them here: http://adagio.gr/xml/Archive.zip
The xml is also too large to attach but you can find it here: http://adagio.gr/xml/zozef.xml
Hope this helps...
Thanks
Attachments (12)
Accepted Answer
Pending Moderation
Hello Dennis,
Always try running import with fewer products so we get smaller debug log and so finding out an issue is also easy. Looking at your screenshot its understood that you have issue with product with SKU ZOZTAMIGRGCE101BLK and ZOZEBMISSBASCO045. I tried to run import of these products both from administrator component interface and using cron and image processes just fine. I am thinking that allow_url_fopen in PHP configuration for your CLI mode is not enabled and so image is imported with 0 size using cron import. Can you check your PHP CLI mode configuration file and see if allow_url_fopen is enabled?
Always try running import with fewer products so we get smaller debug log and so finding out an issue is also easy. Looking at your screenshot its understood that you have issue with product with SKU ZOZTAMIGRGCE101BLK and ZOZEBMISSBASCO045. I tried to run import of these products both from administrator component interface and using cron and image processes just fine. I am thinking that allow_url_fopen in PHP configuration for your CLI mode is not enabled and so image is imported with 0 size using cron import. Can you check your PHP CLI mode configuration file and see if allow_url_fopen is enabled?
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello Tharuna,
Thanks for your help.
I fixed it by using /usr/bin/php70 instead of /home/httpd/cgi-bin/php70 in the cron command. The new command forces CLI mode while the old one didn't.
Dennis
Thanks for your help.
I fixed it by using /usr/bin/php70 instead of /home/httpd/cgi-bin/php70 in the cron command. The new command forces CLI mode while the old one didn't.
Dennis
Accepted Answer
Pending Moderation
Hello Dennis,
Thank you for posting the solution.
Thank you for posting the solution.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »