Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

500 errors when trying to upload #9

@mikegraham00

Description

@mikegraham00

I'm seeing some weird issues with Fileclerk.

I'm on my local machine running MAMP and PHP 5.6.2. Statamic version 1.11.1.

  1. I'm not able to upload anything. Getting 500 error in the console
    GET http://morelandsingle.dev/TRIGGER/fileclerk/filecheck?destination=&filename=kitchen.jpg&_=1456933496594 500 (Internal Server Error)
  2. When I click "Choose Existing", I also get a 500 error if there is anything in my specified S3 bucket directory. If I empty the S3 directory, I get the correct "Sorry this directory is empty" message.

I've checked and doublechecked my fileclerk.yaml settings but here they are.

Your AWS Access Key

aws_access_key: MYKEY

Your AWS Secret Key

aws_secret_key: MYSECRET

Custom AWS Domain? (CNAME). Leave this empty if you are not using a custom domain. Do not include http:// or trailing slash.

custom_domain:

The name of the S3 Bucket. Do not include trailing slash.

bucket: morelandsps

The folder/path to upload the file. Leave empty if uploading into bucket root.

For nested directories, separate with a /, path/to/directory

directory: videos

Define the file types that can be uploaded. [array] Not required.

content_types:

Access for the uploaded file. Required.

Options include:

- private

- public-read

- public-read-write

- authenticated-read

permissions: public-read

Cache-control

cache-control:

Help! Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions