Preview "Print" ends up blank, no way to get back
Activating "Preview/Print" in a newly created site ends up with a blank page.
No way to get back to the admin interface.
Blank page content:
<!-- Exception while rendering print: No "print" TypoScript object found. Please make sure to define one in your TypoScript configuration. (20131211144633435fcc) -->
#3 Updated by Tim Kandel over 3 years ago
If I understand him correctly he's talking about a site he has created manually or using the Neos Kickstarter. In that case this makes sense, as the Neos fetches the preview configuration of the Demo Site, but the new site doesn't include the necessary TypoScript.
But: just a guess, didn't get around to testing this yet.
#4 Updated by Jan Kiesewetter over 3 years ago
I can confirm this.
If there is no TypoScript for a print layout the user gets a blank page with an error message in the source:
Exception while rendering print: No "print" TypoScript object found. Please make sure to define one in your TypoScript configuration. (20131212115942d57d03)
The only thing you could do is set the settings in the table from print to inPlace.
and set inside preferences
I had this problem with a own site package.
#8 Updated by Desh Bandhu over 3 years ago
I got the same issue in Neos 1.0.1 when i clicked on the Print preview of the page among two Desktop and Print options. There is no revert back to the main dashboard. Screen just freezes at the above error. This issue appeared for my own created page in my own site.
#10 Updated by Nikos Poaros over 3 years ago
A simple work around is to add the following to the end of your Typoscript (Roots.ts2) and then flush the cache ,if in Production mode, which will declare a print version effectively you can pad it out later.
print < page
The problem is that the configuration from the NeosDemoTypo3Org is being include i.e. settings.yaml
If you don't want the "Preview Print" option in the backend you need to deactivate the NeosDemoTypo3Org package and flush the cache.
#13 Updated by Rico Schueppel about 3 years ago
Confirm this bug.
I had installed the Neos Demo Version first and studied it for some time.
Later, I added a second Neos blank site. This worked find, but there is the button "print" in the backend edit mode/preview central panel of the blank site backend.
When I hit "print" within the blank site backend, I got the same error as described. No way back to backend.
As Pavlina Drosos described, deactivation of the demo site (that I had installed first) workes fine.
After deinstallation of the demo site, I was able to login to the blank site backend again, the button "print" was gone in bbackend edit mode/preview central panel.
I activated another edit mode like In-Place an re-activeted the demo site and just selected another page of the blank site via navigator.
Subsequently, the print button was visible again. Hitting the print button again reproduced the error.