strato wrote:First, I want to say thanks for the work you put into this installer. I just recently setup VestaCP and I am looking to migrate the few clients I have over from Interworx. I used simple scripts over on that CP so I was a little disappointed when I found out VestaCP did not support any major script installers. After some research I found yours and started to give it a try.
The issue I am running into is when I try to install wordpress or joomla (only 2 I have tried) I get an error saying the database is not valid "ERROR: Error: db_user cloudcan_t8cE1dl6cb is not valid" After several tries I have noticed that the _t8cE1dl6cb changes every time you try again so even if I wanted to go back and create cloudcan_t8cE1dl6cb in VestaCP the next one would fail
strato wrote:I believe I have 1.0.2 installed, I followed this guide https://forum.vestacp.com/viewtopic.php?f=19&t=8523
I can shorten the name, just want to make sure I am on the same page as you
Another question I have, I have noticed when I try to install an app, if there is any data in public_html I get the error public_html/ MUST BE EMPTY. As I understand this could be an issue due to someone not understanding how things work could over write a site already there, it forces people to either install at /somename or ftp to their site and delete files there.
I am testing my setup with whmcs integration sending commands to create a user and website. When it does all it installs is 2 files, a robot.txt and an home html file.
Personally it would make it alot easier if your app installer could detect basic default files and overwrite on install to / If it detects more than the default files it would fail the installation.
mephivio wrote:hi Joem,
When can we expect your new release ?
i guess that's a high work but if you can refresh this post thanks
Code: Select all
if(substr($_POST['cdn_instdir'],0, 1) != "/") :
$_SESSION['error_msg'] .= "INSTALL DIRECTORY MUST START WITH /.#";
Code: Select all
if(stristr($_POST['cdn_instdir'], '..')!==FALSE) :
$_SESSION['error_msg'] .= "INCORRECT DIRECTORY";
ykpon wrote:By default, the script has a vulnerability that allows to install scripts in the foreign domain, knowing a user name and domain, respectively.
For fix that need in file:
Users browsing this forum: No registered users and 5 guests