CavemanSean Posted October 30, 2018 Share Posted October 30, 2018 Hopefully this makes sense and someone can assist in this matter; I recently took over a website for someone who is using Process Wire, on our server we are able to get the website to load without issue how-ever it doesn't look like its running any theme / template; We've asked their original host for assistance but they wish to bill us.... is there something that needs modifying if someone moves a ProcessWire website to a new server? Link to comment Share on other sites More sharing options...
elabx Posted October 30, 2018 Share Posted October 30, 2018 Is there any file in the followint path: /site/templates ? (path starting from root of web server). That's where the template files exist. Link to comment Share on other sites More sharing options...
CavemanSean Posted October 30, 2018 Author Share Posted October 30, 2018 1 minute ago, elabx said: Is there any file in the followint path: /site/templates ? (path starting from root of web server). That's where the template files exist. @elabx yes there are... there are quite alot actually Link to comment Share on other sites More sharing options...
elabx Posted October 30, 2018 Share Posted October 30, 2018 Ok, so you need to start from there ? Those files are used to handle the rendering of the website but they can be used in multiple ways. You would need to figure out the output strategy of the site. Do you have access to the admin? site.com/processwire? Take a look at these: https://processwire.com/docs/tutorials/ https://processwire.com/docs/tutorials/how-to-structure-your-template-files/ https://www.smashingmagazine.com/2016/07/the-aesthetic-of-non-opinionated-content-management-a-beginners-guide-to-processwire/ 1 Link to comment Share on other sites More sharing options...
CavemanSean Posted October 30, 2018 Author Share Posted October 30, 2018 @elabx That directory is not found, I have 2 directories in the .zip file their old webdev sent us /site & /wire Trying to access both leads to a page saying I don't have permission (Side note, I own this server so I can make any changes necessary) & thankyou for taking the time to assist, this is why I always ❤️ open source communities always people willing to help others ? Link to comment Share on other sites More sharing options...
elabx Posted October 30, 2018 Share Posted October 30, 2018 Routing on the server like you would normally do with files/folders, is not how processwire works. ProcessWire hijacks the routing as soon as any requests hits the server and the path where PW is installed, so those wire/site folders are not publicly accessible. You need to access the admin, and figure out which pages are setup in the page tree, which mainly handles the routing of the site. I insist on reading the docs above so you get a good idea on how PW works, its very simple once you dive in a little bit. 1 Link to comment Share on other sites More sharing options...
CavemanSean Posted October 30, 2018 Author Share Posted October 30, 2018 Got it working ? https://processwire.com/docs/tutorials/how-to-structure-your-template-files/ Helped a bunch.... enabling debugging shown the error I was looking for, it seems like a file may have been renamed from .less to .css changed it back and now it's working as it should, thanks a bunch @elabx 1 Link to comment Share on other sites More sharing options...
elabx Posted October 30, 2018 Share Posted October 30, 2018 Watch out if maybe ProCache was expected to be working, because it compiles Less to CSS. Happy ProcessWiring! 1 Link to comment Share on other sites More sharing options...
CavemanSean Posted October 30, 2018 Author Share Posted October 30, 2018 Yeah, looks like I'll be doing some reading tonight for sure (to ensure no surprises) 2 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