houseofdeadleg Posted July 31, 2017 Share Posted July 31, 2017 I've just followed the directions for setting up a multisite processwire installatiopn (OPTION #1: MULTIPLE SITES WITH MULTIPLE DATABASES), to install a development site as a subdomain. I've gone through all the instructions and my main site is now working again and I can access it/log in as usual, but I can't access the new subdomain, I just get an error message - Forbidden You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Any idea why I'm getting this message? Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted July 31, 2017 Share Posted July 31, 2017 I can guess that 403 errors are thrown by the server, not PW. Here are the conditions for that in stock .htaccess file. Maybe you named your dev site folder without the "site-" prefix? 1 Link to comment Share on other sites More sharing options...
houseofdeadleg Posted August 1, 2017 Author Share Posted August 1, 2017 Thanks @Ivan Gretsky , though looking at that section in the htaccess file means nothing to me:) All folders are named correctly with the site prefix. Link to comment Share on other sites More sharing options...
houseofdeadleg Posted August 8, 2017 Author Share Posted August 8, 2017 I've been working on his over the last few days and I've now got to a point where everything should be working from what I can see, but I'm getting a different error message now – Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Error has been logged. If I turn on debugging I get a bit more detail - Fatal error: Exception: SQLSTATE[HY000] [1044] Access denied for user 'xxxxxx'@'localhost' to database 'xxxxxx' (in /home/xxxxxx/public_html/wire/core/ProcessWire.php line 377) #0 /home/xxxxxx/public_html/wire/core/ProcessWire.php(209): ProcessWire\ProcessWire->load(Object(ProcessWire\Config)) #1 /home/xxxxxx/public_html/index.php(52): ProcessWire\ProcessWire->__construct(Object(ProcessWire\Config)) #2 {main} in /home/xxxxxx/public_html/index.php on line 64 Link to comment Share on other sites More sharing options...
szabesz Posted August 8, 2017 Share Posted August 8, 2017 Hi, Have you checked these? and:https://www.google.hu/search?q=Exception%3A+SQLSTATE[HY000]+[1044]+Access+denied+for+user+site You pasted white text on white background, btw. Link to comment Share on other sites More sharing options...
houseofdeadleg Posted August 8, 2017 Author Share Posted August 8, 2017 2 hours ago, szabesz said: Hi, Have you checked these? Yeah, checked all of them. About 10 minutes after posting last night I got it working, but then this morning it's gone back to showing the error, nothings changed in the meantime. 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