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 »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Installing on shared Windows server, in a subdirectory: errors abound!
Pages: [1]

Author Topic: Installing on shared Windows server, in a subdirectory: errors abound!  (Read 955 times)

bixgomez

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
Installing on shared Windows server, in a subdirectory: errors abound!
March 30, 2010, 03:51:49 pm
Hello!  I have successfully installed CiviCRM on a LAMP server, but on a Windows server things are quite different.  I am working with a very patient support team at Hostek, my shared host provider.  We just got through the initial hurdle of assigning proper permissions to the /sites/default/ directory, and now a host of new errors have arisen.

If you visit this page, you will see the tip of the iceberg:  

http://www.sca-roadside.org/site/civicrm

I won't list all of the errors here, as there are a vast many of them, but I just want to know if there are any SPECIFIC things to watch out for when installing on a Win server, AND/OR when installing in a subdirectory (/site/, as you can see).

Any help will be greatly appreciated, as I am at the point of tears.

Thanks!

~ Richard

P.S. if it would help, my phpinfo is here:  http://www.sca-roadside.org/phpinfo.php ???

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Installing on shared Windows server, in a subdirectory: errors abound!
April 01, 2010, 02:02:21 am
Quote from: bixgomez on March 30, 2010, 03:51:49 pm
If you visit this page, you will see the tip of the iceberg:  

http://www.sca-roadside.org/site/civicrm

Hm, we don’t have much CiviCRM-on-Windows experience, but I’d start with checking the directories set in civicrm.settings.php – especially whether the slashes are in the right direction (backslashes on Windows). ‘problem creating directory 'D:/home/sca-roadside.org'’ looks very wrong (the directory is there, but I think the attempt should be about creating D:\\home\sca-roadside.org).

Quote
P.S. if it would help, my phpinfo is here:  http://www.sca-roadside.org/phpinfo.php ???

Not sure whether it’s any clue, but this page does seem to start with some RTF garbage (also, check the HTML source).
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

joshalot

  • Guest
Re: Installing on shared Windows server, in a subdirectory: errors abound!
April 29, 2010, 05:24:08 pm
have a look at: http://drupal.org/node/144443

Quote
I had some trouble installing civicrm and found a thousand people with the same kind of phpwarning but no solution.
My problem was a simple slash-too-many in the civicrm.settings.php
I had:
define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/files/civicrm/templates_c' );
where it should be:
define( 'CIVICRM_TEMPLATE_COMPILEDIR', 'files/civicrm/templates_c' );


Check your config, It looks like you have some extraneous slash issues where the path should start with a directory name not a slash.
Once you have done that, if it still doesnt work, you may need to escape your slashes, etc directory\\foo\\bar.
When using things like PHP on windows, the \ is an escape char.   In unix, paths would have a forward slash which is fine.  On windows where paths use backslash, this can cause problems without escaping.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Installing on shared Windows server, in a subdirectory: errors abound!

This forum was archived on 2017-11-26.