-
MorganL
-
Topic Author
-
Offline
-
Platinum Member
-
-
Posts: 438
-
Thank you received: 53
-
-
-
-
-
|
Notice: Undefined property: stdClass::$list in F:\webs\dev.domain.info\administrator\components\com_xxxxx\views\users\tmpl\default_filters.php on line 113
In sandbox this works fine, but when I build, download and install into a vanilla J2.5 installation the above error comes up in my filters
They all seem to be a filter attached to a certain table.. which I am about to revisit, but the fact it all works in sandbox sent out alarm bells
Config choices
Jquery
Condensed
Maximum
No
Model
Max 40 seconds
Morgan Leecy MCSE
Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla
|
Please Log in or Create an account to join the conversation.
|
-
JoomGuy
-
-
Offline
-
Moderator
-
-
Joomla Enthusiast, Lover of Cooking
-
Posts: 1115
-
Thank you received: 195
-
-
-
-
-
|
What's on line 110-113 of ...administrator\components\com_xxxxx\views\users\tmpl\default_filters.php ?
Do you have any other info in the message?
Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
|
Please Log in or Create an account to join the conversation.
|
-
MorganL
-
Topic Author
-
Offline
-
Platinum Member
-
-
Posts: 438
-
Thank you received: 53
-
-
-
-
-
|
<div class='filter filter_branch'>
<label class='filter' for="filter_branch"><?php echo(JText::_("XXXX_JSEARCH_BRANCH")); ?> :</label>
<?php echo JDom::_('html.form.input.select', array(
'dataKey' => 'filter_branch',
'dataValue' => (string)$this->filters->value,
'list' => $this->filters->list,
'labelKey' => '',
'nullLabel' => "XXXX_FILTER_NULL_BRANCH",
'submitEventName' => 'onchange'
));
?>
</div>
I have removed the filter for now as it is pretty much a 'improving quality of life, extra little touch' filter that is not essential for version one of the app.. mainly because additional branches is going to be introudced later, I will just building in all the code now
Morgan Leecy MCSE
Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla
|
Please Log in or Create an account to join the conversation.
|
-
MorganL
-
Topic Author
-
Offline
-
Platinum Member
-
-
Posts: 438
-
Thank you received: 53
-
-
-
-
-
|
A fix isnt essential, dont give it too much time.. but I just want admin to know that between Sandbox (working perfect), building and installing the component.. something has snapped on the filters
Morgan Leecy MCSE
Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla
|
Please Log in or Create an account to join the conversation.
|
-
JoomGuy
-
-
Offline
-
Moderator
-
-
Joomla Enthusiast, Lover of Cooking
-
Posts: 1115
-
Thank you received: 195
-
-
-
-
-
|
I've not come across this one... Is the filter functioning properly despite the notice?
Just flagging for @admin...
G
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
|
Please Log in or Create an account to join the conversation.
|
-
JoomGuy
-
-
Offline
-
Moderator
-
-
Joomla Enthusiast, Lover of Cooking
-
Posts: 1115
-
Thank you received: 195
-
-
-
-
-
|
The main difference will be that you are not suppressing warning messages in your environment. That's all...
Providing that your filters are working ok, I wouldn't worry though.
Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The following user(s) said Thank You: MorganL
|
Please Log in or Create an account to join the conversation.
|
-
admin
-
-
Offline
-
Administrator
-
-
Chef
-
Posts: 3711
-
Thank you received: 986
-
-
-
-
|
It always worked good here.
You have a problem. labelKey is empty as well.
It means that you should have dropped the node, not the Label behind it.
I keep in opened tickets because it should at least load the list and display the id numer (fallback)
Coding is now a piece of cake
The following user(s) said Thank You: MorganL
|
Please Log in or Create an account to join the conversation.
|
-
MorganL
-
Topic Author
-
Offline
-
Platinum Member
-
-
Posts: 438
-
Thank you received: 53
-
-
-
-
-
|
OK I supressed errors and the message DID disappear.. nice
However even though I have created some branches, the filter list is empty on the downloaded component
Morgan Leecy MCSE
Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla
|
Please Log in or Create an account to join the conversation.
|
-
JoomGuy
-
-
Offline
-
Moderator
-
-
Joomla Enthusiast, Lover of Cooking
-
Posts: 1115
-
Thank you received: 195
-
-
-
-
-
|
What kind of field are you using?
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
|
Please Log in or Create an account to join the conversation.
|
-
MorganL
-
Topic Author
-
Offline
-
Platinum Member
-
-
Posts: 438
-
Thank you received: 53
-
-
-
-
-
|
OK
1) Surpressed errors
2) Removed table from Foregin key and readded
3) Made sure label and null value was set
Rebuilt, reinstalled, all seems OK
Morgan Leecy MCSE
Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla
|
Please Log in or Create an account to join the conversation.
|
-
MorganL
-
Topic Author
-
Offline
-
Platinum Member
-
-
Posts: 438
-
Thank you received: 53
-
-
-
-
-
|
um.. also code is COMPLETELY different
<div class='filter filter_branch'>
<label class='filter' for="filter_branch"><?php echo(JText::_("XXX_JSEARCH_BRANCH")); ?> :</label>
<?php
$filter = $this->filters;
echo JDom::_('html.form.input.ajax', array(
'dataKey' => 'filter_branch',
'dataValue' => $filter->values[0],
'ajaxContext' => 'xxx.branch.ajax.filter7',
'ajaxVars' => array('values' => $filter->values)
));
?>
</div>
Morgan Leecy MCSE
Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla
|
Please Log in or Create an account to join the conversation.
|
-
JoomGuy
-
-
Offline
-
Moderator
-
-
Joomla Enthusiast, Lover of Cooking
-
Posts: 1115
-
Thank you received: 195
-
-
-
-
-
|
So all is well? Can I close this?
The change in the field could be due to you adding the ajax parameter in the filter - did you check that checkbox?
Thanks for posting!
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The following user(s) said Thank You: MorganL
|
Please Log in or Create an account to join the conversation.
|
-
MorganL
-
Topic Author
-
Offline
-
Platinum Member
-
-
Posts: 438
-
Thank you received: 53
-
-
-
-
-
|
Morgan Leecy MCSE
Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla
|
Please Log in or Create an account to join the conversation.
|
-
JoomGuy
-
-
Offline
-
Moderator
-
-
Joomla Enthusiast, Lover of Cooking
-
Posts: 1115
-
Thank you received: 195
-
-
-
-
-
|
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The following user(s) said Thank You: admin
|
Please Log in or Create an account to join the conversation.
|
Time to create page: 0.090 seconds
|