Upload button do not work

Last post 03-04-2014, 2:48 AM by MikeJuri. 2 replies.
Sort Posts: Previous Next
  •  03-03-2014, 3:23 AM 80003

    Upload button do not work

     Hello,

     

    I have uploaded downloaded demo to my webpages, butt upload button do not work. No window for choosing files is opened.

     

    Address for demo of phpuploader:  http://www.obeczubri.cz/hasici/admin/file/demo.htm

     

    I thing it will be in some settings of php on the server, because when I test the same come on different server, then it works.

     

    Here you can check phpinfo: http://www.obeczubri.cz/hasici/admin/file/test.php

     

    Thank you very much for any suggestions.

     

    Michal Juránek.

  •  03-03-2014, 8:10 AM 80007 in reply to 80003

    Re: Upload button do not work

    Hi MikeJuri,

     

    Got this issue because the uploader gets the wrong path of the resource files. Please try the way below, it will fix this issue.

     

    1. open file \phpuploader\include_phpuploader.php


    2. find section below


    $cd=dirname($this->GetWebPath(__FILE__));


    3. change it to


    $cd=dirname($_SERVER['SCRIPT_NAME']).'/phpuploader';

     

    Regards,

     

    Ken 

  •  03-04-2014, 2:48 AM 80012 in reply to 80007

    Re: Upload button do not work

    Hi Ken,

     

    thank you very much for your advice.

     

    Now it works.

     

    Michal.

View as RSS news feed in XML