Probles with table for freetag plugin

Creating and modifying plugins.
Post Reply
Sblanco
Regular
Posts: 10
Joined: Sat Jul 02, 2005 11:58 am
Location: Málaga (Spain)
Contact:

Probles with table for freetag plugin

Post by Sblanco » Fri Jul 08, 2005 11:09 am

Hi again:

I've installed event_Freetag plugin and get this error when I write a new entrey:
SELECT tag, count(tag) as total
FROM serendipity_entrytags
GROUP BY tag
ORDER BY tag

/ Table 'wp_sblanco.serendipity_entrytags' doesn't exist

I told this to my server admin, and asked him to create the table 'wp_sblanco.serendipity_entrytags' as I don't know how to do it, and he answerd me he needs to know the Fields, and the type of fields. May be I didn't traslate well, but I hope you know what I mean.

Thanks in advance :)

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Probles with table for freetag plugin

Post by garvinhicking » Fri Jul 08, 2005 2:52 pm

How did you install the freetag plugin and with which version? It usually creates the needed table automatically.

Which database and version are you using?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

Guest

Post by Guest » Fri Jul 08, 2005 4:16 pm

I installed serendipity freetag from a folder called aditional plugins, and, because It didn't worked, I downloaded freetag 2.1.b.2 from somewhere this forum.

I installed it uploading the files to the folder plugins

I'm not sure where to find my version of serendipity, but I downloaded maybe 15 days ago, so it must be the last one.

About my database, I'm not sure of what you are asking me. My database is wp_sblanco

Thank you for your kindkly patient Garvin.

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Fri Jul 08, 2005 5:08 pm

Hm, the freetag plugin should work properly if installed from our additional_plugins module (you need to fetch the whole serendipity_event_freetag directory with all files). You should not use the version from the forums, I believe it is outdated.

About the database, I meant: Are you using MySQL? And which version?

Try this SQL code (execute it via phpMyAdmin or so)

Code: Select all

CREATE TABLE serendipity_entrytags (entryid int(10) not null, tag varchar(50) not null, primary key (entryid, tag));


Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

Sblanco
Regular
Posts: 10
Joined: Sat Jul 02, 2005 11:58 am
Location: Málaga (Spain)
Contact:

Post by Sblanco » Fri Jul 08, 2005 5:19 pm

thank you very much garvin, when you told about version I though It could be a problem with that, so I unistall the old one and installed a new one downloades, and VOILA, I've got tags


Better for me that I'm not able to manage sql or phpmyamin ;)

thank you again :)

Post Reply