Problems writhing FAQ quetions containing the "-"

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
lukats
Posts: 4
Joined: Fri Apr 27, 2007 11:55 am
Location: London, UK

Problems writhing FAQ quetions containing the "-"

Post by lukats »

Hello.

I am currently experiencing a problem where if I try to create a new 'FAQ Record' with the character " - " (normal dash/minus sighn) and after saving the record, the text after and including the " - " is truncated (deleted?).

Can someone please tell me what is going wrong?

Thanks in advance,

P :D
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

which version do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
lukats
Posts: 4
Joined: Fri Apr 27, 2007 11:55 am
Location: London, UK

Post by lukats »

Thorsten wrote:Hi,

which version do you use?

bye
Thorsten
Hello,

Thanks for the relatively swift reply,

I'm on 1.6.8.

if an upgrade is required, so be it, but I'd honestly rather not have the hassle of contacting my support in Germany to get it sorted.

Yours hopefully,

P
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I tested it on 1.6.11 and it works on my installation. Which database system do you use?

btw, you should update to 1.6.11 due to security reasons.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
lukats
Posts: 4
Joined: Fri Apr 27, 2007 11:55 am
Location: London, UK

Post by lukats »

Hello,

I have spotted where the problem lies.

It looks like the "-" taken from MS Word was throwing the the software, somewhat.

Could you please see what happens on your version when you try using the following string (copied and pasted into the phpMYFAQ)?

What do the codes –66, 0, -77 and –99 stand for? -

IT returns me with "What do the codes" when I revert back to the subject heading.

However, replacing the initial "–" (taken from word) with a manually typed "-" (do you see the difference?) solves the issue.

Perhaps it's a problem with PHP as opposed to phpMYFAQ :?

Your thoughts would be appreciated.

Kind regards,

P
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

it works here copied from the forum. Can you send me the word file via e-mail, so I can test it here? Which browser do you use?

Thanks a lot!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
lukats
Posts: 4
Joined: Fri Apr 27, 2007 11:55 am
Location: London, UK

Post by lukats »

Email sent :)

Cheers again.

P
Post Reply