View previous topic :: View next topic |
Author |
Message |
Zaserty -
Joined: 26 Mar 2006 Posts: 3
|
Posted: Sun Mar 26, 2006 6:20 pm Post subject: Upload using PHP script from http://www.webfilebrowser.org/ |
|
|
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 |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Mar 27, 2006 11:00 am Post subject: Re: Upload using PHP script from http://www.webfilebrowser.o |
|
|
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 |
|
 |
Zaserty -
Joined: 26 Mar 2006 Posts: 3
|
Posted: Mon Mar 27, 2006 2:57 pm Post subject: |
|
|
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 |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Mar 28, 2006 3:57 pm Post subject: |
|
|
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 |
|
 |
Zaserty -
Joined: 26 Mar 2006 Posts: 3
|
Posted: Tue Mar 28, 2006 6:32 pm Post subject: |
|
|
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 |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Mar 29, 2006 2:03 pm Post subject: |
|
|
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 |
|
 |
|