Page broken after updating CGUserDirectory

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am

Page broken after updating CGUserDirectory

Post by urheat »

Everything worked fine until I updated
CGUserDirectory 1.4
FrontEndUsers 1.21.16
CGExtensions 1.35
CGSimpleSmarty 1.6.2
Uploads 1.14.4
(CMSMS is 1.11.7, PHP 5.3.26)


If I search user and search finds something, the result page is broken. The source code starts:
</__body>
<div id="ncleanblue">

There is an error message in the bottom of the page:

Code: Select all

Fatal error: Call to protected method CGUserDirectory::_smarty_getpropertysummary_url() from context '' in /html/tekijadb/tmp/templates_c /CGUserDirectory^ac69684c16de39b421bf9566272cf53b2cc8f802.module_db_tpl.CGUserDirectory; summary_Sample.php on line 155
You can test this here: http://aatosmedia.fi/tekijadb/index.php ... ory-search

If the search doesn't find anything, the page is fine.

Same goes with the "{CGUserDirectory prop="sijainti" uselike=1 propval="a%"}" -tag. If there something to list, page is broken.

System Information is fine, though "Test Curl Version version 7.15.5, minimum recommended version is 7.19.7"

Nothing in Admin log.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Page broken after updating CGUserDirectory

Post by staartmees »

always clear the cache of the website after an upgrade.
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am

Re: Page broken after updating CGUserDirectory

Post by urheat »

staartmees wrote:always clear the cache of the website after an upgrade.
Thanks, but done that. No effect.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: Page broken after updating CGUserDirectory

Post by Jo Morg »

urheat wrote:There is an error message in the bottom of the page:

Code: Select all

Fatal error: Call to protected method CGUserDirectory::_smarty_getpropertysummary_url() from context '' in /html/tekijadb/tmp/templates_c /CGUserDirectory^ac69684c16de39b421bf9566272cf53b2cc8f802.module_db_tpl.CGUserDirectory; summary_Sample.php on line 155
The error seems to point to the summary template you are using with CGUserDirectory. Something there appears to be triggering the error. Check the template tags against the module help.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am

Re: Page broken after updating CGUserDirectory

Post by urheat »

Jo Morg wrote:
urheat wrote:There is an error message in the bottom of the page:

Code: Select all

Fatal error: Call to protected method CGUserDirectory::_smarty_getpropertysummary_url() from context '' in /html/tekijadb/tmp/templates_c /CGUserDirectory^ac69684c16de39b421bf9566272cf53b2cc8f802.module_db_tpl.CGUserDirectory; summary_Sample.php on line 155
The error seems to point to the summary template you are using with CGUserDirectory. Something there appears to be triggering the error. Check the template tags against the module help.
Thanks Jo Morg!

I'm using sample templates. I even reset the templates from CGUserDirectory > Default Templates > Reset to factory defaults

I was wondering that if this error has to do something with Multi Select List, cause the if you check the broken page, the error message appears after first Multi Select List information:
http://aatosmedia.fi/tekijadb/index.php ... eturnid=17

Here is the information of current user (that page ain't broken):
http://aatosmedia.fi/tekijadb/index.php ... eturnid=17
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Page broken after updating CGUserDirectory

Post by calguy1000 »

It's a bug.

I'll be releasing a new version in the next day or two.
you need to change that function from protected to public in CGUserDirectory.module.php
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 “Modules/Add-Ons”