Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
hayden.
Sep 11, 2007

here's a goat on a pig or something

nexus6 posted:

Has anyone had issues using Google's No Captcha Recaptcha? I added it to one of my forms yesterday and tested it: you can't submit the form without completing it, you can't submit the form if you fill it in wrong and you can't submit the form if you have Javascript off. However I've had over 2,000 spam submission in the past 24 hrs.

Is it broken or have I missed a step? I've followed all the instructions on thier developer page.

Possibly worth making your own simple captcha? I doubt spammers would customize their software to work with your site specifically.

Adbot
ADBOT LOVES YOU

hayden.
Sep 11, 2007

here's a goat on a pig or something
I am having 500 Internal Server errors on my Digital Ocean VPS and I am not sure what the cause is.

I have a Laravel install and a public folder where obviously all the public facing stuff is. It's the document root for Apache.

I can make any folder and add any file to the public folder and access it just fine. However, whenever I put a huge pile of files in the folder, whenever I try to access any of them it gives me the Error 500 "Internal Server Error".

For instance, I added this image by itself to the test3 folder and it still works just fine:

http://104.131.4.238/test3/5.jpg

and then here's one of the images that was added in bulk:

http://104.131.4.238/test3/image002400.jpg

and it gives 500 error. Here's the stat for each and it seems identical in any way that matters:
code:
  File: ‘5.jpg’
  Size: 26398           Blocks: 56         IO Block: 4096   regular file
Device: fd01h/64769d    Inode: 1246061     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2015-08-09 00:33:08.036187999 -0400
Modify: 2015-08-08 20:41:58.692187999 -0400
Change: 2015-08-09 00:32:49.344187999 -0400
 Birth: -

  File: ‘image002400.jpg’
  Size: 348             Blocks: 8          IO Block: 4096   regular file
Device: fd01h/64769d    Inode: 1246064     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2015-08-08 20:41:59.156187999 -0400
Modify: 2015-08-08 20:41:59.376187999 -0400
Change: 2015-08-09 00:34:03.532187999 -0400
 Birth: -
Any idea what's going on here? Why is adding stuff piecemeal okay but not in bulk?

hayden.
Sep 11, 2007

here's a goat on a pig or something

Lumpy posted:

Maybe your first result is cached: both are 500 errors for me. What do the Apache logs tell you?

I'm dumb, you're right.


Biowarfare posted:

check error.log, probably has nothing to do with file itself

[Sun Aug 09 11:55:33.736210 2015] [core:alert] [pid 16500] [client] /var/www/laravel/public/test3/.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration, referer:

I guess I totally brain farted and didn't think 500 errors would show any more info in apache logs, I guess I learned something today! First google result for this error showed I didn't have the Header module enabled. Thanks folks.

hayden.
Sep 11, 2007

here's a goat on a pig or something
I would suggest Googling and finding one that fits your comfort level, it's going to be hard to know what level tutorial would work best for you. There are a lot of options, just look for a tutorial for forms in general with PHP. Sorry if this isn't super helpful.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply