Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Question Backslash Problem

More
14 years 3 months ago #116947 by camsarim
Backslash Problem was created by camsarim
I am using Kunena 1.7.1 and Joomla 1.7 on my new web site.

Whenever user use "" or '' in the text, it adds a "\" after the " or '.
I have searched a bit and have found out that this might be related with the "magic quotes" function in PHP, which I do not know what it means. I tried to turn it off as instructed in PHP support site (using .htaccess) bu no luck. Problem is still going on.

On my other sites I have been using 1.7.1 and Joomla 1.5.25 and have not encountered the problem.

Maybe someone will know what is going on.

Thanks

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #117018 by Matias
Replied by Matias on topic Re: Backslash Problem
You have probably magic quotes enabled in PHP configuration -- they need to be disabled in Joomla 1.7+.
The following user(s) said Thank You: camsarim

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #117068 by camsarim
Replied by camsarim on topic Re: Backslash Problem
It is disabled and problem is still going on

What should I do next?

_______________________________________
Setting Value

Safe Mode Off
Open basedir None
Display Errors On
Short Open Tags On
File Uploads On
Magic Quotes Off
Register Globals Off
Output Buffering On
Session Save Path /tmp
Session Auto Start 0
XML Enabled Yes
Zlib Enabled Yes
Native ZIP Enabled No
Disabled Functions None
Mbstring Enabled Yes
Iconv Available Yes

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #117151 by Matias
Replied by Matias on topic Re: Backslash Problem
Changing the setting only affects to the new posts -- old ones have already been saved with backslash escaping.

This is only Joomla 1.6+ issue as it removed Magic Quotes support as deprecated feature. That feature was meant for security feature on badly written PHP, but it only made things worse...
The following user(s) said Thank You: camsarim

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #117259 by camsarim
Replied by camsarim on topic Re: Backslash Problem
Thanks for the reply, I was not expecting it would change the old posts. As a matter of fact, I am using Joomla 1.7, with Kunena 1.7.1 and backslash problem continues with the "magic quotes" option disabled...

Any comments?

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago - 14 years 2 months ago #117268 by Matias
Replied by Matias on topic Re: Backslash Problem
Where does this happen? Some of the integrations (if they can be used to post) add backslashes to the posts if they aren't up to date. Kunena itself saves the information into database as it was posted, so you must have something that's interfering with inputs..

In Kunena 1.0 and 1.5 we used addslashes() to escape all data that went into the database, but I've not seen addslashes() bugs within a year or more.
Last edit: 14 years 2 months ago by Matias.

Please Log in or Create an account to join the conversation.

Time to create page: 0.734 seconds