View previous topic :: View next topic |
Author |
Message |
buggedcom Smarty Rookie
Joined: 16 Feb 2005 Posts: 16
|
Posted: Wed Feb 16, 2005 4:38 pm Post subject: compressing smarty internal files |
|
|
Hi I'm having problems compressing some of the smarty files because their filenames are just too damn long. I'm creating a cms using smarty and to ship to clients i want to compress the cms directory including the smarty directories, however using many different compression programs i have yet to find one that does rename the files or miss of characters.
has anyone got any advice for a good program, pref free, that gives you control over the compression process so it doesn;t rename the files. failing that, would it not be simpler for smarty to shorten some it filenames? |
|
Back to top |
|
buggedcom Smarty Rookie
Joined: 16 Feb 2005 Posts: 16
|
Posted: Wed Feb 16, 2005 4:46 pm Post subject: |
|
|
the main three offending files are
core.assign_smarty_interface.php => core.assign_smarty_interface.ph
core.write_compiled_resource.php => core.write_compiled_resource.ph
core.process_compiled_include.php => core.process_compiled_include.p |
|
Back to top |
|
xces Smarty Regular
Joined: 09 Apr 2004 Posts: 77
|
Posted: Wed Feb 16, 2005 5:07 pm Post subject: |
|
|
It seems that you are using a setting which permits your filenames to have only 31 chars in length. You can try 7-zip maybe? It is freeware and has good compression, including self extracting files. |
|
Back to top |
|
buggedcom Smarty Rookie
Joined: 16 Feb 2005 Posts: 16
|
Posted: Wed Feb 16, 2005 5:09 pm Post subject: |
|
|
i'll try it thanks, however I have tested both mac and pc systems. both os's allow longer than 31 char filenames so i'm a little confused. I'll let you know how it goes |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Wed Feb 16, 2005 5:44 pm Post subject: |
|
|
mac os 9 and lower does only support up to 31 characters long filenames. maybe you have turned some kind of "mac os classic compatibility" turned on. |
|
Back to top |
|
buggedcom Smarty Rookie
Joined: 16 Feb 2005 Posts: 16
|
Posted: Wed Feb 16, 2005 5:48 pm Post subject: |
|
|
no i don't think so i haven't even got classic installed! this is very annoying. i tried renaming some of the files and then altering the references within the classes however it then stopped working. |
|
Back to top |
|
buggedcom Smarty Rookie
Joined: 16 Feb 2005 Posts: 16
|
Posted: Wed Feb 16, 2005 9:52 pm Post subject: |
|
|
ah i upgraded the version of stuffit deluxe, turns out i was using a version that was classic compatible, thus negating the 31 chars, however still means the other apps i tried are a bit poo. |
|
Back to top |
|
|