Upload using PHP script from http://www.webfilebrowser.org/

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


Joined: 26 Mar 2006
Posts: 3

PostPosted: Sun Mar 26, 2006 6:20 pm    Post subject: Upload using PHP script from http://www.webfilebrowser.org/ Reply with quote

Hope I dont get flamed for this as I could not find an answer using the search.. so please be kind. Here is my issue,

I'm able to view and download from the remote PC but unable to edit or upload files. I get the "The page cannot be displayed" IE msg.
I made sure that my php.ini file had "file_uploads = On"

I've also tested from the PC the server is installed on using the loopback IP. Same result.

Any input, suggestions would be greatly appreciated!!
Z.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Mar 27, 2006 11:00 am    Post subject: Re: Upload using PHP script from http://www.webfilebrowser.o Reply with quote

Zaserty,

Do other PHP scripts work? Could you do the test with this script:

Code:
<?php
phpinfo();
?>


What is the full error message displayed by IE (we need to determine if it is a connection problem or if there is an error number reported by the server)?
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Zaserty
-


Joined: 26 Mar 2006
Posts: 3

PostPosted: Mon Mar 27, 2006 2:57 pm    Post subject: Reply with quote

Thanks for your reply aprelium,

Yes, the script you suggested runs successfully as others I've written.
The IE page it takes me to when I try to upload or save an edit to a file is
"The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. HTTP 404 - File not found Internet Explorer"

Thank you for assisting me with this.
Z.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Mar 28, 2006 3:57 pm    Post subject: Reply with quote

Zaserty,

OK. So there is probably a wrong URL or path inside one of your scripts. Open your log/access.log file and locate the latest lines which contain teh 404 error code. Log lines have the following form:

Code:
127.0.0.1 - - [28/Mar/2003:03:36:52 +0100] "GET /test/file.ext HTTP/1.0" 404 427 "http://127.0.0.1/" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90)"


404 is the error code in the above line and /test/file.ext is the path that was requested but not found.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Zaserty
-


Joined: 26 Mar 2006
Posts: 3

PostPosted: Tue Mar 28, 2006 6:32 pm    Post subject: Reply with quote

Hi aprelium,

here is the last entry in the log/access.log file when getting the error msg after attempting to save a txt file which had been edited. I've changed my actual IP with 0.0.0.0 in the following:

Code:

0.0.0.0 - - [28/Mar/2006:09:19:51 -0800] "GET /method=post?act=save&subdir=&sortby=name&file=link.txt&data=only+a+test%0D%0AYes&fileformat=dos HTTP/1.1" 404 234 "http://0.0.0.0/wfb.php?act=edit&subdir=&sortby=name&file=link.txt" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"


and here is what I get when attempting to upload a txt file:

Code:

0.0.0.0 - - [28/Mar/2006:09:35:32 -0800] "GET /method=post?act=upload&subdir=&sortby=name&max_file_size=2097152&file=C%3A%5CDocuments+and+Settings%5COwner%5CDesktop%5COnlyTest.txt HTTP/1.1" 404 234 "http://0.0.0.0/wfb.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"


Thanks for your time!!
Z.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Mar 29, 2006 2:03 pm    Post subject: Reply with quote

Zaserty,

The log file references the following virtual path:

Code:
/method=post?act=save&subdir=&sortby=name&file=link.txt&data=only+a+test%0D%0AYes&fileformat=dos


This path is wrong and seems to be missing wfb.php. Please check the your wfb.php script as it seems to be creating this wrong path. If you fail to fix it, please send your wfb.php file to support@aprelium.com and we'll review it.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
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