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

No Rendering in Flow 7.3 #28

Open
regioadmin opened this issue Dec 16, 2022 · 2 comments
Open

No Rendering in Flow 7.3 #28

regioadmin opened this issue Dec 16, 2022 · 2 comments

Comments

@regioadmin
Copy link

regioadmin commented Dec 16, 2022

Hi,
I can't create pdfs under neos flow 7.3 - neither as download, save or inline.
I always get a blank page in the browser - no error message in the logs. It uses mpdf library for generation.
In previous versions it worked like a charm. What's wrong?

my composer.json

"require": {
        "neos/flow": { "~7.3.0",
        "neos/welcome": "~7.3.0",
        "neos/behat":"~7.3.0",
        "happy/coding":"@dev",
        "famelo/pdf":"^4.2"

Action

/**
   * @return void
   */
    public function pdfAction() {
		$document = new \Famelo\PDF\Document('Happy.Coding:Test');
		$document->assign('someVariable', 'foobar');
		$document->send();
		$document->download('Test' . date('d.m.Y') . '.pdf');
		$document->save('' . date('d.m.Y') . '.pdf');
	}

Template Test.html in /Happy.Coding/Resources/Private/Documents/

{namespace fm=Famelo\PDF\ViewHelpers}
<f:layout name="PDF"/>
<f:section name="Content">
	<p>HELLO WORLD</p>
</f:section>
@regioadmin regioadmin changed the title no rendering in neos flow 7.3 No Rendering in Flow 7.3 Dec 16, 2022
@regioadmin
Copy link
Author

help please!

@regioadmin
Copy link
Author

/flow-base-distribution/Packages/Libraries/mpdf/mpdf/tmp/ was not writeable

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

No branches or pull requests

1 participant