Version2.1 Windows niggles

Holding space for lester's outstanding niggles with LibertyMime on windows.

Created by: Lester Caine, Last modification: 07 Aug 2008 (10:37 UTC)
2.1 will not run on windows - out of the box.

1/ BitSystem 1549 - finfo_open needs the full path to the windows copy of magic.mime
See - http://pecl.php.net/bugs/bug.php?id=7555

2/ LibertySystem 576 - verifyMimeType fails because windows temporary file all have .tmp extension.
This is currently skipped when using windows, but needs a tidier security check.
This has been fixed - or rather is handled in current builds.

3/ Not specifically 2.1, but format.pearwiki_general.php causes a silent crash which seems to be due to the windows PEAR installation.
See notes on installing PEAR

4/ Currently slecting download on a treasury image causes a silent crash.
See notes on installing PEAR::HTTP_Download.

5/ Have added a view_grid.php and template to treasury. Still needs a little work, but it does provide the fisheye grid view of images stored in treasury galleries. This should simply replace view.php, once the extra settings can be controlled, but grid layout in fisheye is by gallery and I'm not sure that is possible/required for treasury?
Only missing thing so far is 'Original' as a display option, but this I think needs adding to the LM default.
image give 'original' option on display, and applications such as .pdf and .zip hide all image buttons.

6/ Reload file from treasury file edit fails due to a path problem with the renaming of the original file. Trying to use bitweaver\Temp but fails with 'file exists' error.

CRIB SHEET for PEAR Installation on Windows
Just a reminder , but will be useful for new installs.

PHP is installed from the ZIP file, and the PECL zip is also loaded into PHP5_x_x/ext so all are available.
I'm using /Network/ as my base for all the network services, so C:/Network/PHP5_2_5 has the PHP installation.
Open a command prompt ( Start->Programs->Accessories->Command Prompt )
...>cd \Network\PHP5_2_5
...>go-pear
...>pear install Auth
...>pear install Text_Wiki
...>pear install Text_Diff
...>pear install Image_Graphviz
...>pear channel-discover htmlpurifier.org
...>pear install hp/HTMPPurifier
...>pear install HTTP
...>pear install HTTP_Download

There were a couple of 'errors' while running this and I had to add
...>pear channel-update pear.php.net
After running the Auth install.

The main problem will ALL of this is that I do not have network access from anuy of the secure machines, so it has to be copied - on-line loading is not an option!

Comments

IIS problems?

by laetzer, 07 Aug 2008 (16:25 UTC)
It's been a while, but I've run Bitweaver many times on a Windows server and never had these problems. Do these problems only appear when Microsoft's Webserver IIS is used?

by Lester Caine, 09 Aug 2008 (04:03 UTC)
laetzer - just spotted this post - would be nice if they flagged on the 'last modified page' list ;)
I don't use IIS and never will - only testing on Apache but in parallel on Windows and Linux. Problems were originally in version 2.1 following the move to LibertyMime and rather than posting bug reports for them I created the page just to have somewhere to refer to.
The problems with using mime on windows still need to be understood. Loosing the file extension on the temporary copy of a file, and the difficulty with magic.mime not ACTUALLY working yet on windows PHP.
The crib sheet for installing PEAR still needs supporting with a 'non-online' method of getting the relevant files. The 'current' zip of them is out of date and I would still prefer these to be part of bitweaver rather than relying on the hit and miss way PEAR handles updates!
  Page 1 of 1  1