Can not Browse.

Last post 01-27-2011, 11:37 PM by jaydev. 2 replies.
Sort Posts: Previous Next
  •  01-27-2011, 12:27 AM 65904

    Can not Browse.

    Hi,
     
    I cant browse for file. Means when I click on uploader button it does not open window. So it does nothing on click.
     
    Before some days it was working fine. But suddenly this happend.
     
    I have tried this function, but it doesnt alert the message
    function CuteWebUI_AjaxUploader_OnBrowse()
    {
        alert("ON BROWSE");
    }
    These are the javascript errors
     
     
     
    When I try on my local PC php server I dont get any problem. It happens on live site.
     So please guide me where I am making mistake.
     
    waiting for replay,
    Thank you.
     
     
     
     
  •  01-27-2011, 7:49 AM 65909 in reply to 65904

    Re: Can not Browse.

    Dear hyper,
     
    Please find the following lines in "\phpuploader\include_phpuploader.php":
       $this->Name="AjaxUploaderFiles";  
      $cd=dirname($this->GetWebPath(__FILE__));  
      $this->ResourceDirectory="$cd/resources";
      $this->ResourceHandler="$cd/ajaxuploaderresource.php";
      $this->UploadUrl="$cd/ajaxuploaderhandler.php";
    Please set the value of $cd to the actual value of your host, you can hard coded it.
    After done, please try it again.
    Keep me posted.
     
    Thank you for asking
  •  01-27-2011, 11:37 PM 65928 in reply to 65909

    Re: Can not Browse.

    Hi Eric,
     
    Thank you for replay.
    Problem has been solved with this. 
    But As I told you that before 3-4 days it was working fine with
     
    $cd=dirname($this->GetWebPath(__FILE__));
     
    I had not changed anything. Then why it had stopped working?
    bcoz it may create problem again
     
View as RSS news feed in XML