Nerijusk Posted April 1, 2020 Share Posted April 1, 2020 Hi, I am trying to get working installation of PW in docker container (apache + php), the installation is in /var/www/html, but the link to the site is http://pw.com/de/ I've tried to add: $config->urls-root = '/de'; but without luck. Also tried to change RewriteBase to /de, but still no luck. Does anyone have any advice? Link to comment Share on other sites More sharing options...
Nerijusk Posted April 1, 2020 Author Share Posted April 1, 2020 Forgot to mention that I get blank screen, in debug mode I see: Notice: Trying to get property 'compile' of non-object in /var/www/html/wire/modules/PageRender.module on line 395Notice: Trying to get property 'noPrependTemplateFile' of non-object in /var/www/html/wire/modules/PageRender.module on line 422Notice: Trying to get property 'prependFile' of non-object in /var/www/html/wire/modules/PageRender.module on line 423Notice: Trying to get property 'noAppendTemplateFile' of non-object in /var/www/html/wire/modules/PageRender.module on line 424Notice: Trying to get property 'appendFile' of non-object in /var/www/html/wire/modules/PageRender.module on line 425 Link to comment Share on other sites More sharing options...
dragan Posted April 1, 2020 Share Posted April 1, 2020 4 hours ago, Nerijusk said: I've tried to add: $config->urls-root = '/de'; but without luck. Is that your actual code? There's a missing > there $config->urls->root vs. $config->urls-root https://cheatsheet.processwire.com/config/urls/config-urls-root/ If that was just a typo here in the forum post, you might wanna check Docker-related forum posts, e.g. https://processwire.com/talk/topic/10736-running-a-processwire-site-with-docker/ 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