lokothodida / gs-catalog

Catalog plugin for GetSimple CMS.
1 stars 1 forks source link

Warning when trying to add new product #12

Open Tzvook opened 9 years ago

Tzvook commented 9 years ago

when trying to add FIRST new product I get :

Warning: SimpleXMLElement::saveXML(D:\xampp\htdocs\php\cms\GetSimple\GSBD-33X/data/other/catalog/products/product-1_en.xml) [simplexmlelement.savexml]: failed to open stream: No such file or directory in D:\xampp\htdocs\php\cms\GetSimple\GSBD-33X\plugins\catalog\data.class.php on line 60

creating /data/other/catalog/products/ directory manually solves it ...

lokothodida commented 9 years ago

Problem noted on GetSimple forums as well. Recent commit should solve the problem (fingers crossed).

Tzvook commented 9 years ago

I'll try it soon ... I saw the request for Image picker in the forum and noticed that when I added it to github yesterday it labeled itself as a new branch :-) so you missed it
https://github.com/Tzvook/gs-catalog/blob/patch-1/catalog/editcategory.php

lokothodida commented 9 years ago

Thanks for the fix. Merged the branches.

Also, it should be safe for you to work on a separate language file and for me to merge it into the current branch, so you can do the translation whenever you want. And generally, I'm happier with this codebase, so you can also make fixes where you see obvious bugs.

Tzvook commented 9 years ago

Yep - this codebase is great. but for the image-picker - there were later corrections + a focus request @ the GS forum ( http://get-simple.info/forums/showthread.php?tid=4807&pid=49325#pid49325 ) I gave a solution for the focus , but didn't checked it @ all browsers

lokothodida commented 9 years ago

Implemented your changes.