Download trouble (SOLVED)

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Hitwalker
-


Joined: 19 Oct 2007
Posts: 9

PostPosted: Sun Jan 27, 2008 6:26 pm    Post subject: Download trouble (SOLVED) Reply with quote

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 View user's profile Send private message
pkSML
-


Joined: 29 May 2006
Posts: 955
Location: Michigan, USA

PostPosted: Sun Jan 27, 2008 6:33 pm    Post subject: Re: Download trouble Reply with quote

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 View user's profile Send private message Visit poster's website
Hitwalker
-


Joined: 19 Oct 2007
Posts: 9

PostPosted: Sun Jan 27, 2008 6:43 pm    Post subject: Reply with quote

cant download any files exe.rar.tar.zip...you name it...i have default settings on my abyss server
Back to top View user's profile Send private message
pkSML
-


Joined: 29 May 2006
Posts: 955
Location: Michigan, USA

PostPosted: Sun Jan 27, 2008 9:15 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
Hitwalker
-


Joined: 19 Oct 2007
Posts: 9

PostPosted: Sun Jan 27, 2008 9:49 pm    Post subject: Reply with quote

have put in there...thanks
Back to top View user's profile Send private message
pkSML
-


Joined: 29 May 2006
Posts: 955
Location: Michigan, USA

PostPosted: Sun Jan 27, 2008 10:22 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
Hitwalker
-


Joined: 19 Oct 2007
Posts: 9

PostPosted: Sun Jan 27, 2008 10:42 pm    Post subject: Reply with quote

thanks alot man did almost be grey in my hair
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group