Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin Settings Don't Save #34

Open
danleecreates opened this issue Nov 12, 2019 · 3 comments
Open

Plugin Settings Don't Save #34

danleecreates opened this issue Nov 12, 2019 · 3 comments
Assignees

Comments

@danleecreates
Copy link

Description

I’m having an issue getting Enupal Snapshot working on our staging server. The settings do not want to save in the craft admin.

I have sent my log files. It isn’t obvious what the error is. Any help would be great.

image

Steps to reproduce

  1. which wkhtmltopdf outputs /usr/local/bin/wkhtmltopdf
  2. Save path to plugin settings

Additional info

  • Craft version: 3.3.9
  • PHP version: 7.2.24
  • Database driver & version: MySQL 5.7.27
  • Plugin version: 1.2.6
@andrelopez andrelopez self-assigned this Nov 23, 2019
@andrelopez
Copy link
Member

Hi @nearkingdom Were you able to solve the issue with the amazon s3 bucket issue?

@danleecreates
Copy link
Author

No - it still persists on my staging environment. I can't find the issue.

@dallimor
Copy link

I ran into this issue and for me it was trying to save to a volume where the assets don't have URLs.

It's an issue with the validators expecting a URL to be returned after the pdfs are generated.

I got around it by adding

if (!$asset->getVolume()->hasUrls){ return UrlHelper::siteUrl(); }

At the end of _generatePdf in \enupal\snapshot\contracts\SnappyPdf and in _generateImage of SnappyImage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants