Closed rtougn closed 3 months ago
share the .zip file with us, please
did you .zip that file yourself or download it from the application?
it looks ok. going to give it a try
I tried another file on the internet and it was ok, but the file I created doesn't work
@joebordes I think the problem is to the zip. the zip is not generated with the correct file structure.
directories are missing, they are generated as files modules/test/test.php
.
It can be an issue with ziparchive extension I guess?
yes @denaldhushi, you are right! the directory structure is separated by a backslash (), not a forward slash (/) some Windows thing for sure @rtougn please try to use another zip tool, something compatible with the UNIX format and let us know the files seem to be correct from what I see
I don't quite understand. error appears when creating .zip file? I tried uninstalling winrar -> 7zip but still error
ps: i see it, but don't know how to fix the error
has to be some configuration option in that application where you can set the directory separator to UNIX style
let us know how it goes and what you have to configure to get the right format
I just connected to a windows machine, created directory structure, selected the files, right clicked and selected "compress zip". downloaded the file to my linux server and it has the forward slash correct. try that
$ unzip -l /home/joe/test.zip
Archive: /home/joe/test.zip
Length Date Time Name
--------- ---------- ----- ----
0 2024-03-27 18:15 New folder/New Text Document.txt
0 2024-03-27 18:15 New Text Document.txt
--------- -------
0 2 files
I hope you found a solution. If so, and you can, share :-)
I generated a module but i can't import it. I import the downloaded zip file. I use xampp 7.4 on windows.