Quantcast
Channel: Phoca Forum
Viewing all articles
Browse latest Browse all 2034

Phoca Cart • Re: Minor errors in 5 Beta 30

$
0
0
Jan

It happened again and it's actually worse than I described (which I thought before but I wouldn't say without being certain it wasn't my own fault). I effectively deleted 1 image and the whole phocacartdownload folder was gone which also contained a lot more.

Steps to reproduce:
- Best take a safe copy of your phocacartdownload folder first
- Make sure Phoca Multi Language feature is Off (otherwise import will not be correct)
- Prepare 4 JPG images (or 4 copies): image-7777.jpg, image-7777m.jpg, image-7777l.jpg and image-7777s.jpg respectively for Product images/thumb and for medium, large and small downloads (Attributes). File names case sensitive on linux.
- My category is called Test images, Alias test-images with ID 8. You can of course use your own but then the XML needs to be modified accordingly.
- go into images/phocacartproducts and create subfolder test-images and upload the first image image-7777.jpg in it
- go into phocacartdownload and create subfolder AZFCoH3du2OQ8biW7, open that and create 3 folders m, l, and s
- go into each of them and upload the respective image
[All images need to exist before importing the XML]
- also add some other subfolders to show that it doesn't only happen when you're deleting the last one from phocacartdownload
- save content of next post in an XML file and use Phoca Cart Import (It was too much for one reply post to include it here)
- make sure phocacartdownload or any of the sub folders isn't open any more (e.g. go to root in Phoca Commander)
- Open the category and search the product, select it and then Actions - Trash
- Check Phoca Commander: phocacartdownload is still there
- In Category set Select Status to Trashed, select the product and Actions - Delete + confirm
- Check Phoca Commander: phocacartdownload folder tree is gone

Joomla 5.0.3, PHP 8.3.3, MariaDB 10.5.23, Phoca Cart 5 beta 30
Joomla Backward Compatibility Plugin seems to be enabled. Idk if I did that.
P.S. The problem existed before I removed web access on phocacartdownload (see my 'Tip' post from yesterday).

Statistics: Posted by lpatrick — 29 Feb 2024, 14:53



Viewing all articles
Browse latest Browse all 2034

Trending Articles