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 »
  • 3.0 install on Windows 2003 file path problem
Pages: [1]

Author Topic: 3.0 install on Windows 2003 file path problem  (Read 2899 times)

madcat

  • I’m new here
  • *
  • Posts: 4
  • Karma: 1
3.0 install on Windows 2003 file path problem
December 01, 2009, 09:05:21 pm
Environments:
IIS 6 with Ironic Rewritter
civicrm 3.0
drupal 6.14
mysql 5
php 5.2

Install reports successful but give error messages when visiting civicrm home:

include(C:\wwwroot\drupal\sites\default\files\civicrm\templates_c\en_US\en_US\\%%39\397\39732F46%%jquery.tpl.php)

along with many other similar file errors.


anyone has successful experience installing? seems cannot find a solution anywhere...

madcat

  • I’m new here
  • *
  • Posts: 4
  • Karma: 1
Re: 3.0 install on Windows 2003 file path problem
December 02, 2009, 06:25:03 pm
still investigating...

Code: [Select]
file_exists()

is_dir()

both always return false when the given dir is above current home directory of the site.

even with proper permission given to the directory, it is still not working.

not sure whether this behavior can be changed...
« Last Edit: December 02, 2009, 09:20:51 pm by madcat »

madcat

  • I’m new here
  • *
  • Posts: 4
  • Karma: 1
Re: 3.0 install on Windows 2003 file path problem
December 03, 2009, 09:57:06 am
Finally found it.

when a directory is tested with for example file_exists(), both this directory and it's parent directory must be given read permission of user IUSR_MACHINE.

In the case of Smarty in CiviCRM, this kind of permission must be given from drive (e.g. C:\) to the "templates_c" folder.

I put this folder under D:\templates_c by assigning read permission of IUSR_MACHINE to only D:\ but not all its child directories. Not 100% safe but can get away with this right now...

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Windows and IIS installations »
  • 3.0 install on Windows 2003 file path problem

This forum was archived on 2017-11-26.