Hi,
I had previously disabled the older, original Tagging plugin as instructed then I downloaded, uploaded, installed and activated this one. Reloading my board homepage, which contains a couple of categories and a test posts, gave an error.
I read through the other question and followed your database advice. I disabled and removed this plugin, deleted the tagcategorycount table and removed the categoryID column in the tagdiscussion table. Re-downloaded and installed this plugin, but I still got an error.
So, I changed my config file to print out the error and got this:
Fatal Error in TagModule.GetData();
Erroneous CategoryID
The error occurred on or near: /home/(notimportant)/public_html/(notimportant)/plugins/Tagging/class.tagmodule.php
76: //JP: Case 2) Getting tags for one specific category
77: case "Categories": //JP: Note: Case Sensitive!
78: if ($this->_CategoryID == "") {
79: throw new exception (T("Erroneous CategoryID"));
80: }
81:
82: $this->_TagModuleTitle = (T("All Tags in this Category"));Any ideas what could be causing this and how I could fix it?
Thanks!
0 · ·
Comments
- Spam
- Abuse
0 · Insightful Awesome LOL ·You can download fixed plugin
Here
I also changed name and all related code, so you no longer need to overwrite existing plugin.
Remember top enable it, as enabling setting is now different from original tagger.
On categories list it now output all tags. Seems reasonable.
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·New plugin just can't reach old exception mentioned here.
Remember that it is no longer called Tagging!
So, remove completely Tagging, and install this one.
I think that oou are just enabling old version :-)
- Spam
- Abuse
0 · Insightful Awesome LOL ·I think that problem is in the letter case of GDN.discussion instead of GDN.Discussion
- Spam
- Abuse
0 · Insightful Awesome LOL ·Go to phpMyAdmin and delete tagging table.
Check again later.
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·So, we need to change some other code that work here.
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·{"Code":256,"Exception":"Table 'b47814_dfdev.GDN_discussion' doesn't exist|Gdn_Database|Query|select CategoryID\nfrom GDN_discussion discussion\nwhere DiscussionID = :DiscussionID"}
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·Step 2: Pushing the button. — http://d.pr/ymsP
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·Problem is not good code quality and no necessary comments.
I'll try to compare it to original plugin.
- Spam
- Abuse
0 · Insightful Awesome LOL ·Problem was in wrong table name using all low case letters.
Plus reenabled javascripts for autocompletion (look in code for comments to disable them again, if you want).
Get it here
- Spam
- Abuse
0 · Insightful Awesome LOL ·I spent a huge amt. of time trying to get this plugin to work. I hope this helps someone: I worked with both the orig. Tagging plugin and the revision posted by @tester13 above. I had no trouble installing on a fresh install of 2.0.18.4 on localhost (xampp) but simply could not get beyond the bonk on my live server.
I finally drilled down on every database detail between the two installs and found that my auto_increment value in my gdn_tag table was different. I updated to a value of 4 as in my fresh install. Success finally achieved.
- Spam
- Abuse
0 · Insightful Awesome LOL ·Thanks @plymplan I'll see if I can add it to the VanillaWiki documentation site somewhere :-)
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
0 · Insightful Awesome LOL ·I believe I have provided a temporary fix to this. You can download the 'tweaked' plugin: http://askaboutapple.com/uploads/tagging.zip
I have it functioning on my site (http://askaboutapple.com) so feel free to take a look. The problem is simply poor coding. But for good measure follow the steps below..
1) Ensure you have Vanilla's default Tagging system installed. 2) Deactivate then reactivate Vanilla's Default system. 3) Override the files in /plugins/taggings/ with the .Zip ones.
It should function correctly. The problem was down to very poor coding. Capital letters, SQL Functions etc. I have basically patched them.
Let me know how you get on.
- Spam
- Abuse
1 · Insightful 1Awesome LOL ·