M
M
maximusDreddoff2015-08-07 11:01:42
MODX
maximusDreddoff, 2015-08-07 11:01:42

When deploying a site on ModX from hosting to LAN, does it show a blank page?

I did the following:
1. Downloaded from the hosting. Added a folder with a site in domains open-server'a.
2. Changed the paths in the files:
/config.core.php
/connectors/config.core.php
/manager/config.core.php
config/config.inc.php
to D:/progs/open-server/OpenServer/domains/ new/core/
(new- site folder)
3. Added a database to phpMyAdmin
4. This is how the configuration in config.inc.php looks like:
$database_type = 'mysql';
$database_server = 'localhost';
$database_user = 'root';
$database_password = '';
$database_connection_charset = 'utf8';
$database_connection_method = 'SET CHARACTER SET';
$dbase = 'new';
$table_prefix = 'fabrika_';
$database_dsn = 'mysql:host=localhost;dbname=new;charset=utf8';
etc.
5. Launched new/setup: https://monosnap.com/file/kxJuh03ZVHsJ9HTqJgRCxUSv...
6. Logged into the admin panel, cleared the cache. Changed the site paths in the "context" tab to fabrika-msk.xyz and fabrika-spb.xyz, because multidomain project.
Changed HTTP host configuration in apach file to:
DocumentRoot "D:/progs/open-server/OpenServer/domains/new"
ServerName fabrika-spb.xyz
ServerAlias ​​www.fabrika-spb.xyz
ErrorLog "D:/progs/open-server /OpenServer/domains/new/error.log"
CustomLog "D:/progs/open-server/OpenServer/domains/new/access.log" common
DocumentRoot "D:
ServerName fabrika-msk.xyz
ServerAlias ​​www.fabrika-msk.xyz
ErrorLog "D:/progs/open-server/OpenServer/domains/new/error.log"
CustomLog "D:/progs/open-server/OpenServer/domains/ new/access.log" common
8. merged the cache again and on startup it gives a blank page (no errors).
Maybe someone sees the problem that I missed?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis Denis, 2015-08-10
@golovewkin

Try it like in the video
https://www.youtube.com/watch?v=cK4lJENryds

O
OnYourLips, 2015-08-07
@OnYourLips

The error will be in the logs.
It is necessary to enable the display of errors during development.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question