Module: Topic Poll
Posted by Maurice Makaay
Topic Poll issue: undefined topic_poll June 17, 2010 08:29PM |
Registered: 14 years ago Posts: 753 |
I switched a forum back from accepting polls. Now, I pick up theses event logs. The following error message appears once for each thread-starter. I use the "Embed" modules. Thanks for a hint!
Language: PHPMessage: PHP notice: Undefined index: topic_poll PHP notice generated at /var/tmp/tpl-emerald_neighborship-list-6e5d36c254118bb7a5d3e1a525a7dfee.php-stage2:93 Back trace: Function include called at /var/tmp/tpl-emerald_neighborship-list-6e5d36c254118bb7a5d3e1a525a7dfee.php:7 ---- Function include called at {path to Phorum}/common.php:1466 ---- Function phorum_output called at {path to Phorum}/list.php:596
June 17, 2010 08:57PM |
Moderator Registered: 16 years ago Posts: 1,301 |
korsakov, there is a very simple three step process for getting your problems solved:
Maurice, my apologies for going a bit off-topic on your thread.
Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
- Identify the module causing the problem (often found in the error message or with the Event Logging module).
- Visit the module's forum post (often linked from the Modules page in the Admin section) and start a reply to that post.
- In you reply, post a detailed description of your problem, including any errors messages exactly as they are displayed.
Maurice, my apologies for going a bit off-topic on your thread.
Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Topic Poll issue: undefined topic_poll June 17, 2010 09:14PM |
Registered: 14 years ago Posts: 753 |
I believe I found the problem. I checked out the different image viewers of the "Embed Images" module probably causing a conflict. After clearing the cache the issue was resolved. Even with the help of the (fantastic) Event module, sometimes it is not immediately clear where to look first.
In the past I was occasionally criticized when I posted issues under the according module thread. Of course, I want to play according the rules.
Thanks for your response!
In the past I was occasionally criticized when I posted issues under the according module thread. Of course, I want to play according the rules.
Thanks for your response!
June 17, 2010 09:19PM |
Admin Registered: 19 years ago Posts: 8,532 |
No problem Joe, I fully subscribe your message.
Furthermore, I'd like to state that I won't accept any from korsakov's bug reports on modules, unless these can be reproduced on a clean, unmodified Phorum installation. With all the coding that I've seen, I am not confident at all that problems would not be caused by the coding skills.
Korsakov: what would help is if you'd actually include some code in your post. Line numbers in compiled template files are useless. I told you before: I am not psychic.
What is on line 93 of /var/tmp/tpl-emerald_neighborship-list-6e5d36c254118bb7a5d3e1a525a7dfee.php-stage2 ???
Did you modify your list template to get some topic poll related information in there? The module does not require changes to the list.tpl to function,
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Furthermore, I'd like to state that I won't accept any from korsakov's bug reports on modules, unless these can be reproduced on a clean, unmodified Phorum installation. With all the coding that I've seen, I am not confident at all that problems would not be caused by the coding skills.
Korsakov: what would help is if you'd actually include some code in your post. Line numbers in compiled template files are useless. I told you before: I am not psychic.
What is on line 93 of /var/tmp/tpl-emerald_neighborship-list-6e5d36c254118bb7a5d3e1a525a7dfee.php-stage2 ???
Did you modify your list template to get some topic poll related information in there? The module does not require changes to the list.tpl to function,
Maurice Makaay
Phorum Development Team



Re: Topic Poll issue: undefined topic_poll June 18, 2010 01:13AM |
Registered: 14 years ago Posts: 753 |
It is correct that I display poll results on the list page in order to save time for users. The problems started when I checked out the options within the "Embed Images" module and switched back a forum from accepting poll requests. It was not possible for me to make a guess which part of the code might have caused the problems. Clearing the cache resolved the problems eventually. Sorry for taking your time.
Re: Module: Topic Poll July 07, 2010 12:02PM |
Registered: 14 years ago Posts: 753 |
I am wondering whether there was a performance gain if the data of this module were stored in the according poll-allowing forum settings vs. the main settings. I expect a significant amount of polls (just one pre-defined type) for my Phorum. The future performance worries me when the application will be loading a huge amount of data not being relevant to most users.
July 07, 2010 01:24PM |
Admin Registered: 19 years ago Posts: 8,532 |
Can you describe me how you think that the topic poll module is storing its data? Additionally, can you tell me why exactly that would be a performance issue?
I have no idea what you are suggesting and I don't feel like looking into it either. I have the poll module on my own site and I have no problems with it at all. Case closed.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
I have no idea what you are suggesting and I don't feel like looking into it either. I have the poll module on my own site and I have no problems with it at all. Case closed.
Maurice Makaay
Phorum Development Team



Re: Module: Topic Poll July 07, 2010 01:32PM |
Admin Registered: 20 years ago Posts: 9,240 |
Re: Module: Topic Poll July 07, 2010 02:21PM |
Registered: 14 years ago Posts: 753 |
Re: Module: Topic Poll July 12, 2010 05:07AM |
Registered: 13 years ago Posts: 4 |
Sorry, only registered users may post in this forum.