Codeigniter problem with Sentora
#1
Codeigniter problem with Sentora
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

Reply
#2
RE: Codeigniter problem with Sentora
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
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
#3
RE: Codeigniter problem with Sentora
Hi, is it possible that i can use codeigniter with sentora?
Reply
#4
RE: Codeigniter problem with Sentora
yes just setup custom tmp path within open_basedir allowed path's.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
#5
RE: Codeigniter problem with Sentora
(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?
Reply
#6
RE: Codeigniter problem with Sentora
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
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora cp steps 421darren 6 17 ,264 06-12-2025, 03:29 PM
Last Post: AnthonyDillard
Improving Security on Your Sentora Panel: Best Practices DylanForeman 0 441 05-27-2025, 06:10 PM
Last Post: DylanForeman
Is Sentora dead? rajeevrrs 2 5 ,663 12-17-2022, 09:20 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)