Jump to content

Save user doesn't show changes but error


Soma
 Share

Recommended Posts

On my local test install I recognized a strange issue I can't see on another install. Both latest PW version.

When I save a user it only shows this error but changes are saved correctly:

Template file does not exist: '/.../.../.../.../pw-dev/site/templates/user.php'

I can't see any difference to other installs where this doesn't show up. Usually there's a session change message

Session: Gespeichert: /processwire/access/users/admin

Any idea what's causing this?

Link to comment
Share on other sites

The "../../../../" looks odd to me, as you shouldn't see that kind of relative path in any ProcessWire $config->paths variables. What is the directory setup? Are there symlinks involved?

Another odd thing here is that this error comes from /wire/core/TemplateFile.php, meaning something is trying to render the user.php template (which of course, does not exist in any PW install unless you add it yourself). My best guess would be that there is another module involved here that is trying to render a page, as there's nothing in the core that would be trying to render a page when you save a user (at least, nothing I can think of).

Link to comment
Share on other sites

Thanks Ryan, the /.../.../ was inserted by me.

Ok I think i'll have to take a closer look to what modules I have (there's lots) on my playground.

Edit: Yeah recent experiments on a save hook I forgot about was the problem... :)

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...