2

I have a little problem with using the php include() within user defined tags. like in cmsms manual described you can add php code via user defined tags into your cmsms page. I tried hard, but it is not working. This is the code I just wanna add:

<?php
    $site="true";
    include("/home/www/web23/html/wbt/index.php");
?>

I get this error:

Warning: include(wp.php) [function.include]: failed to open stream:
   No such file or directory in 
    C:\xampp\htdocs\cmsms\lib\classes\class.usertagoperations.inc.php(260) :
     eval()'d code on line 1 
Warning: include() [function.include]: Failed opening 'wp.php' for inclusion 
   (include_path='.;C:\xampp\php\PEAR')
     in C:\xampp\htdocs\cmsms\lib\classes\class.usertagoperations.inc.php(260) :
      eval()'d code on line 1 
Mat
  • 202,337
  • 40
  • 393
  • 406
vishTech
  • 21
  • 3

1 Answers1

0

try deleting /home/www/

It shouldn't make any difference. At least in windows it doesn't

Smamatti
  • 3,901
  • 3
  • 32
  • 43
tgb
  • 91
  • 1
  • 7