Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
iwpt_load_dcr
lucifer
hi,
i am trying to load the DCR this way.
$alp =iwpt_load_dcr('y:/default/main/Novant/WORKAREA/WEB/Web/NHTR communication boards/communicationBoards/lll.dcr','docroot');
This is throwing a error message ...
<ERROR>
Could not load dcr: ./default/main/Novant/WORKAREA/WEB/Web/NHTR communication bo
ards/communicationBoards/lll.dcr
</ERROR>
could somebody help out...
i am using TST 5.0.2. on windows 2000 ASD
Find more posts tagged with
Comments
Migrateduser
well... first thing first. is 'y:/default/main/Novant/WORKAREA/WEB/Web/NHTR communication boards/communicationBoards/lll.dcr' an actual dcr? The path of this file is a little odd for a dcr as "templatedata" is not in the path.
The second issue may have to do with the spaces in the directory path. you might want to try changing the spaces in the directory to underscores or some other character to see if this is the proble. iwpt_compile.ipl is a perl program and may have problems. interpreting the path with spaces.
lucifer
Web id doing the job of the templatedata out there...
Adam Stoller
Even so - you're still missing the 'data' directory.
FWIW: I'd recommend against using '.dcr' as an extension for DCRs - I believe that extension is already used for 'flash' files of some sort - and might cause problems somewhere down the line...
--fish
(Interwoven, Curriculum Development)