More Zip Problems

General discussion about netjukebox
Post Reply
gme
User
Posts: 4
Joined: Mon Apr 24, 2006 3:27 pm

More Zip Problems

Post by gme »

Hi there.

Again as mentioned in my other posts im a newbie to php and mysql but familiar with computers.

Im having trouble with the zip function.

Setup is

2003 server
IIs6
php 5
mysql 4.1
and of course netjukebox :D

My config.inc.php file contains the following lines

$cfg['codec_dir'] = 'start /b /low c:\codec\\';

and

$cfg['download_album_pack'] = 'C:\codec\7za.exe a -mx0 -tzip -scswin %destination @%list';



is this the correct syntak? When I try to download I get the error saying the filesize is 0.00mb

What permissions to i need to set the IUSR guest account access to on the codec folder and its contents. Im presuming it is read and execute only.

any help appreciated.

Cheers
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

You don't have to change cfg['download_album_pack'].

Code: Select all

$cfg['download_album_pack']        = $cfg['codec_dir'] . '7za.exe a -mx0 -tzip -scswin %destination @%list';
If you dont want to set the proces priorety on a Windows system
You can change the $cfg['codec_dir'] in something like this:

Code: Select all

$cfg['codec_dir']                  = 'D:\Console\Codec\\';
But I would advice to leave it like this:

Code: Select all

$cfg['codec_dir']                  = 'start /b /low D:\Console\Codec\\';

> What permissions to i need to set the IUSR guest account access to on the codec folder and its contents. Im presuming it is read and execute only.
I think that is right, and to the cmd.exe for IIS, see:
http://forum.lan/viewtopic.php?p=39#39
gme
User
Posts: 4
Joined: Mon Apr 24, 2006 3:27 pm

Post by gme »

Hmm Im still having trouble here.

I have kept the default settings in the config file (so I put the codecs in d:\console\codec) the only thing I changed is the mysql password.

Now when I click on download album a folder is created in the temp directory and inside this there is a text file created with listing of the tracks but thats it..

No error on the webpage it just say loading.... no prcessor activity on the server so its not as if its compressing the files.

Is it my old mysql / php setup causing problems?

anyone else on 2003 / iis6 got this working?

cheers folks
appreciated.
Post Reply