templaza / astroid-framework

Powerful framework for designers and developers to create responsive, fast & robust Joomla based websites and templates.
https://astroidframe.work/
GNU General Public License v3.0
86 stars 15 forks source link

Error when I want to export preset profile #508

Closed deltapapa01 closed 11 months ago

deltapapa01 commented 11 months ago

Hello, I have noticed an error when I want to export preset profiles. I have tested it on 2 sites, Astroid Fw 3.0.7 and Zero Template 3.07: Not all data is written to the JSON file. I tried to import a preset profile from one site to the other (also Fw and Tpl both 3.0.7), and always got the error Invalid File. Then I had a look in the JSON file, and that's all it says. Both pages are Joomla 4.4.1.

image

Now I have exported a present profile test-wide from a Joomla 5.0.1 and Fw + Zero 3.0.7 and looked inside, there is much more information inside. This file is also significantly larger (904KB to 74.785KB)

image

So there seems to be something wrong with the creation of the present profile.

WBR, deltapapa

Translated with DeepL.com (free version)

deltapapa01 commented 11 months ago

Okay, i test somthing with my sites, i update on of the both testsites to J5.0.1, it's always the same, the present profile is only 904 kb big and only the text i posted above was in there.

Joomlaplates commented 11 months ago

Hello, Sony will take a look on Monday but I can say that it works on all of m sites (80). I think there is something wrong with your rights of the folder on your server. .. Anyway I can give you an alternate solution without export function to get the styles. You can find all styles on your server folder and download them manuallly with FTP. All files are stored in Joomla Root//media/templates/site/your template/astroid/presets/ Json Files... MfG Peter

deltapapa01 commented 11 months ago

Hi Peter, thank you very much, this json file is 124Kb big, it has all information i need. Thats work for me, i do need this on only one site to import.

WBR and i wish a good "Drittes Adventswochenende" 😊

Joomlaplates commented 11 months ago

Thanks, I cose this thread Danke, schönen Sonntag