English 中文(简体)
进口现有的博士项目
原标题:Importing an existing Drupal project

我正在加入一个发展小组,该小组现有一个基于博士的项目,在网上主办。 迄今为止,它们已经在生产环境方面进行了直接的工作,这意味着上载档案,使变化变得简单。 我决定有一个发展环境,并有几个问题。

i) 我已经在我的排雷中心安装了Dupal-7.9。 现有网站为6.x博士。 我将不得不将该网站的零散档案下载到我的当地散射手上。 我假设7.9博士会落后。 如果我在这里错失,我会与我联系。

ii) Now the trickier part, whilst I download the existing project onto my Drupal folder, the file directories and files are going to overwrite the existing Drupal folder, this essentially will create unforseen issues. My thinking is that I should simply download these files and store them in a separate folder, and replace the installation script of the existing drupal 6.x project with that of the drupal 7.9 installation script? Not sure if this is the best strategy to go around.

This pretty much sums the challenge I am facing right now. Any light on this would be beneficial.

非常感谢

Parijat Kalia

最佳回答

what you are trying to do requires a number of steps.

  1. Firstly download the database they have online and set it up locally.
  2. Setup a drupal install with the same exact version they are using on the online site
  3. Download the entire sites folder from online site and replace the local site sites folder with this.
  4. Go into sites/default and edit settings.php, set the base_url(note: make sure you put http:// in the base url) and database information there to your local info.
  5. Now after doing all of this, visit the local site and make sure its running.
  6. Now you may upgrade to drupal 7. However if the site is to be launched in drupal 6, i would not advise on upgrading, since its a lot of headache and a waste of time. This is so since drupal 6 and 7 are vastly different and upgrading may take days depending on the size of the website.

然而,我祝愿你一切顺利。

问题回答

恐怕7.x博士与第6博士完全不相适应,你需要把该站点安装在你的机器上,作为6号博士站点,然后将其升级至7版。

http://drupal.org/node/548922“rel=“nofollow”>。





相关问题
SQL SubQuery getting particular column

I noticed that there were some threads with similar questions, and I did look through them but did not really get a convincing answer. Here s my question: The subquery below returns a Table with 3 ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

php return a specific row from query

Is it possible in php to return a specific row of data from a mysql query? None of the fetch statements that I ve found return a 2 dimensional array to access specific rows. I want to be able to ...

Character Encodings in PHP and MySQL

Our website was developed with a meta tag set to... <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> This works fine for M-dashes and special quotes, etc. However, I ...

Pagination Strategies for Complex (slow) Datasets

What are some of the strategies being used for pagination of data sets that involve complex queries? count(*) takes ~1.5 sec so we don t want to hit the DB for every page view. Currently there are ~...

Averaging a total in mySQL

My table looks like person_id | car_id | miles ------------------------------ 1 | 1 | 100 1 | 2 | 200 2 | 3 | 1000 2 | 4 | 500 I need to ...

热门标签