Prblem With Redirect UDT

General project discussion. NOT for help questions.
Post Reply
chamara
Forum Members
Forum Members
Posts: 19
Joined: Mon Nov 19, 2007 3:21 am

Prblem With Redirect UDT

Post by chamara »

Hi All,

I have a UDT called redirect. I got the code from following url
http://forum.cmsmadesimple.org/index.ph ... l#msg71295

When I use this UDT with {redirect to='test'} I got the following error.

Fatal error: Call to a member function GetContent() on a non-object in C:\xampp\htdocs\cmsms\lib\content.functions.php(673) : eval()'d code on line 6


How can I solve this problem? Do I need additional modules for this?

Thanks
Hansaka
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Prblem With Redirect UDT

Post by RonnyK »

Hansaka,

is the page, you're pointing to "Active" and is it the name of the page_alias, as it shows on the options-tab of the page.

Ronny
chamara
Forum Members
Forum Members
Posts: 19
Joined: Mon Nov 19, 2007 3:21 am

Re: Prblem With Redirect UDT

Post by chamara »

Hi Ronny,

I checked the page. Its Active and match the page_alias but the problem still there.

Thanks
Hansaka
Last edited by chamara on Tue Dec 04, 2007 5:13 am, edited 1 time in total.
Pierre M.

Re: Prblem With Redirect UDT

Post by Pierre M. »

Hello,

are you running the latest official 1.2.2 ? previous 1.2.x had problems with UDTs.

Pierre M.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Prblem With Redirect UDT

Post by calguy1000 »

I've added a slightly modified version of that udt with some more error handling that should at least tell you what's going on.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “General Discussion”