Kunena 7.0.2 Released

The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/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

This is for users to help other users, to discuss topics that are related to forum administration in general or problems in running Joomla. This is not the place to ask for Joomla support. If you want assistance with Joomla please ask at forum.joomla.org

Merged Apostrophe displaying with slash

More
12 years 8 months ago #145995 by Bezman
To others who may encounter this issue... here is the solution.

First, this is not a Kunena issue. It has to do with Joomla and PHP's magic_quotes setting. If you're running PHP 5.4+ you should be ok. I'm running PHP 3.19, so I had an issue.

I combined tips from three different links to solve the problem:

docs.joomla.org/How_to_turn_off_magic_quotes_gpc_for_Joomla_3
forum.joomla.org/viewtopic.php?f=706&t=766329
docs.joomla.org/Magic_quotes_and_security

I was finally able to solve the problem by having a php.ini file that listed the following:
Code:
magic_quotes_gpc = Off magic_quotes_runtime = Off magic_quotes_sybase = Off extension=pdo.so extension=pdo_mysql.so

Then I created a .htaccess file with a single line:
Code:
SetEnv PHPRC /home/..../public_html/php.ini

Apparently the .htaccess file is what makes Joomla "see" the php.ini file. You have to set the line of code to the right path. To find the path for your setup, go to your Joomla admin panel.

Go to Global Configuration > System > System Information > [Directory Permissions].

Copy the path for your log directory (minus the /logs at the end).

Paste that path into the line of code above so the line would read something like:
Code:
SetEnv PHPRC /home/myusername/public_html/yourJ3folder

Another potential problem you may encounter is that .htaccess is an invisible file on your server, so you'll have to show hidden files in your FTP application. MAKE A COPY OF THE ORIGINAL .htaccess file before overwriting it. I made errors and it broke my site. Fortunately I had a copy to go back to.

I hope these tips help you save the 2.5 hours of anguish I went through to solve this silly issue! :)
The following user(s) said Thank You: Matias, jonmortimer

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

More
12 years 8 months ago #146048 by southga
Replied by southga on topic Backslashes in posts
I was writing a post today and noticed that backslashes are being inserted when I use apostrophes. I'm using the JCE editor, and none of my Joomla articles are experiencing this bug. It's just happening in my Forum posts.



Here's my configuration report:
This message contains confidential information

Database collation check: The collation of your table fields are correct

Joomla! SEF: Enabled | Joomla! SEF rewrite: Disabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 30 seconds | Max execution memory: 256M | Max file upload: 64M

Kunena menu details:

Warning: Spoiler!

Joomla default template details : TheAuthorsClub | author: Chris Brown | version: 1.0 | creationdate: Unknown

Kunena default template details : Blue Eagle 2.0 | author: Kunena Team | version: 3.0.0 | creationdate: 2013-05-15

Kunena version detailed: Kunena 3.0.0 | 2013-05-15 [ Wanga ]
| Kunena detailed configuration:

Warning: Spoiler!
| Kunena integration settings:
Warning: Spoiler!
| Joomla! detailed language files installed:
Warning: Spoiler!

Third-party components: None

Third-party SEF components: None

Plugins: None

Modules: None

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

More
12 years 8 months ago - 12 years 8 months ago #146049 by sozzled
*** Topics merged ***

Thank you for your question (this is the second time this week we have received a question on this issue) about unescaped apostrophes - the result of magic quotes - appearing in a user's forum. This topic explains what you need to do.
Last edit: 12 years 8 months ago by sozzled.

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

More
12 years 8 months ago #146060 by southga
I spoke with my host's tech support and he upgraded my site to PHP 5.4, but the backslashes are still in the forum posts. Can you offer any more advice?

Thanks!

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

More
12 years 8 months ago #146061 by sozzled
I had this problem a few years ago. As I recall, I just turned off PHP magic quotes and that seemed to do the trick. There's also Bezman's advice that involves playing around with your .htaccess file. I don't really remember all the intricacies of the deal (and maybe you have to edit by hand anything on your site where unescaped quotes are still hanging around) but there must be dozens of places on the Internet where people have hit this issue before and given advice on how to go about it.

The point that we need to stress here - and we cannot stress it enough: this is not a Kunena issue. This is a website administration issue; this is a PHP implementation issue.

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

More
12 years 8 months ago #146065 by xillibit

southga wrote: I spoke with my host's tech support and he upgraded my site to PHP 5.4, but the backslashes are still in the forum posts. Can you offer any more advice?

Thanks!

Try to write a new message in your forum and check if the backslashes are still added, like before you had magic_quote enabled, so now you have that message with backslashes saved in your database

I don't provide support by PM, because this can be useful for someone else.

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

Time to create page: 0.274 seconds