Note that there are some explanatory texts on larger screens.

plurals
  1. USRiley Dutton
    primarykey
    data
    text
    plurals
    1. COWhile you do want to use S3 on Heroku (since the file space is only temporary, and does not persist) for storing things like profile pictures (see Codeglot's answer below), I do want to point out that the 100MB limit is only for the slug (the compiled source and gems of your application). Your /tmp directory can actually hold very large files (I think I've seen talk of 4GB being alright to store there temporarily). But, again, you will lose whatever is there if your dyno restarts, so it's only meant to be used as a temporary storage space, not a permanent one.
      singulars
    2. COI don't have a lot of experience with CakePHP, but I'm going to assume that it's some sort of problem with SQL injection -- probably some basic protection against it that's misconfigured. The error you're getting is CakePHP trying to render a 500 error page -- which is a general server-side error, the kind one might throw if one thought an SQL injection attack were occurring -- and failing to render it because you haven't defined a 500 Error Page view/template.
      singulars
    3. COI updated the answer with a full solution that should work with some additional changes to your code. Also be sure to look at @Groovetrain's answer below for further insight.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload