Adam Kiss Posted March 28, 2012 Share Posted March 28, 2012 I am upgrading older PW2.2 (probably alpha? beta? release) to the latest by replacing index.php, wire/ directory and htaccess. After running PW, I've got following error. I understand that DB changed, but how do I fix this easiest? Thanks Link to comment Share on other sites More sharing options...
apeisa Posted March 28, 2012 Share Posted March 28, 2012 If I remember correctly pw should show this only once. Try visiting admin side. Possible that this is totally different case. Link to comment Share on other sites More sharing options...
ryan Posted March 28, 2012 Share Posted March 28, 2012 Hit reload in your browser -- This is an expected error message (in debug mode), but it should only occur the first time PW is loaded after upgrading. If that doesn't do it, double check that your /wire/ dir was replaced in full. Make sure you have a /wire/modules/System/SystemUpdater module in there. If you still get the error, execute this SQL query in PhpMyAdmin: ALTER TABLE fieldgroups_fields ADD data TEXT; Link to comment Share on other sites More sharing options...
Adam Kiss Posted March 28, 2012 Author Share Posted March 28, 2012 Thanks, I couldn't find this anywhere (is it written somewhere)? Yep. it works [wire has to be replaced full, because]: mv wire wire-bckp && cp -r ~/pw-latest/wire ./ no problems; I just got scared, probably. Doh. Link to comment Share on other sites More sharing options...
Codename: Steeve Knight Posted May 29, 2012 Share Posted May 29, 2012 So, what is that new field for and more precicely 'whatup' with it? I've got exactly one field among several, on a template, with it's label and description cached therein fieldgroups_fields.data, and I'm spinning trying to figure out why a page edit using the template won't update newly edited label/description for the culprit. [sOLVED] Ahhh tricky! Just re-?discovered field 'context' drop-down in Admin>Setup>Fields>myField ;p @note how'bout a tiny reminder icon near-to on the page editor or even a simple tool-tip mentioning when we're in context override. (Appologies if this has been hashed-over elsewhere that I've not discovered yet.) Link to comment Share on other sites More sharing options...
ryan Posted May 29, 2012 Share Posted May 29, 2012 Ahhh tricky! Just re-?discovered field 'context' drop-down in Admin>Setup>Fields>myField Welcome to the forums CNSKnight. Also wanted to add that the most common way to get to that context is not actually from that drop-down, but from the actual template editor. You can click any field name in your template and it'll pop open a modal window where you can adjust the context. Link to comment Share on other sites More sharing options...
Codename: Steeve Knight Posted May 29, 2012 Share Posted May 29, 2012 Thanks RC - Glad to be learning along. Funny how I'd been sliding over that template editor few times this round and never caught-on to that action mentioned :| 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