4 of 11
4
Multi Relation
Posted: 05 August 2007 02:18 PM   [ Ignore ]   [ # 55 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

@jacob is this still not working for you?  i’ve implemented it on 1.6 and php5 a few times and it seems to work Ok.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 05 August 2007 07:35 PM   [ Ignore ]   [ # 56 ]  
Grad Student
Avatar
Rank
Total Posts:  58
Joined  02-02-2006

@Mark,

Honestly, I got to a point where I just disabled the extension and moved my data to another day of doing things (multiple fields, bleechh). I haven’t tried it in a while, so I can’t say if it is working or not.

Hopefully, I’ll have a chance to try again soon, and I will keep you posted. Thanks for checking on this.

Profile
 
 
Posted: 05 August 2007 08:07 PM   [ Ignore ]   [ # 57 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

Thanks, let me know how it goes.  I missed your last post and only just happened upon it today.  I’ll look forward to any updates.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 08 August 2007 08:56 PM   [ Ignore ]   [ # 58 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1709
Joined  03-26-2006

I couldn’t exactly find it in this thread, but what is new about 1.0.5? The last version I had was 1.0.4.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 09 August 2007 01:51 AM   [ Ignore ]   [ # 59 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  130
Joined  03-29-2006

I’m running ExpressionEngine 1.6.0 - Build: 20070627 with PHP version 4.4.4 and got this error. I applied the hack to mod.weblog.php as well.

Any clue?

Notice: Undefined offset: 1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469

Notice
: Undefined index: field_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476

Notice
: Undefined offset: 1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469

Notice
: Undefined index: field_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476

Notice
: Undefined offset: 1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469

Notice
: Undefined index: field_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476

Notice
: Undefined offset: 1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469

Notice
: Undefined index: field_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476

Notice
: Undefined offset: 1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469

Notice
: Undefined index: field_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476

Notice
: Undefined offset: 1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469

Notice
: Undefined index: field_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476

Notice
: Undefined offset: 1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469

Notice
: Undefined index: field_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476

Notice
: Undefined offset: 1 in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 469

Notice
: Undefined index: field_id_ in /home/image202/public_html/yo/extensions/ext.multi_relationship.php on line 476

 Signature 

Adam Stacoviak
Handcrafted

Profile
 
 
Posted: 09 August 2007 05:54 AM   [ Ignore ]   [ # 60 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

@Image202 —I think version 1.0.6 should fix the notices you’re seeing.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 09 August 2007 10:43 AM   [ Ignore ]   [ # 61 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  130
Joined  03-29-2006

Thanks for the quick reply Mark!

That certainly took care of the errors, but now I’m seeing this. I followed the same steps as before, implemented the hack, and enabled the extension.

{REL[motion_relations]5gzIjWWfREL}

 Signature 

Adam Stacoviak
Handcrafted

Profile
 
 
Posted: 09 August 2007 10:57 AM   [ Ignore ]   [ # 62 ]  
Summer Student
Avatar
Total Posts:  23
Joined  01-04-2006

Mark this extension is wonderful.

And the update fixed a little problem i had yesterday.

The problem was an error message
“Notice: Undefined variable: field_type in /usr/home/web/user/system/cp/cp.publish_ad.php on line 7311”

again,

Thanks

Profile
 
 
Posted: 09 August 2007 11:01 AM   [ Ignore ]   [ # 63 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

Image202 did you try the fix mentioned here for php 4? http://expressionengine.com/forums/...

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 09 August 2007 11:44 AM   [ Ignore ]   [ # 64 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  130
Joined  03-29-2006
Mark Huot - 09 August 2007 11:01 AM

Image202 did you try the fix mentioned here for php 4? http://expressionengine.com/forums/...

Yes that fix was applied.

 Signature 

Adam Stacoviak
Handcrafted

Profile
 
 
Posted: 09 August 2007 11:46 AM   [ Ignore ]   [ # 65 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  130
Joined  03-29-2006

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?

 Signature 

Adam Stacoviak
Handcrafted

Profile
 
 
Posted: 09 August 2007 12:01 PM   [ Ignore ]   [ # 66 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

and if you select a relation does the code still show up?

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 09 August 2007 12:02 PM   [ Ignore ]   [ # 67 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  130
Joined  03-29-2006

Yes

 Signature 

Adam Stacoviak
Handcrafted

Profile
 
 
Posted: 09 August 2007 01:05 PM   [ Ignore ]   [ # 68 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  130
Joined  03-29-2006

If you’re open I could give you access to the install to trouble shoot.

I’m pausing development till I hear back from you, so I can roll back the db in case this doesn’t get sorted out in time.

 Signature 

Adam Stacoviak
Handcrafted

Profile
 
 
Posted: 14 August 2007 07:00 AM   [ Ignore ]   [ # 69 ]  
Summer Student
Total Posts:  1
Joined  06-29-2007

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}

Profile
 
 
Posted: 14 August 2007 04:57 PM   [ Ignore ]   [ # 70 ]  
Grad Student
Avatar
Rank
Total Posts:  77
Joined  05-10-2006

{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!

Profile
 
 
Posted: 22 August 2007 12:32 AM   [ Ignore ]   [ # 71 ]  
Summer Student
Total Posts:  29
Joined  10-10-2002

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) .

Profile
 
 
Posted: 31 August 2007 06:27 AM   [ Ignore ]   [ # 72 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1097
Joined  03-22-2006

Hmm, not sure what changes were made in 106 of the extension, but on php 4.4.4 (ee 1.6) with either the weblog hack applied, or not, no relationships are showing. Neither are the {REL[xxx]xxxxxxxxxxx} tags.

 Signature 

(a.k.a the_butcher)

Profile
 
 
   
4 of 11
4
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64549 Total Logged-in Users: 30
Total Topics: 81144 Total Anonymous Users: 19
Total Replies: 436548 Total Guests: 162
Total Posts: 517692    
Members ( View Memberlist )