Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: File not getting uploaded

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


in reply to File not getting uploaded

Is there any error message in the web server error log?

Have you read what jQuery::File::Upload has to say about the default upload directory?

What steps have you taken to find the cause of the error?


Comment on Re: File not getting uploaded
Re^2: File not getting uploaded
by raks_diamond (Initiate) on Sep 24, 2013 at 11:07 UTC
    No there are no error logs and default directory is current directory of cgi script +"/files".

      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.

      and

      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.

        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/Upload.pm 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1055468]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2014-07-30 20:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (240 votes), past polls