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' );
rookie mistake.
Maybe it will help someone else as rookie-as-me :-)
greets,
ecuadorbob
http://www.hackeschermarkt.de/
http://www.oranienburgerstrasse.de/
p.s.:
define( 'CIVICRM_UF' , 'Drupal' );
define( 'CIVICRM_UF_VERSION' , '5.1' );
define( 'CIVICRM_UF_URLVAR' , 'q' );
define( 'CIVICRM_UF_DSN' , 'mysql://root@localhost/civicrm2' );
define( 'CIVICRM_UF_USERSTABLENAME', 'users' );
define( 'CIVICRM_MYSQL_VERSION', 5.0 );
define( 'CIVICRM_DSN' , 'mysql://root@localhost/civicrm2' );
define( 'CIVICRM_MYSQL_PATH', 'C:/Program Files/xampplite/mysql/bin' );
global $civicrm_root;
$civicrm_root = 'C:/Program Files/xampplite/htdocs/civicrm2/modules/civicrm/';
define( 'CIVICRM_TEMPLATE_COMPILEDIR', 'files/civicrm/templates_c' );
define( 'CIVICRM_UF_BASEURL' , 'http://localhost/civicrm2/' );