freelnx / jpegcam

Automatically exported from code.google.com/p/jpegcam
GNU Lesser General Public License v3.0
0 stars 0 forks source link

I Can´t upload the snapshot to the server #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi , i try to send the photo to the server, but i get this error:
---------------------firebug---------------
+ POST       500 Internal Server Error 

Date    Tue, 01 Mar 2011 00:13:16 GMT
Server  Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 
mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.25 
PHP/5.2.9
Content-Length  870
Connection  close
Content-Type    text/html; charset=iso-8859-1

I tested the script in diferent servers and the error is the same. please 
help...

Original issue reported on code.google.com by dhamas...@gmail.com on 1 Mar 2011 at 12:31

Attachments:

GoogleCodeExporter commented 8 years ago
This has nothing to do with JPEGCam.  JPEGCam runs in the browser.  This error 
is coming from your server.  Your server-side code is crashing.  Look at your 
web server error logs.  This is not a bug.  Marking as invalid.

Original comment by jhuck...@gmail.com on 1 Mar 2011 at 1:19

GoogleCodeExporter commented 8 years ago
this is true, the script runs on the client side, but I'm doing tests with the 
test.php file.
the funny thing is that, both on a local server on a dedicated server, this 
works correctly, but in a shared hosting does not work.
Well either way, they must have disabled some security policy or something...

thanks anyway, greetings from Mexico (now you know the reason for my bad 
English)

Original comment by dhamas...@gmail.com on 1 Mar 2011 at 3:14

GoogleCodeExporter commented 8 years ago
Sounds like something is messed up with the shared host's PHP installation.  
Make sure it is PHP 5 or higher, and the web server user has permission to 
write to the directory.  Also, you should enable PHP "display_errors" so you 
can see the actual error it is running into.

http://www.php.net/manual/en/errorfunc.configuration.php#ini.display-errors

Good luck!

Original comment by jhuck...@gmail.com on 1 Mar 2011 at 7:31