ocr_b Posted July 3, 2018 Share Posted July 3, 2018 What happens in Processwire when the backend link slug is tryed to be opened in the browser? Here is the problem: A clean Processwire installation runs seamlessly on the server. But with some unknown reason duplicating another Processwire runs into the problem that opening the backend (/processwire) breaks the site.By duplicating i mean: 1. copying all files from one server to another. 2. exporting the database with phpmyadmin from he old server 3. importing the database with phpmyadmin to the new serverBy breaking i mean: 1. It loads and loads and loads and »waits« for the server. No logs in site/assets/logs are updated. 2. If i want to open the root (/) now it now also loads and »waits«. 3. If i delete the sessions in site/assets/sessions the root (/) works again. We tried to deinstall all modules before the duplication – but this also does not make it. We thought about that it's weather a Cache or FileComposer problem. But even with every possible permission for every file it does not work. What would you say is the problem? Thanks, ocr_a Link to comment Share on other sites More sharing options...
Tom. Posted July 3, 2018 Share Posted July 3, 2018 Do you have any PHP Caching software on the other install? It seems to me like there is an issue with your second server. Link to comment Share on other sites More sharing options...
ocr_b Posted July 3, 2018 Author Share Posted July 3, 2018 Do you mean the old or the new server with other / second server? Link to comment Share on other sites More sharing options...
dragan Posted July 3, 2018 Share Posted July 3, 2018 I would try and clear the browser cache clear PW's cache (everything inside site/assets/cache/) Also use the browser inspector to see something unusual there Find out if the settings and versions on both servers are identical (PHP etc.) Check your server's error logs for hints Link to comment Share on other sites More sharing options...
Soma Posted July 3, 2018 Share Posted July 3, 2018 Is it endlessly redirecting or just loading? What happens after it? Does it end? If you turn on debug mode? Delete Modules cache? What if you install PW on the other server and just import the DB and the site/assets/files site/templates site/modules folders? Link to comment Share on other sites More sharing options...
ocr_b Posted July 3, 2018 Author Share Posted July 3, 2018 Okay, thank you! I think we already tried to empty all the caches. But I will give it another spin. Basically I can remove the complete site/assets/cache + site/assets/logs + site/assets/session folders and PW will cache everything new at the first call of the page, right? It endlessly waits, so I guess its loading something. It does not end. (or takes 2 hours??). Debug is turned on. They said they cannot see anything in the server error logs also the pw logs are empty, thats why this is so hard to debug... My guess is that the file-compiler is not having the right permissions (but they said its 777 for everything) or missing some php functions, or timeout? BUT, a fresh installation works: Maybe file-compiler does not do anything on a new installation? Link to comment Share on other sites More sharing options...
Soma Posted July 3, 2018 Share Posted July 3, 2018 Strange that it's loading forever? PHP doesn't get involved and timeout? Normally it's 30s. I would try empty the modules caches table in DB. Back it up first. That's also the modules and FIleCompiler cache. Link to comment Share on other sites More sharing options...
dragan Posted July 3, 2018 Share Posted July 3, 2018 10 minutes ago, ocr_b said: file-composer do you mean file-compiler? Link to comment Share on other sites More sharing options...
ocr_b Posted July 3, 2018 Author Share Posted July 3, 2018 Just now, dragan said: do you mean file-compiler? Yes, sorry, edited. Link to comment Share on other sites More sharing options...
ocr_b Posted July 3, 2018 Author Share Posted July 3, 2018 1 minute ago, Soma said: Strange that it's loading forever? PHP doesn't get involved and timeout? Normally it's 30s. I would try empty the modules caches table in DB. Back it up first. That's also the modules and FIleCompiler cache. I striped out any filecompiler entry in caches, I think those have to remain, otherwise Processwire will not know which modules are installed etc? Will try tomorrow. Thank you. Link to comment Share on other sites More sharing options...
adrian Posted July 3, 2018 Share Posted July 3, 2018 Long shot, but I had this recently on the frontend - I was viewing the site via its IP address and I hadn't added this to the allowed hosts in the config.php file yet. As soon as I added, it loaded properly. 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