Page edit error "The process returned no content"
By
alexcapes, in General Support
-
Recently Browsing 0 members
No registered users viewing this page.
-
Similar Content
-
By SwimToWin
I have a nested page structure that fails for users without superuser permissions:
Works for superusers / non-superusers:
- foo
-- bar
--- page (status: published)
---- page (status: published)
--- page (status: published)
Fails for non-superusers (Works for superusers):
- foo
-- bar
--- page (status: published)
---- page (status: published)
--- page (status: unpublished <- apparently the template structure fails when there's one unpublished page)
Template:
<?php foreach ($page->children('include=all') as $p): #Fails for non-superusers ?> <?=$p->render()?> <?php endforeach; ?> a) Works for non-superusers when I grant Page Edit permissions (on the template) to their assigned role/s.
b) When I remove 'include=all' or 'include=unpublished' then it also works for non-superusers:
<?php foreach ($page->children() as $p): #Works for non-superusers ?> <?=$p->render()?> <?php endforeach; ?> Error message (non-superusers)
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Error has been logged.
/www/site/assets/logs/errors.txt
/foo/bar/baz/ Error: Exception: Page '/foo/bar/baz/quz/' is not currently viewable.
/www/site/assets/logs/exceptions.txt
/foo/bar/baz/ Page '/foo/bar/baz/quz/' is not currently viewable. (in /wire/modules/PageRender.module line 410)
Debug (non-superusers)
Error: Exception: Page '/foo/bar/baz/quz/' is not currently viewable. (in wire/modules/PageRender.module line 410)
#0 wire/core/Wire.php (397): PageRender->___renderPage(Object(HookEvent))
#1 wire/core/WireHooks.php (823): Wire->_callMethod('___renderPage', Array)
#2 wire/core/Wire.php (465): WireHooks->runHooks(Object(PageRender), 'renderPage', Array)
#3 wire/core/WireHooks.php (924): Wire->__call('renderPage', Array)
#4 wire/core/Wire.php (465): WireHooks->runHooks(Object(Page), 'render', Array)
#5 site/templates/template.php (191): Wire->__call('render', Array)
-
By louisstephens
So I ran into a very strange issue today. I have a template with a pagetable and I went to add an item to it, when I went to select an image (for an image field) the page instantly threw up an error
"ProcessPageSearchLive: No search specified"
The page's content also switched to the image attached. This all worked perfectly last week (local mamp box). Has anyone experienced this before, and how did you solve it?
-
By FireWire
Hey all. I'm having an issue with the new custom page classes feature which is a fantastic tool.
I am running into a recursion issue when attempting to call a custom page class. I have a class called BlogPostPage.php (for blog-post.php) which contains a method called getSummary(). That method gets a summary field or truncates the body in it's absence. I've attached photos of the template code, custom page class code (which I've simplified for testing), and the PW output error.
There is no recursion in the getSummary() method. This error occurs whether I output multiple blog posts in a loop or if I output one blog post with no looping in my template code.
In use:
ProcessWire 3.0.164 dev
PHP 7.3.13
I am also using the Template Engine Twig module which has not caused any errors or issues thus far.
Many thanks!
-
By Pip
Hi everyone,
Is there a way for us to replicate the "http://mydomain.com/processwire/page/edit/?id=xxx" and change the template to match my site template?
I'm terribly happy with the admin / backend page edit. It covers literaly everything I want to empower my non super admin user in updating pages such as validation, repeater management, file upload.
I wish not to allow the users to see the backend for both security and aesthetic reasons.
Thanks and hope to hear from you soon.
-
By neonwired
I'm hoping someone has seen this before. There doesn't appear to be an issue with the user info.
-