Hi,
I installed the latest version of
modx-2.5.4-pl from installation package. Steps, which I did:
wget https://modx.s3.amazonaws.com/releases/2.5.4/modx-2.5.4-pl.zip
unzip modx-2.5.4-pl.zip
mdkir /var/www/modx && mv -fT modx-2.5.4-pl /var/www/modx
chown -R httpd:httpd /var/www/modx
After I opened
http://my.site.com/setup and went through installation process without errors.
Now when I am trying to log in
http://my.site.com/manager - I get the blank page with 200 code after putting credentials.
OS - Centos 6. Apache/2.4.18 (Red Hat). php 5.6.9 compiled as a module.
Compilation flags:
'./configure' '--with-apxs2=/opt/rh/httpd24/root/usr/bin/apxs' '--enable-maintainer-zts' '--disable-ipv6' '--with-mysql' '--enable-mbstring' '--enable-libxml' '--enable-dom' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--without-pear' '--with-mcrypt=ext/mcrypt/' '--with-gd' '--with-mysqli' '--enable-simplexml' '--with-zlib' '--with-pdo_mysql' '--with-vpx-dir=/usr/lib64' '--with-jpeg-dir=/usr/lib64' '--with-xpm-dir=/usr/lib64' '--with-freetype-dir==/usr/lib64' '--with-curl'
No errors in apache and php error log. Even with php.ini settings:
display_errors = On
log_errors = On
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
In access log I see:
...
- - [11/Jan/2017:11:02:55 +0100] "POST /manager/ HTTP/1.1" 302 -
- - [11/Jan/2017:11:02:55 +0100] "GET /manager HTTP/1.1" 301 247
- - [11/Jan/2017:11:02:55 +0100] "GET /core/docs/changelog.txt HTTP/1.1" 206 1
- - [11/Jan/2017:11:02:55 +0100] "GET /manager/ HTTP/1.1" 200 -
I see the next messages in
core/cache/logs/install.config.2017-01-11T10.29.12.log:
[2017-01-11 10:29:19] (ERROR @ /var/www/modx/core/xpdo/transport/xpdoobjectvehicle.class.php : 227) Could not copy /var/www/modx/core/packages/core/modContext/2a724313a9b7e6abf3d81c60f57b2e63/0/ to /var/www/modx/index.php
[2017-01-11 10:29:19] (ERROR @ /var/www/modx/core/xpdo/transport/xpdoobjectvehicle.class.php : 227) Could not copy /var/www/modx/core/packages/core/modContext/2a724313a9b7e6abf3d81c60f57b2e63/1/ to /var/www/modx/ht.access
[2017-01-11 10:29:19] (ERROR @ /var/www/modx/core/xpdo/transport/xpdoobjectvehicle.class.php : 227) Could not copy /var/www/modx/core/packages/core/modContext/87fcd742aadfb6c7056f8af912fc5787/0/ to /var/www/modx/manager/assets
[2017-01-11 10:29:19] (ERROR @ /var/www/modx/core/xpdo/transport/xpdoobjectvehicle.class.php : 227) Could not copy /var/www/modx/core/packages/core/modContext/87fcd742aadfb6c7056f8af912fc5787/1/ to /var/www/modx/manager/controllers
[2017-01-11 10:29:19] (ERROR @ /var/www/modx/core/xpdo/transport/xpdoobjectvehicle.class.php : 227) Could not copy /var/www/modx/core/packages/core/modContext/87fcd742aadfb6c7056f8af912fc5787/2/ to /var/www/modx/manager/templates
[2017-01-11 10:29:19] (ERROR @ /var/www/modx/core/xpdo/transport/xpdoobjectvehicle.class.php : 227) Could not copy /var/www/modx/core/packages/core/modContext/87fcd742aadfb6c7056f8af912fc5787/3/ to /var/www/modx/manager/min
[2017-01-11 10:29:19] (ERROR @ /var/www/modx/core/xpdo/transport/xpdoobjectvehicle.class.php : 227) Could not copy /var/www/modx/core/packages/core/modContext/87fcd742aadfb6c7056f8af912fc5787/4/ to /var/www/modx/manager/ht.access
[2017-01-11 10:29:19] (ERROR @ /var/www/modx/core/xpdo/transport/xpdoobjectvehicle.class.php : 227) Could not copy /var/www/modx/core/packages/core/modContext/87fcd742aadfb6c7056f8af912fc5787/5/ to /var/www/modx/manager/index.php
[2017-01-11 10:29:19] (ERROR @ /var/www/modx/core/xpdo/transport/xpdofilevehicle.class.php : 40) Could not install files from /var/www/modx/core/packages/core/xPDOFileVehicle/d814151617e976887af7a24c1ce65c78/ to /var/www/modx/connectors/
[2017-01-11 10:29:19] (ERROR @ /var/www/modx/core/xpdo/transport/xpdofilevehicle.class.php : 40) Could not install files from /var/www/modx/core/packages/core/xPDOFileVehicle/5c11eeeb6af6006377decec1fdac1c01/ to /var/www/modx/connectors/
[2017-01-11 10:29:19] (ERROR @ /var/www/modx/core/xpdo/transport/xpdofilevehicle.class.php : 40) Could not install files from /var/www/modx/core/packages/core/xPDOFileVehicle/a147d2ea23b7e0dc1d3038c829e529c8/ to /var/www/modx/connectors/
[2017-01-11 10:29:19] (ERROR @ /var/www/modx/core/xpdo/transport/xpdofilevehicle.class.php : 40) Could not install files from /var/www/modx/core/packages/core/xPDOFileVehicle/6ae8d7fb3556f5083957458d7c407b11/ to /var/www/modx/connectors/
What I already have tried:
1. Different modx versions
2.5.2, 2.4.4 - story the same.
2. Building from git as described here
https://docs.modx.com/revolution/2.x/getting-started/installation/git-installation . No errors in install.log, but the same result.
3. Different installation options and directory permissions.
4. sql_mode= in mysql.
5. Enabling modx debug, by adding into manager/index.php:
if (!MODX_API_MODE) {
[b]$modx->setDebug(true);[/b]
$modx->request->handleRequest();
}
core/cache/logs/error.log has appeared. In ends like this:
...
[2017-01-11 11:06:48] (DEBUG @ /var/www/modx/core/xpdo/xpdo.class.php : 1520) Returning validation rules: Array
(
[id] => Array
(
[invalid] => Array
(
[type] => preg_match
[rule] => /^[0-9a-zA-Z,-]{22,255}$/
[message] => session_err_invalid_id
)
)
)
[2017-01-11 11:06:48] (WARN @ /var/www/modx/core/xpdo/validation/xpdovalidator.class.php : 123) Validation succeeded: Array
(
[id] => 1
)
[2017-01-11 11:06:48] (DEBUG @ /var/www/modx/core/xpdo/om/xpdoobject.class.php : 2178) Validator class executed, result = 1
[2017-01-11 11:06:48] (DEBUG @ /var/www/modx/core/xpdo/xpdo.class.php : 1775) Returning ancestry for modSession: Array
(
[0] => modSession
[1] => xPDOObject
)
[2017-01-11 11:06:48] (WARN @ /var/www/modx/core/xpdo/validation/xpdovalidator.class.php : 123) Validation succeeded: Array
(
[id] => 1
)
[2017-01-11 11:06:48] (DEBUG @ /var/www/modx/core/xpdo/om/xpdoobject.class.php : 2178) Validator class executed, result = 1
I compared this to working modx installation and it looks the same.
I am already struggling with it for a day. Cannot understand what is wrong. Could anybody help?