CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Windows and IIS installations »
  • File Error when installing on IIS
Pages: [1]

Author Topic: File Error when installing on IIS  (Read 4068 times)

banderson

  • Guest
File Error when installing on IIS
December 30, 2008, 08:09:26 am
I start the install and get the following error after a few minutes into the install.

-1 - An error has occurred. 
It was not possible to copy the selected file.

I have double check folder permissions.

Any advice would be great!

tabidi

  • I post occasionally
  • **
  • Posts: 34
  • Karma: 5
Re: File Error when installing on IIS
December 30, 2008, 09:20:58 pm
I recently installed civicrm 2.1 + drupal 6.8 on IIS 5.0 (yes you read that right 5.0/win 2000 server). Had too many problems to mention but I am going to attribute most of them to the old OS. What I eventually did to get everything to work was download WAMP server, use that to install drupal and civicrm. I only had to make one change php.ini file 'max_execution_time' from 30 to 120.

Then I disabled apache, created website under IIS and pointed it to my install location for drupal. Ofcourse I had to configure the IIS website to run php, I used the ISAPI method.


Hope this helps

mliu.mike

  • Guest
Re: File Error when installing on IIS
February 13, 2009, 11:01:12 am
Comment out the code which checks for the drupal site.  Since on Windows the directory separatory is \ and not /, it complains.

As long as you know that the site is there, it works.

if ( $installType == 'drupal' ) {
    // do not check 'sites/all/modules' only since it could be a multi-site
    // install. Rather check for existance of sites & modules in the url
    //if ( ! preg_match('/sites/[a-zA-Z0-9_.]+/modules/', $_SERVER['SCRIPT_FILENAME']) ) {
    //    $errorTitle = "Oops! Please Correct Your Install Location".$_SERVER['SCRIPT_FILENAME'];
    //    $errorMsg = "Please untar (uncompress) your downloaded copy of CiviCRM in the <strong>sites/all/modules</strong> directory below your Drupal root directory. Refer to the online <a href='http://wiki.civicrm.org/confluence//x/mQ8' target='_blank' title='Opens Installation Documentation in a new window.'>Installation Guide</a> for more information.<p>If you want to setup / install a <strong>Standalone CiviCRM</strong> version (i.e. not a Drupal or Joomla module), <a href=\"?mode=standalone\">click here</a>.</p>";
    //    errorDisplayPage( $errorTitle, $errorMsg );
    //}
}

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Windows and IIS installations »
  • File Error when installing on IIS

This forum was archived on 2017-11-26.