I am trying to upgrade Drupal from 7 to 9.
When I run the following command to import the public files from D7 site to D9 site:
drush migrate-import upgrade_d7_file
Output is
upgrade_d7_file Migration - 1129 failed.
Then I ran
drush mmsg upgrade_d7_file
It says,
upgrade_d7_file:uri: File '//sitesdefault/files//images/test1.jpg' does not exist
Public file system path in source site is
sites/default/files/
Not sure why it's removing the frontslash from sites/default and added to the beginning.
Any help is highly appreciated. Thanks in advance.
It works now.
I had to add --legacy-root=http://domainname to the drush migrate-upgrade command.
Related
I already run server with azerothcore realm is already running.
I use Ubuntu 18.04 and MySql 5.7
I want to know how to install module such as mod npc buffer ,
Someone teach me step by step and please answer below question
when i run ./acore-installer No. 7 to search module and then No. 8 to install module and then what menu I choose for active module No.1? its reinstall my server right? data will be delete or not.
or
I must be install module before installing the server core
Please tell me step by step
sorry for my bad English writing skill
Thank you very much. >> azerothcore.org
Best regards,
Nyein Chan Htoo
Yangon, Myanmar
I never used the installer to install a module (I only use the db-assembler).
To install a module in a more manual way, just follow the instructions on the repository readme.
Basically, you git clone the module in modules/. Then you rerun Cmake (because you added new files) and then you compile again.
Once compiled, you eventually apply the SQL files from the sql directory and then you can edit the module configuration files and launch the worldserver.
I can not find any documentation to migrate my drupal 7 subtheme to drupal 8. I migrate, but everytime I migrate, my UI is broken and if I try installing bootstrap on Drupal 8 I get:
Drupal\Core\Config\PreExistingConfigException: Configuration objects (bootstrap.settings) provided by bootstrap already exist in active configuration in Drupal\Core\Config\PreExistingConfigException::create() (line 65 of core/lib/Drupal/Core/Config/PreExistingConfigException.php).
Any help is appreciated. Thank you.
Remove configuration object before reinstalling Bootstrap
This configuration object, i.e. bootstrap.settings probably exists because it has remained over from last time you installed bootstrap. So you have to delete this configuration object before you again install bootstrap.
If you have drush version 8, try this command:
drush config-delete bootstrap.settings
Then try reinstalling bootstrap. This should definitely work.
I am new in Symfony and dont know how to install Symfony on my Xamp server. In symfony webm, when i want to download it, Through this command c:> php -r "readfile('http://symfony.com/installer');" > symfony`
then Access denied is occur on my cmd.
I am also beginner to symfony and had a same problem.
I think you also need to install composer first to make it working. I download the composer from https://getcomposer.org/download/ and then installed it. After that the symfony installer command worked for me. Try it and Good luck.
I just had a similar problem, it was not allowing me to download the symfony file (and displaying "Access denied") because I had a folder named Symfony. Renaming the folder solved the project problem.
Probably you do not have write access to your c:\ directory - it is default settings on Windows 7, 8, ....
Create some folder (for ex. c:\symfony_project) and try readfile('http://symfony.com/installer');" > symfony in that folder
For those who are still facing the problem, here how I solved mine. First you have to open XAMPP as administrator by clicking right click on XAMPP make sure its closed first after opening it as admin enable Apache and mysql then open shell, then head to htdocs and make sure there is composure installed and then paste the installing of symfony there. I hope it works after that.
I looked allover to a resolution to this but i'm just not finding it. I am trying to use drush on my MAMP platform (I have Leopard). Installation seems to have gone well, but i get errors when i try to use it.
My default shell is tcsh. I made a file .bash_profile and added the line "export PATH="/Applications/MAMP/Library/bin:/Applications/MAMP/bin/php5.3/bin:$PATH" to it. then I changed to the bash shell and sent command: drush en views_ui.
(I get the same error from the tcsh shell)
I am at the root of the site.
sorry if this is a repeat question. please help...
bash-3.2$ drush en views_ui
Command pm-enable needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to [error]
run this command.
The drush command 'en views_ui' could not be executed. [error]
Drush was not able to start (bootstrap) the Drupal database. [error]
Hint: This may occur when Drush is trying to:
* bootstrap a site that has not been installed or does not have a configured database. In this case you can select another site with
a working database setup by specifying the URI to use with the --uri parameter on the command line. See `drush topic docs-aliases` for
details.
* connect the database through a socket. The socket file may be wrong or the php-cli may have no access to it in a jailed shell. See
http://drupal.org/node/1428638 for details.
Drush was attempting to connect to:
Drupal version : 7.0
Site URI : http://default
Database driver : mysql
Database hostname : localhost
Database username : root
Database name : d7dev
Default theme : garland
Administration theme: garland
PHP configuration : /private/etc/php.ini
Drush version : 5.8
Drush configuration:
Drupal root : /Applications/mamp/htdocs/d7dev
Site path : sites/default
Modules path : sites/all/modules
Themes path : sites/all/themes
File directory path: sites/default/files
%paths : Array
So I know this is an old one, but did you try the solution at https://drupal.org/node/1428638 (the URL provided in your error message above)?
The upshot is that you should update your database 'host' value in settings.php with this:
'host' => php_sapi_name() == 'cli' ? '127.0.0.1' : 'localhost',
Worked great for me.
I was running into the same issue on my local dev (not using XAMP or MAMP). All I did was install php5-mysql and drush en worked.
For the people like me with the same issue for XAMPP how ended up here on this article somehow. The follow line of code did te trick for me. Make sure you "cd" first to you're Drupal root.
sudo ln -s /Applications/XAMPP/xamppfiles/var/mysql /var/mysql
Working on a MacbookPro OS 10.6.6 , using MAMP Pro 1.9.4.
I'm attempting to install Acquia's Drupal Commons locally. The installation progress bar goes all the way, I can check in phpMyadmin that the database has been populated, but before the site configuration screen , I get a 500 Server Error!
Standard Drupal 6 or 7 install without any problem & I was able to install Drupal Commons on my web server. So it seems that some form of conflicts happens between my server configuration ( Mamp Pro ) and Drupal Commons.
Thanks in advance for any suggestions!
Did you check that your sites/default/default.settings.php file was copied to settings.php and not just renamed?
I remember having problems setting up Drupal when I just renamed it, both files need to be there.
I solved the issue by raising the PHP limit in Mamp to 96M.
File > Edit Template > PHP > PHP Version
//Search for 'memory_limit' & edit the value
memory_limit = '96M';
then restart the server.
After dong this Drupal Commons should install without any problems.