View previous topic :: View next topic |
Author |
Message |
Hitwalker -
Joined: 19 Oct 2007 Posts: 9
|
Posted: Sun Jan 27, 2008 6:26 pm Post subject: Download trouble (SOLVED) |
|
|
Hi hope some can help me out here!
I put up a file on my site and when i try to download it so do i get this in my log file
27/Jan/2008:18:09:36 +0100 SUID: 0 PUID: 0 RUID: 0 URI: timeout-header2!
PHP Parse error: syntax error, unexpected '[' in C:\Abyss Web Server\htdocs\dh\TWK.rar on line 88
PHP Parse error: syntax error, unexpected '[' in C:\Abyss Web Server\htdocs\dh\TWK.rar on line 88
PHP Parse error: syntax error, unexpected T_STRING in C:\Abyss Web Server\htdocs\dh\setup.exe on line 181
Last edited by Hitwalker on Sun Jan 27, 2008 10:43 pm; edited 1 time in total |
|
Back to top |
|
 |
pkSML -
Joined: 29 May 2006 Posts: 955 Location: Michigan, USA
|
Posted: Sun Jan 27, 2008 6:33 pm Post subject: Re: Download trouble |
|
|
Hitwalker wrote: | Hi hope some can help me out here!
I put up a file on my site and when i try to download it so do i get this in my log file
27/Jan/2008:18:09:36 +0100 SUID: 0 PUID: 0 RUID: 0 URI: timeout-header2!
PHP Parse error: syntax error, unexpected '[' in C:\Abyss Web Server\htdocs\dh\TWK.rar on line 88
PHP Parse error: syntax error, unexpected '[' in C:\Abyss Web Server\htdocs\dh\TWK.rar on line 88
PHP Parse error: syntax error, unexpected T_STRING in C:\Abyss Web Server\htdocs\dh\setup.exe on line 181 |
Why exactly are .rar files being parsed by PHP?
The default installation of Abyss will give you a directory listing for your dh directory. Then you just right-click on the file and select "save target as" and it will download any type of file just fine. _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
 |
Hitwalker -
Joined: 19 Oct 2007 Posts: 9
|
Posted: Sun Jan 27, 2008 6:43 pm Post subject: |
|
|
cant download any files exe.rar.tar.zip...you name it...i have default settings on my abyss server |
|
Back to top |
|
 |
pkSML -
Joined: 29 May 2006 Posts: 955 Location: Michigan, USA
|
Posted: Sun Jan 27, 2008 9:15 pm Post subject: |
|
|
Could you post your abyss.conf file to The Code-Bin?
You might have made a little error in your config. _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
 |
Hitwalker -
Joined: 19 Oct 2007 Posts: 9
|
Posted: Sun Jan 27, 2008 9:49 pm Post subject: |
|
|
have put in there...thanks |
|
Back to top |
|
 |
pkSML -
Joined: 29 May 2006 Posts: 955 Location: Michigan, USA
|
Posted: Sun Jan 27, 2008 10:22 pm Post subject: |
|
|
Yes, it's as I thought. In the associated extensions for the PHP interpreter, you put an asterisk. It's supposed to be php.
Notice the difference below on the third line:
MINE
Code: | <interpreter>
<ext>
php
</ext>
<interface>
0
</interface>
<file>
/php5/php-cgi.exe
</file>
<checkexists>
yes
</checkexists>
<type>
1
</type>
<updatepaths>
yes
</updatepaths>
</interpreter> |
YOUR'S
Code: | <interpreter>
<ext>
*
</ext>
<interface>
1
</interface>
<file>
C:\PHP\php-cgi.exe
</file>
<checkexists>
yes
</checkexists>
<type>
1
</type>
<updatepaths>
yes
</updatepaths>
</interpreter> |
You can just edit your abyss.conf file directly for this little change. Just make sure to stop Abyss from running first. _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
 |
Hitwalker -
Joined: 19 Oct 2007 Posts: 9
|
Posted: Sun Jan 27, 2008 10:42 pm Post subject: |
|
|
thanks alot man did almost be grey in my hair |
|
Back to top |
|
 |
|