Hello I come from Vietnam.
I have installed open-classifieds.com. When writing articles, I try to use the photo upload, website error,
![[Image: pQY1sGZ.jpg]](http://i.imgur.com/pQY1sGZ.jpg)
Link demo; rao2.thietkevn.com
I look forward to helping ablation.
Thank you
I'm using :
Server OS:CentOS
Icon CentOS
Apache Version:2.4.6
PHP Version:5.6.26
MySQL Version:5.5.50-MariaDB
Sentora Version:1.0.3
Is this fixed? It is marked as SOLVED...?
If not, you need to change the temp folder the script uses to /var/sentora/temp/ instead of /tmp/
You guide me fix in. Syntax and steps, in detail?
Sorry because I did not use to be proficient in English.
Login as zadmin and navigate to:
Admin > Module Admin > Apache Config >
Open Base Temp Directory replace with:
Code:
/var/sentora/temp/:/tmp/
Check the
Force Update box
Click
Save Changes and wait ~5 minutes then test the site again.
<?php defined('SYSPATH') OR die('No direct script access.'); ?>
2016-10-09 14:31:35 --- ERROR: ErrorException [ 2 ]: file_put_contents(): open_basedir restriction in effect. File(/tmp/phpCazLO0) is not within the allowed path(s): (/var/sentora/hostdata/zadmin/public_html/a_thietkevn_com:/var/sentora/tmp/) ~ APPPATH/classes/model/ad.php [ 390 ] in /var/sentora/hostdata/zadmin/public_html/a_thietkevn_com/oc/kohana/system/classes/Kohana/Kohana/Exception.php:110
Hixx. Stranger still, I get this message when you upload an image while writing.
The main issue is that the scripts you are using, are trying to use folders outside of the domains hosting space. You will need to edit it's files do that it uses folders within your domain's hosting space or (security risk) disable openbase dir for the domain. Admin > Module Admin > Apache Config > Override a Virtual Host > [select domain] > Uncheck 'Openbase Dir' > Save > Wait ~5 minutes.
Hi,
Thank you, I'll do it your way. Hope Success ^^
Success. Thank you, very much, very much.