1. centervanliempd
  2. RO CSVI
  3. Wednesday, 04 October 2023
  4.  Subscribe via email
Hi support,

Really enjoying the RO CSVI module, I think I am just scratching the surface of this amazing software.

I am having a particular problem importing a list of images to create a gallery (using yootheme pagebuilder)

When having some image filenames in the CSV file that are not on existing in the file system, the gallery returns a 404 page.
Now, when I resave the Joomla article, somehow the image list is updated and point to the files that do exist in the file system and the page returns a 200 OK

The filenames that not exist in the file system are not added to the file list upon import, which is a good thing I believe.

Is there some way to validate if images exists or maybe there is another approach avoiding the 404 pages after import.

I hope the screenshot give you som more insight of this particular issue.

kind regards and thanks :)
Center
Attachments (4)
Accepted Answer Pending Moderation
Hello Center,
I applied the patch and reimported the above attached file LTC4-16742.CSV and got a 500 error in the attached screenshot.
Also attached the log file.

Log file will not give us details of 500 error. We need to know what is causing 500 error so to fix it. From Joomla configuration page in backend on Server tab set Error reporting to maximum and save the config. Run the import and check if you get details of the error. Another way if to check server error logs and see if you can get details of 500 error. Post the details here so I can check.

Is it possible to remove the patch from the Joomla admin for further testing?

Yes, you can load the attached modified patch file which will reset the fix. But I would suggest to send us details on 500 error so we can fix it.
Attachments (1)
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 21
Accepted Answer Pending Moderation
WOW! great support providing patches like this, however it is not yet working as expected.

I applied the patch and reimported the above attached file LTC4-16742.CSV and got a 500 error in the attached screenshot.
Also attached the log file.

Is it possible to remove the patch from the Joomla admin for further testing?

kind regards,
Center
Attachments (2)
  1. more than a month ago
  2. RO CSVI
  3. # 22
Accepted Answer Pending Moderation
Hello Center,
Thank you for the files. When we import ImageList there was no check to see if the image actually exists. With the attached patch file I have added a check to check if image exists and then insert into database. That way you will not see "0 The image file does not exist." in frontend. Load the attached patch file and run the import again. See if it solves the issue.
Attachments (1)
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 23
Accepted Answer Pending Moderation
Hello Tharuna,

Do you have images with these names already saved in your system? That is the way I can see Joomla articles can be linked to existing images.

yes, image files are saved in the system.

However, it can occur that the data contains some filenames that are not saved in the file system (please see column gallery)

When this is the case the the article returns a 404 noting "0 The image file does not exist."

I have attached the requested files.
The CSV file has one column named gallery that pulls in the image list data.

I also attached a CSV and log with one affected article, LOG com_csvi.log.106.zip and CSV LTC4-16742.csv

https://dev.centersites.nl/producten/metaalbewerkingsmachines/plaatbewerking/hefboomplaatschaar-hu-10-hs-16742
If I resave this article in the Joomla admin the page renders a 200 again.

imported image list data: 16742.jpg|16742a.jpg|16742b.jpg|16742c.jpg|16742d.jpg
files on the system are: 16742.jpg 16742b.jpg and 16742c.jpg

ik hope you can pin point the issue with this extra information.

kind regards
Center
Attachments (5)
  1. more than a month ago
  2. RO CSVI
  3. # 24
Accepted Answer Pending Moderation
Hello Center,
When having some image filenames in the CSV file that are not on existing in the file system, the gallery returns a 404 page.
Now, when I resave the Joomla article, somehow the image list is updated and point to the files that do exist in the file system and the page returns a 200 OK

Do you have images with these names already saved in your system? That is the way I can see Joomla articles can be linked to existing images.

Is there some way to validate if images exists or maybe there is another approach avoiding the 404 pages after import.

Please post the import debug log to check? To get the debug log see How to collect debug information? document. Also post the import file you are using.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 25
  • Page :
  • 1
  • 2


There are no replies made for this post yet.
Be one of the first to reply to this post!