can't open file choose dialog

Last post 07-01-2009, 9:59 PM by ives. 4 replies.
Sort Posts: Previous Next
  •  07-01-2009, 6:16 AM 53667

    can't open file choose dialog

    I download the file and put it on my server to test, but it can't work fine, I find the js error "CuteWebUI_AjaxUploader_Initialize is not defined" when I open the upload page, then I can't open the file choose dialog after click the "upload file" button, I just unzip and copy it to my server, I don't change any code, please give me the solution to test it.
     
    the test url is "http://www.ecoupon.com.tw/phpfileuploader/form-singlefile.php"
     
    thank you
     
    sorry I must post the test environment
     
     os:Linux 2.6.15
     web server:apache 2.0
    php:5.2.6
     
    browser:firefox3.1, ie6.0
     
     
  •  07-01-2009, 8:48 AM 53672 in reply to 53667

    Re: can't open file choose dialog

    Hi,
     
    The generated script url is wrong.
     
    /phpfileuploader/formolume2/web/phpfileuploader/phpuploader/ajaxuploaderresource.php?type=script
     
    the correct one is :
     
     
    What's the physical path of the website ?
     
    Regards,
    Terry
  •  07-01-2009, 8:51 AM 53673 in reply to 53672

    Re: can't open file choose dialog

    Hi,
     
    Please debug the function GetWebPath($pfile)
     
    I think it has bug on your environment.
     
    Regards,
    Terry
     
  •  07-01-2009, 9:34 AM 53674 in reply to 53673

    Re: can't open file choose dialog

    thank you, it work fine.
  •  07-01-2009, 9:59 PM 53687 in reply to 53674

    Re: can't open file choose dialog

    I find the function "GetWebPath" may be wrong, it can't parse the correct path for your application.
    for example,
    the correct path must be "/phpfileuploader/phpuploader",
    but it parse result is "/phpfileuploader/formolume2/web/phpfileuploader/phpuploader"
    my server document-root is "/var/services/web",
     
    so it make the program not work fine.
    May be you can resolve it.
View as RSS news feed in XML