AnsweredAssumed Answered

Basic Tutorial Three

Question asked by mattousai on Mar 11, 2008
Latest reply on Mar 12, 2008 by mattousai

I have alfresco 2.1 installed with php 5.2.5

I am successfully able to view/use the php content templates and have also completed the first two tutorials.

The third tutorial script will display the name, node-dbid, and store-identifier, but on the fourth line (content) of the properties table, I see the following error:

Catchable fatal error: Method ContentData::__toString() must return a string value in C:\wamp\www\test.php on line 95

line 95 of that file is :

<td><?php echo $value ?></td>

why does the value of that property not return a string? any ideas?