We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Wordpress Missing Temporary folder
Wordpress Missing Temporary folder
Hello guys, so i have sucessfully installed Vesta Cp on Centos 6.7
What i did is this, i left the admin account to host zero website.
1. I created seperate accounts for each domain or clients ex. John, Jane and so on.
2. Logged into each account and added their respective web and database.
3. Logged into ex. John via FTP and uploaded files "Wordpress"
4. It was sucesfuly installed, however when i try to upload images it says "Missing a temporary folder"
Also note when i'm logged into FTP ex John the folder "Owner" shows 503 isn't this supposed to reflect the name of the user ex. John for this account, i added the domain via web using the same account John.
Also note that i'm using the following template as suggested on other post for security. Template Basedir and Hosting
Thank You Very Much!
What i did is this, i left the admin account to host zero website.
1. I created seperate accounts for each domain or clients ex. John, Jane and so on.
2. Logged into each account and added their respective web and database.
3. Logged into ex. John via FTP and uploaded files "Wordpress"
4. It was sucesfuly installed, however when i try to upload images it says "Missing a temporary folder"
Also note when i'm logged into FTP ex John the folder "Owner" shows 503 isn't this supposed to reflect the name of the user ex. John for this account, i added the domain via web using the same account John.
Also note that i'm using the following template as suggested on other post for security. Template Basedir and Hosting
Thank You Very Much!
Re: Wordpress Missing Temporary folder
Update Guys:
Based on the error log, it shows the conflict is because of the template i've choosen which is basedir.
[Sat Aug 08 01:42:51 2015] [error] [client 150.121.158.152] PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/John/web/mydomain.com/wp-config.php) is not within the allowed path(s):
So what's the workaround here so i can include this path in the basedir template ? Also if i edit the basedir template do i need to reinstall all sites again or it will take effect once i restart apache.
Thanks again.
Based on the error log, it shows the conflict is because of the template i've choosen which is basedir.
[Sat Aug 08 01:42:51 2015] [error] [client 150.121.158.152] PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/John/web/mydomain.com/wp-config.php) is not within the allowed path(s):
So what's the workaround here so i can include this path in the basedir template ? Also if i edit the basedir template do i need to reinstall all sites again or it will take effect once i restart apache.
Thanks again.
Re: Wordpress Missing Temporary folder
In my installation of Vesta the uploaded files go to /home/[USER]/web/[DOMAIN]/public_html/ but you uploaded them in /home/John/web/mydomain.com/wp-config.php, instead of the public_html directory. This might be your problem.
Re: Wordpress Missing Temporary folder
Thank you very much sir for your reply.
Actually files are uploaded inside the publichtml folder, that path above is the output from the error log.
May i ask which template are you using? Basedir or Default ? I setup VestaCp twice, the first one i use the default the template it works flawlessly but i wanted to add more security so i used the basedir template. I'm guessing is i need to edit the basedir template to allow this tmp folder, i just don't know how.
Thanks
Actually files are uploaded inside the publichtml folder, that path above is the output from the error log.
May i ask which template are you using? Basedir or Default ? I setup VestaCp twice, the first one i use the default the template it works flawlessly but i wanted to add more security so i used the basedir template. I'm guessing is i need to edit the basedir template to allow this tmp folder, i just don't know how.
Thanks
Re: Wordpress Missing Temporary folder
If you're asking about what Web Template (apache2) I'm using, its the hosting template.
Re: Wordpress Missing Temporary folder
Hello i managed to fix it but i hope someone will read this and confirm what i did is correct.
So with the first post problem , the solution that i did is modify the basedir template.
This is how the basedir docroot looks like now
Those lines in Bold are the one i added.
Then i used the rebuild command.
v-rebuild-user John
Am i doing it right? Is my basedir template still secured compared to the other templates?
Thanks!
So with the first post problem , the solution that i did is modify the basedir template.
This is how the basedir docroot looks like now
Code: Select all
<Directory %docroot%>
AllowOverride All
Options +Includes -Indexes +ExecCGI
[b]php_admin_value upload_tmp_dir %home%/%user%/tmp
php_admin_value session.save_path %home%/%user%/tmp[/b]
php_admin_value open_basedir %docroot%
</Directory>
Then i used the rebuild command.
v-rebuild-user John
Am i doing it right? Is my basedir template still secured compared to the other templates?
Thanks!
Re: Wordpress Missing Temporary folder
Basedir ->pandabb wrote: Am i doing it right? Is my basedir template still secured compared to the other templates?
Thanks!
Code: Select all
php_admin_value open_basedir %docroot%:%home%/%user%/tmp
Re: Wordpress Missing Temporary folder
Thanks
is the code below correct?
is the code below correct?
Code: Select all
AllowOverride All
Options +Includes -Indexes +ExecCGI
php_admin_value open_basedir %docroot%:%home%/%user%/tmp
php_admin_value upload_tmp_dir %home%/%user%/tmp
php_admin_value session.save_path %home%/%user%/tmp
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f info@%domain%"
Re: Wordpress Missing Temporary folder
Yep, I quoted this before.pandabb wrote: is the code below correct?
PS: one more time - it's for _templates_ only, not for config.
Re: Wordpress Missing Temporary folder
copy that .tpl
ty sir
ty sir