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
Prblem With Redirect UDT
Re: Prblem With Redirect UDT
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
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
Re: Prblem With Redirect UDT
Hi Ronny,
I checked the page. Its Active and match the page_alias but the problem still there.
Thanks
Hansaka
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.
Re: Prblem With Redirect UDT
Hello,
are you running the latest official 1.2.2 ? previous 1.2.x had problems with UDTs.
Pierre M.
are you running the latest official 1.2.2 ? previous 1.2.x had problems with UDTs.
Pierre M.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Prblem With Redirect UDT
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.
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.