Problem with local path
You need to be logged in to post messages in the forums. New users may register here.
Matthieu Sévère
Member since: 18 March 2009
Posts: 26
|
Tuesday 16 March 2010 6:55:57 am
Hello,
I'm giving a try at your extension but I have some problem with local path.
You always append ssh_user to document_root :
$this->data['document_root'] . $this->data['ssh_user']
Why that ?
In my case I want for example to copy the dump to /var/www/'my_project'/_bddump
But I can't because of this ssh_user
Did I miss something ?
PS : Except that it works perfectly for db dump, nice" job !
|
|
Matthieu Sévère
Member since: 18 March 2009
Posts: 26
|
Tuesday 16 March 2010 7:02:00 am
There also a problem with clearing local cache :
this line : exec("cd " . $this->data['new_distro_folder_name'] . ";php bin/php/ezcache.php --clear-all --purge");
The variable $this->data['new_distro_folder_name'] doesn't exist;
I think it should be document_root
|
|
Anders Berre
Member since: 09 January 2008
Posts: 15
|
Thursday 18 March 2010 1:42:56 am
Hi Matthieu,
Thanks for your feedback.
This is not an app made for making db dumps, this is just a part of the app. The main goal with this app is to download and set up one entire eZ installation locally.
The reason for appending the ssh_user is to separate the installations on the local computer.
Lets say you have set your document root:
|
|
You need to be logged in to post messages in the forums. New users may register here.