Conan

Howdy 👋 Here's my question: -> I have installed ss-subsites module and added one subsite with a custom domain name which I added as a VirtualHost in WAMP. But the subsite domain just shows the main page not the subsite, the subsite domain points to the SS default installation. Has anyone else using WAMP experienced this?

Nemanja Karadzic
  1. SilverStripe\Control\Controller:
  2. extensions:
  3. - 'MyApp\Core\Extension\TestError'

and

  1. namespace MyApp\Core\Extension;
  2.  
  3. use SilverStripe\Control\HTTPRequest;
  4. use SilverStripe\Core\Extension;
  5.  
  6. class TestError extends Extension
  7. {
  8. /**
  9.   * @param $statusCode
  10.   * @param HTTPRequest $request
  11.   */
  12. public function onBeforeHTTPError($statusCode, HTTPRequest $request)
  13. {
  14. die("Bloody bastard.");
  15. }
  16. }
mmativ

No i can’t access phpmyadmin

wmk

Today I configured PHPSTorm to access a DB on the server via SSH tunnel. It was pretty easy to set up

mmativ

Great, sadly im using vscode but i will search about that

wmk

I wish storm had vscode's ability for remote pair coding

wmk

no need for fresh creation, normally the data is updated pretty well. Unless much of your structure changed.

wmk

can you have a look at the db on the server? e.g. with phpmyadmin?