Sentora Support Forums

Full Version: Open_Base Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello i have a issue with the open_base settings for a domain

Code:
There was a problem processing the uploaded file. tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/sentora/hostdata/zadmin/public_html/myowndomain_info:/var/sentora/temp/)

The senora is running on ubuntu 14.04 x64 and sentora ver is 1.0.3

i did try to solve by

1  
Code:
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/mydomain_info:/var/sentora/temp/"

canged to this

Code:
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/mydomain_info/uploads/"

Not working showing blank page on main domain and all the pages

2. Disabled open base for that domain  on admin>apache conf  no efect is showing same error

I did try some oter solution from the topics and rebooted the vps but no success till now

The domain is using IPB 4.1 i contacted them but they said is a hosting problem and not a ipb issue so is back to me and you guy's Smile

Can anyone help me with this Smile  as the users can't upload avatars for profiles Sad
Ok solved the issue like this

Go to Module Admin > Apache Config  select the domain vHost and disable Open Base

Go you hosting file on /etc/sentora/configs/apache  and edit the httpd-vhosts.conf  and remove the line that contain
Code:
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/mydomain_info:/var/sentora/temp/"
(12-31-2015, 09:29 PM)iTpain Wrote: [ -> ]Ok solved the issue like this

Go to Module Admin > Apache Config  select the domain vHost and disable Open Base

Go you hosting file on /etc/sentora/configs/apache  and edit the httpd-vhosts.conf  and remove the line that contain
Code:
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/mydomain_info:/var/sentora/temp/"

Thank you Smile

This works if any user need install Moodle.
I have no ideea if this will afect something else but it solved my issue with the profile photo upload if a team member can reply with a advice or info of what this will do if is disabled would be great