Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^3: File not getting uploaded

by Corion (Pope)
on Sep 24, 2013 at 11:27 UTC ( #1055471=note: print w/replies, xml ) Need Help??

in reply to Re^2: File not getting uploaded
in thread File not getting uploaded

Hwo do you reconcile the following two statements by you:

still file not gets uploaded.It should be in the same dir as cgi script.


default directory is current directory of cgi script +"/files".

I highly recommend reading jQuery::File::Upload and finding out where the error logs for your webserver are stored and getting access to them.

Maybe you also want to make sure that the default upload directory does exist and the user the web server is running as, and/or the user your script is running as are allowed to create files in that directory.

Replies are listed 'Best First'.
Re^4: File not getting uploaded
by raks_diamond (Initiate) on Sep 24, 2013 at 15:46 UTC
    I have found a error in apache logs:
    Use of uninitialized value in print at /usr/lib/perl5/site_perl/5.8.8/ +jQuery/File/ line 680. line no 680 is :- print $self->output
    But why output is undefined.Is there any mistake in my above posted code to use this module. Thanks, Rakesh

      If there are errors, they are most likely in the environment that you are not showing us, and which also is outside of the scope of this site.

      For example, you have not demonstrated that the files/ directory does exist and that the user your script is configured to run as has write permissions to that directory.

      But I've said that already.

        files directory is already there and complete directory tree having 777 permission.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1055471]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2018-02-22 17:02 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (295 votes). Check out past polls.