Tom Walcher Posted February 23, 2017 Share Posted February 23, 2017 Hey, I f..ked it up. Wanted to update simple contact form because it doest work (0.2?) and got errors for 1.0. Thought I should update Processwire. Just replaced wire folder and index.php. No DB Dump. debug true, can't log in always get Unable to complete this request due to an error. no error logs… PLEASE HELP! tom Link to comment Share on other sites More sharing options...
adrian Posted February 23, 2017 Share Posted February 23, 2017 Might be as simple as file permissions - do a recursive 755 / 644 (or whatever is appropriate) and make sure the owner is correct, eg www-data:www-data 1 Link to comment Share on other sites More sharing options...
Tom Walcher Posted February 23, 2017 Author Share Posted February 23, 2017 this works but now it says Fatal error: Class 'InputfieldText' not found in /data/web/e64621/html/wire/modules/Inputfield/InputfieldPassword.module on line 7 but its there! Link to comment Share on other sites More sharing options...
adrian Posted February 23, 2017 Share Posted February 23, 2017 Did you upgrade from PW 2 to 3? Maybe reload again - that new error sounds like a file compiler issue - I have noticed that occasionally you need an extra reload to trigger everything the first time to upgrade to 3. Link to comment Share on other sites More sharing options...
Tom Walcher Posted February 23, 2017 Author Share Posted February 23, 2017 How you mean reload. clear cache - hard reload - same.... yes from 2 to 3 Link to comment Share on other sites More sharing options...
adrian Posted February 23, 2017 Share Posted February 23, 2017 Just now, Tom Walcher said: How you mean reload. clear cache - hard reload - same.... Could be as simple as a page load, but clearing the PW cache couldn't hurt. Might also be worth clearing the file compiler cache to make sure everything is regenerated. Link to comment Share on other sites More sharing options...
Tom Walcher Posted February 23, 2017 Author Share Posted February 23, 2017 deleted all cache files in site/assets/cache … no success… THX adrian for helping me so quick! Link to comment Share on other sites More sharing options...
adrian Posted February 23, 2017 Share Posted February 23, 2017 Is this live somewhere so I could take a look? Link to comment Share on other sites More sharing options...
Tom Walcher Posted February 23, 2017 Author Share Posted February 23, 2017 http://www.sbb-digruber.at/ Link to comment Share on other sites More sharing options...
adrian Posted February 23, 2017 Share Posted February 23, 2017 I am getting the feeling that not everything in the wire folder was copied across correctly. I would suggest deleting it entirely and copying across the new one again. Link to comment Share on other sites More sharing options...
Tom Walcher Posted February 23, 2017 Author Share Posted February 23, 2017 THX man, a worldfamous chocolate cake from vienna for you! Hero Member! Simple Contact Form - i do it tommorw, not so cool as the old version… 3 Link to comment Share on other sites More sharing options...
robinc Posted March 23, 2017 Share Posted March 23, 2017 I have noticed an issue with the compiler that may be related or the cause of this issue. If you have odd code snippets within php comments /* **stuff** */ (eg. mismatched/nested open/close codeblock <? or ?> then following code may NOT be passed by the compiler - leaving it without the namespacing - hence the Class missing error message. In my own code, i was using a call to wire(), which should have been compiled to \ProcessWire\wire() but was not. 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