Bug-Report: Settings -> Text could be max 255 characters

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
maxx_flea
Posts: 2
Joined: Mon Mar 19, 2007 11:15 pm
Location: Berlin (Germany)
Contact:

Bug-Report: Settings -> Text could be max 255 characters

Post by maxx_flea »

Hi,

I found a Bug and Solution. Here it is...

Bug:
The text-boxes in the settings-site:
The text could be max 255 characters long. This is causes of the database-structure.

Table: "phpmyfaq_faqconfig"
Field: config_value
Type: varchar(255)

Why is this a bad setting?: The info-text for the contact-field is a little bit short for contact-information and the Legal-information (Impressum).

Solution:
To solve it, I'd altered the table. The type of the config_value-field is now "blob".

Maybe this could be useful for the next releases.

Greetings from Berlin,
Maxx

--
http://itzoo.de
(currently using the 2.0.0-alpha)
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

BLOB is a very bad idea, if you want to change that, please use TEXT.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
maxx_flea
Posts: 2
Joined: Mon Mar 19, 2007 11:15 pm
Location: Berlin (Germany)
Contact:

Post by maxx_flea »

Hi Thorsten,

you're right. TEXT is the right selection. (it was late.)

Maybe this could be used for the new releases.
Greetings from Berlin,
Maxx

--
http://itzoo.de
(currently using the 2.0.0-alpha)
Post Reply