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.

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
Thanks given by:
#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
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#3
RE: Codeigniter problem with Sentora
Hi, is it possible that i can use codeigniter with sentora?
Reply
Thanks given by:
#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
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#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
Thanks given by:
#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
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Is Sentora dead? rajeevrrs 2 2 ,880 12-17-2022, 09:20 AM
Last Post: TGates
Sentora debug and error files johnnyp 0 1 ,099 10-27-2022, 06:16 PM
Last Post: johnnyp
Transfer Account to another Sentora BenI 1 2 ,490 07-21-2022, 07:19 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 1 Guest(s)