I get the following error while installing a theme in Drupal 7 by URL input at theme install form :
Failed to connect to the server. The server reports the following message:
Cannot connect to FTP Server, check settings
For more help installing or updating code on your server, see the handbook.
What might be the problem?
Where am I going wrong?
Installing theme by downloading and putting it into sites/all/themes everytime is annoying.
The following code worked for me,
sudo chown www-data:www-data -R /var/www/drupal(or your drupal web root name)/sites
Related
I have a big problem trying to deploy a react app to a azure app service with visual studio azure app service extension, im getting this error
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/date-fns/-/date-fns-2.0.0-alpha.27.tgz: ESOCKETTIMEDOUT".
Im using yarn and i read that increase the network timeout maybe solve this. But how i can do it?
I am using yarn and i read that increase the network timeout maybe
solve this. But how i can do it?
You can try running it in your terminal :
$ yarn install --network-timeout 1000000
And also try to clear the cache by running the below cmd
$ yarn cache clean
$ yarn // to install dependencies, no need for "yarn install"
Please refer the below links for more information:
.yarn is having troubles with the network connection | SO THREAD .
. React deployment keeps failing with ESOCKETTIMEDOUT | MS Q&A
Try to NOT run build on Azure. Do this by answering NO when you publish.
Have you already made the settings to build on Azure (answered yes) .. undo by deleting the following files
.vscode\settings.json
.deployment
Create the file .yarnrc, and write into file:
network-timeout 1000000
Save file & deploy your app with the file
Since morning I am facing some issue with the ubuntu xrdp. I have 3 users server, admin and root. server user is once which is configured during the installation. if is use root user then I am able to login but if I use other server its throw following error.
connecting to sesman ip 127.0.0.1
sesman connect ok
sending login info to session manager, please wait...
login successful for display 10
started connecting
connection problem, giving up
some problem
for admin user its show following error
Unable to determine failsafe session name. Possible causes:
xfconfd isn`t running ( D-Bus setup problem) environment variable $XDG_CONFIG_DIRS is set incorrectly (must include */ etc") or xfce4-session is installed incorrectly.
My Ubuntu version is: Ubuntu 18.04.4 LTS
It`s fresh setup and i also try to reinstall xrdp and its dependency packages but nothing works.
The output of $echo $XDG_CONFIG_DIRS is empty.
After digging in deep and doing lots of troubleshooting, I finally able to access RDP from other users also. I reinstall everything and then install vncserver and kill all the running process of xface from the terminal. Now it's working.
I am trying to install Mavensmate on a new windows machine to connect with my salesforce sandbox. I am getting a strange error whenever I try to download classes from my sandbox via mavensmate. The error message is
"Error initializing project: ENOENT: no such file or directory, stat 'C:\Users..\Documents\My Pictures'"
I am using VS code.
OS: Windows 10
Running Mavensmate as an administrator. Node JS is installed and tried everything else on the internet related to this error. Can anyone please help me out with this issue? Thanks
Update: I was able to setup Mavensmate by changing the directory to another folder after going into settings.
P.S: Try to run Mavensmate as an administrator and disable your windows firewall and antivirus for few minutes.
Despite the complete installation of drupal 7.59, when I execute command drush cc all this message is displayed : No Drupal site found, only 'drush' cache was cleared., even I have installed a custom module in my site and I can work with my drupal site on localhost/my_site/ in browser, it's not recognaized as a Drupal site !!!
my main problem is that module is installed correctly but sql tables are not created in database and drush clear cache command doesn't help.
any one can help me what is wrong and why is this happening?
Thanks!
99% sure that path variable is wrong. Please check https://www.drupal.org/forum/support/post-installation/2014-05-14/drush-no-drupal-site-found-only-drush-cache-was-cleared
I'm not sure which OS you are using. Check path and port for mysql
Just installed atk4 (latest) on my webserver.
The default page loads fine, the DB test shows success, but the examples included in the package seem to be referencing a dsn other than what is in the config. Despite my (working) config info the examples try to connect to root#localhost and fail. That's not my dsn info from config.
I checked the agiletoolkit site and their example.agiletookit page is doing the same thing.
Is this a bug or are there multiple configs?
If you have installed using the new secure install
curl -sS http://agiletoolkit.org/install | sh
Then there was a problem with the bootstrapped repository. Here is fix:
https://github.com/atk4/atk4-secure/commit/a0c282e35277a044ed9048b7c292ac8da1b3092a