Xonox Posted November 9, 2016 Share Posted November 9, 2016 Hi, I updated a site from version 2. something, can't recall for sure, to version 3.0.39. All is working fine on local server. However, when I uploaded to online server, the page tree display stopped working. 1. Whenever I try to access the page tree it gives an alert with the text: Uknown error, please try again later On the console I can see the following: GET http://mysite.com/admin/page/list?id=1&renderJSON&start=0&open=undefined&mode=actions 500 (Internal Server Error) JqueryCore.js?v=1478723146:2 2. Whenever I try to access the page children (when editing a page) it gives an alert with the text: Uknown error, please try again later On the console I can see the following: Failed to load resource: the server responded with a status 500 http://mysite.com/admin/page/list?id=1040&renderJSON&start=0&lang=0&open=undefined&mode=actions (Internal Server Error) When I was updating, I got an error on the site config.php file. I forgot to update the $config->httpHosts for the domain in the new server, which was corrected after the update. The server is running PHP 5.4, MySQL 5.5.52, PW updated to 3.0.39 Any clues? Link to comment Share on other sites More sharing options...
Macrura Posted November 10, 2016 Share Posted November 10, 2016 Have you checked the folder and file permissions, after uploading? 1 Link to comment Share on other sites More sharing options...
Robin S Posted November 10, 2016 Share Posted November 10, 2016 Do you have debug mode on? Any PHP notices? I think I had an issue a while ago where a PHP deprecated notice was interfering with with the tree AJAX response. 1 Link to comment Share on other sites More sharing options...
Xonox Posted November 10, 2016 Author Share Posted November 10, 2016 Hi, @Robin S, after turning on the debug mode, it was all looking fine. @Macrura, when I was looking for the directories' permissions, I came across a post that recommended to delete the cache folders, so I did and everything was working fine. Thank's guys, for sending me through the right path! I also skipped this step on my local server so it´s a bit strange that this would have any influence. But it did. Solution Delete the session and cache files in the /site/assets directory. 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