This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

concrete5
#4
RE: concrete5
(06-19-2015, 11:10 PM)TheVP Wrote:
(06-17-2015, 09:06 AM)apinto Wrote: Concrete5 should work without any issues in Sentora.

The latest version actually doesn't because it attempts to use /var/sentora/sessions/ to store its sessions.
You should go to Admin > Module Admin > Apache Config. Scroll to the "Override a Virtual Host Setting" section and select the domain where you run concrete5.

In the "Custom Entry" field, enter:
php_admin_value open_basedir "/var/sentora/hostdata/ACCOUNT_NAME/public_html/DOMAIN_NAME:/var/sentora/temp:/var/sentora/sessions/"

Alternatively, you can make concrete5 store its sessions in the database but you should wait for another version so they can make it easier to do so.

Adding the session dir to a VHost is not a good idea.
Just change the sessions directory on Concrete5 install folder via php.ini
http://php.net/manual/en/function.session-save-path.php

You can edit
concrete/startup/session.php
PHP Code:
ini_set('session.save_path'DIR_SESSIONS); 


DIR_SESSIONS is defined on concrete/startup/file_permission_config.php

PHP Code:
# Sessions/TMP directories
  
if (!defined('DIR_SESSIONS')) {
  
define('DIR_SESSIONS'Loader::helper('file')->getTemporaryDirectory());

My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by: azimutevirtual


Messages In This Thread
concrete5 - by azimutevirtual - 06-17-2015, 08:28 AM
RE: concrete5 - by apinto - 06-17-2015, 09:06 AM
RE: concrete5 - by TheVP - 06-19-2015, 11:10 PM
RE: concrete5 - by apinto - 06-19-2015, 11:50 PM
RE: concrete5 - by azimutevirtual - 06-21-2015, 07:41 AM
RE: concrete5 - by TheVP - 06-27-2015, 12:01 AM

Forum Jump:


Users browsing this thread: 5 Guest(s)