Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: geo_vote
jakob wrote #329079:
Can you test that out and report back whether the public tag works as desired?
If it does, then I could do some more neatening up on the admin end: the edit panel and list of votes could be brought in line with current Textpattern methods, for example. But if the public tags don’t work properly, that may not be worth pursuing further.
Hi Jakob, thanks for taking a look at this. I can’t test the public tag because I can’t set up a new poll. I receive the following errors (replaced sensitive details with xxx)
User_Error "Table 'xxxxx_txtp744.txpar_geo_vote_meta' doesn't exist"
in /home/xxxxx/public_html/textpattern/lib/txplib_db.php at line 448.
adminErrorHandler()
textpattern/lib/txplib_db.php:448 trigger_error()
textpattern/lib/txplib_db.php:1186 safe_query()
textpattern/lib/txplib_db.php:1034 startRows()
textpattern/plugins/geo_vote/geo_vote.php:381 safe_rows_start()
textpattern/plugins/geo_vote/geo_vote.php:177 geo_vote_meta_list()
textpattern/plugins/geo_vote/geo_vote.php:140 geo_vote_config()
textpattern/lib/txplib_misc.php:1535 geo_vote()
textpattern/index.php:231 callback_event()
This may be a good opportunity for me to learn how plugins work, and create my own, inspired by this one. Ideally it would support multiple answers (using checkboxes rather than radio buttons). It will be a nice challenge. Thanks for your help.
Offline
Re: geo_vote
sambooth74 wrote #329082:
Hi Jakob, thanks for taking a look at this. I can’t test the public tag because I can’t set up a new poll. I receive the following errors (replaced sensitive details with xxx)
User_Error "Table 'xxxxx_txtp744.txpar_geo_vote_meta' doesn't exist"...
I know that was the case with the previous plugin, but is that still the case with the one I sent yesterday? That should install the tables when you install the plugin and if it can’t, it should throw an error during installation.
EDIT: I’ve updated the test version in the previous post to v0.1.6, which I have working in a simple trial with 4.8.5 and the latest PHP.
TXP Builders – finely-crafted code, design and txp
Offline