Sentora Support Forums

Full Version: Codeigniter problem with Sentora
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Please guide me how to fix this problem - I had run my code on xampp and hosting cpanel but when i upload it on sentora and have this problem. I had read some topic and do it but i can't work( only haveĀ OpenBase Enabled and it's had sticked)
http://forums.sentora.org/showthread.php...7#pid11707


PHP Code:
A PHP Error was encountered
Severity
Warning
Message
is_dir(): open_basedir restriction in effectFile(/var/sentora/sessionsis not within the allowed path(s): (/var/sentora/hostdata/zadmin/public_html/mmorefback_cf:/var/sentora/temp/)
Filenamedrivers/Session_files_driver.php
Line Number
115
Backtrace
:
File: /var/sentora/hostdata/zadmin/public_html/refback_cf/application/controllers/Index.php
Line
7
Function: library 
File
: /var/sentora/hostdata/zadmin/public_html/refback_cf/index.php
Line
292
Function: require_once 

PHP Code:
A PHP Error was encountered

Severity
Warning

Message
fopen(): open_basedir restriction in effectFile(2f1e9ca603524b58e6b72444e7138c5518c55ebbis not within the allowed path(s): (/var/sentora/hostdata/zadmin/public_html/refback_cf:/var/sentora/temp/)

Filenamedrivers/Session_files_driver.php

Line Number
156

Backtrace

This is related to open_basedir

does code igniter try to manage him self sessions?

Try to set a custom sessions patch with domain directory.

M B
Hi, is it possible that i can use codeigniter with sentora?
yes just setup custom tmp path within open_basedir allowed path's.

M B
(07-10-2017, 07:28 PM)Me.B Wrote: [ -> ]yes just setup custom tmp path within open_basedir allowed path's.

M B

can u guide me how to?
or is there any sample tutor maybe?
where and how i change/custom within open_basdir path?
it's within codeigniter it's self check it's config. You need to use the path within the current website.

google it see:

https://stackoverflow.com/questions/2571...er-3-0-dev

M B