Image202 did you try the fix mentioned here for php 4? http://ellislab.com/forums/…
Image202 did you try the fix mentioned here for php 4? http://ellislab.com/forums/…
Yes that fix was applied.
There are 7 entries in the weblog that I’m adding the multi-relation selections to. I updated my template code to show this new relational data, and before any of the entries have been updated with relations, that code I mention below is shown. It’s also shown for entries that have been updated to include relation selections.
{REL[motion_news_relations]hREicj3SREL}
Does that help at all?
I’ve got the same problem as Image202. I’m running PHP5 btw and version 1.0.6 of your extension.
It works for some related entries after I changed some code in your extension in the modify_template method:
foreach($TMPL->related_data as $key => $rel_data) {
if(!isset($$reference->cfields)) continue;
$field_id = $$reference->cfields[$rel_data['field_name']];
...
}
But other related entries on the same page give i.e. {REL[35][vorm_locaties]tJ3dFV96REL}
{REL[motion_relations]5gzIjWWfREL}
Just tried it for the first time. Looks awesome (thanks Mark!), but I am experiencing the same error.
I am using:
PHP 5.2.2 ExpressionEngine 1.6.0 (Build: 20070622) Multi Relationship (v.1.0.6)
Tried the hack (even though I think it’s only for PHP <5.0) and it broke EE. Took out the hack and back to {REL[motion_relations]5gzIjWWfREL}
Do I need to try an EE upgrade or something? Thanks again Mark!
For what it’s worth, the patch posted by arcoiris also worked for me (PHP 4, with the fix). Seems consistently okay…so far.
UPDATE
…except I get this error when posting or editing entries with the multi-relationship field (ellipses inserted):
Warning: Cannot modify header information - headers already sent by (output started at …extensions/ext.multi_relationship.php:500) in …core/core.functions.php on line 724
Warning: Cannot modify header information - headers already sent by (output started at …extensions/ext.multi_relationship.php:500) in …core/core.functions.php on line 296
And I’m now using PHP 5.x - same results (with or without the patch) as with 4 (i.e. the bad output without arcoiris’ patch, the above error with it) .
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.