UnZip won't work. The trick to getting jar working right.
Posted: Wed May 03, 2006 8:42 pm
When I went to start using Joomla I found out that the multi-dot filenames had been mangled by unzip. I tried using the jar program in the Java distribution to unzip/unjar the zip file and got the same result.
Essentially, you'll see an error something like...
The trick to getting jar working right is to make sure the java$filename_controls logical is set correctly. Out of the box that logical is set to -1, which means it will do the underscore for multiple dots translation, and a host of other fun file tricks. By defining the logical like so...
you turn off all the dot replacements. Look at JAVA$FILENAME_CONTROLS.COM in the Java COM directory for a full explanation of what numbers do what for filename translations.
Once I reset the logical, I did the following to unjar the zip file.
and did a full reinstall.
Now I can at least bring up the main Joomla demo page.
Essentially, you'll see an error something like...
Code: Select all
Warning: main(/apache$common/joomla/includes/compat.php50x.php): failed to open stream: no such file or directory in /apache$common/joomla/includes/joomla.php on line 60
Fatal error: main(): Failed opening required '/apache$common/joomla/includes/compat.php50x.php' (include_path='.:/php_root/000000') in /apache$common/joomla/includes/joomla.php on line 60
Code: Select all
$ def/job JAVA$FILENAME_CONTROLS 8
Once I reset the logical, I did the following to unjar the zip file.
Code: Select all
$ jar -xvf PKG_DISK:[ECOS]JOOMLA_1_0_8-STABLE-FULL_PACKAGE.ZIP
Now I can at least bring up the main Joomla demo page.