maxf5 Posted August 21, 2017 Share Posted August 21, 2017 Hey, i just added some fields to a template. After long loading time suddenly the backend changed from "Reno" to the default admin theme without a cause. I went back to the tree view and suddenly all i can see is attached: I worked 2 weeks on the site. Everything was fine.. Link to comment Share on other sites More sharing options...
maxf5 Posted August 21, 2017 Author Share Posted August 21, 2017 So it seems that no default language is set? I deleted my cookies to logout from the admin: now i have no permissions to view the backend.. Link to comment Share on other sites More sharing options...
abdus Posted August 21, 2017 Share Posted August 21, 2017 I've never had this problem but I'd swap /wire/ with a new one and move templates to elsewhere. Then I'd add template files one by one to find where the problem is. Link to comment Share on other sites More sharing options...
maxf5 Posted August 21, 2017 Author Share Posted August 21, 2017 Hey @abdus, my files (/wire and /templates) are fine. I duplicated the files on a local xampp with a database clone of the site 1 week ago. Then it works fine. If I import the live-version database, i have the same problem. So something crashed inside the db.. permissions/page-rights or languages. Link to comment Share on other sites More sharing options...
abdus Posted August 21, 2017 Share Posted August 21, 2017 I've looked at the lines given in the error report, they all point to $language ($user->language) but can't access it. If you can access your database (adminer, PHPStorm, phpMyAdmin etc) examine field_language table. Confirm that your current user (admin = id: 40) has a language associated with it. Also see if $pages->get(<languageid assc. with admin>) returns anything 1 Link to comment Share on other sites More sharing options...
Macrura Posted August 21, 2017 Share Posted August 21, 2017 try repairing the database, also this may be related (?) Link to comment Share on other sites More sharing options...
maxf5 Posted August 23, 2017 Author Share Posted August 23, 2017 thanks for everything @abdus ! I merged the database of the crashed one with the backup db. After some trys it worked again : ) I still don't know how did that happen, added three fields to a template in the backend -> Reno crashed -> Default Admin Theme worked for 5 seconds -> then these errors. It was a PW 3.0.71 installation. Well, hope won't happen in future. 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