Joss Posted April 29, 2021 Share Posted April 29, 2021 UPDATE - Installing the dev from today seems to have solved the issue On the sites I have upgraded to 175, when I click on Setup->Templates->Template name, I just get nothing as shown in the pic below. Well, it says I am editing it, but there is nothing shown even though the pages are working fine. The same happens when I click to edit a field This is happening on both dev sites on my local set up and on live sites. When I updated (from 168, I think), I also updated a pile of other things like ListerPro, page actions, a couple of pro fields. Not that I think they are anything to do with it, but I throw them into the mix in case. It is the same in the Ukit and default themes, so it's not a theme issue. Any clues? Have I missed an important announcement somewhere? I was about to start on a new site, and I can't! Joss Link to comment Share on other sites More sharing options...
psy Posted April 29, 2021 Share Posted April 29, 2021 I'm running 3.0.175 on a dev site and all works as expected for editing admin templates & fields. Have you tried reverting to the PW default UiKit admin theme? Maybe something to do with the custom admin theme you're using Link to comment Share on other sites More sharing options...
Joss Posted April 29, 2021 Author Share Posted April 29, 2021 Hi, psy It's the same on all themes. I have just noticed this in the Chrome console. No idea if it has anything to do with it, but I am not getting it on sites without the problem: Uncaught SyntaxError: Unexpected token u in JSON at position 0 at JSON.parse (<anonymous>) at HTMLDivElement.<anonymous> (InputfieldTextTags.min.js?v=1-1619298240:1) at Function.each (JqueryCore.js?v=183:2) at init.each (JqueryCore.js?v=183:2) at InputfieldTextTags (InputfieldTextTags.min.js?v=1-1619298240:1) at HTMLDocument.<anonymous> (InputfieldTextTags.min.js?v=1-1619298240:1) at l (JqueryCore.js?v=183:2) at Object.fireWith [as resolveWith] (JqueryCore.js?v=183:2) at Function.ready (JqueryCore.js?v=183:2) at HTMLDocument.A (JqueryCore.js?v=183:2) Link to comment Share on other sites More sharing options...
Joss Posted April 29, 2021 Author Share Posted April 29, 2021 A little bit more. Looking at the page source, the following form is not showing: <form id="ProcessTemplateEdit" class="InputfieldForm _InputfieldWrapper3" method="post" action="save" data-colspacing="0"> The css is: .pw-init #ProcessTemplateEdit { display: none; } If I delete "none" in Chrome console, the page shows. Link to comment Share on other sites More sharing options...
BitPoet Posted April 29, 2021 Share Posted April 29, 2021 18 minutes ago, Joss said: I have just noticed this in the Chrome console. No idea if it has anything to do with it, but I am not getting it on sites without the problem You should also be able to see the Ajax request and the returned data that causes that error in the dev console. This should give you more of a clue, as the error reads like the returned data isn't JSON at all. It's probably an error or warning from PHP that JS tries to parse. Link to comment Share on other sites More sharing options...
Joss Posted April 29, 2021 Author Share Posted April 29, 2021 4 minutes ago, BitPoet said: You should also be able to see the Ajax request and the returned data that causes that error in the dev console. This should give you more of a clue, as the error reads like the returned data isn't JSON at all. It's probably an error or warning from PHP that JS tries to parse. This is where my abilties crash! But here is a screenshot: Link to comment Share on other sites More sharing options...
Joss Posted April 29, 2021 Author Share Posted April 29, 2021 For some reason, it is taking it's css from ProcessTemplateEdit id (which is in the ProcessTemplate.css file in the core), rather than from the admin theme class ProcessTemplateEdit. Link to comment Share on other sites More sharing options...
cb2004 Posted April 29, 2021 Share Posted April 29, 2021 Ryan made some updates last night which fixed it for me. Have you tried the latest dev? 1 1 Link to comment Share on other sites More sharing options...
Joss Posted April 29, 2021 Author Share Posted April 29, 2021 7 minutes ago, cb2004 said: Ryan made some updates last night which fixed it for me. Have you tried the latest dev? Ah, I thought I was on the latest. I will go check Link to comment Share on other sites More sharing options...
Joss Posted April 29, 2021 Author Share Posted April 29, 2021 15 minutes ago, cb2004 said: Ryan made some updates last night which fixed it for me. Have you tried the latest dev? Okay, I have just overwritten Wire from the one from the DEV download and that seems to have solved it. The version is still showing as 175. Link to comment Share on other sites More sharing options...
cb2004 Posted April 29, 2021 Share Posted April 29, 2021 Yes he hasn't bumped the version to 3.0.176 yet. Some things do break here and there on the dev branch but its very rare. 1 Link to comment Share on other sites More sharing options...
Joss Posted April 29, 2021 Author Share Posted April 29, 2021 39 minutes ago, cb2004 said: Yes he hasn't bumped the version to 3.0.176 yet. Some things do break here and there on the dev branch but its very rare. I don't think I have had that kind of problem in the last nine years! Which says a lot for Ryan. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now