English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

Magic Quotes Trigger Within Slave Site Install
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Magic Quotes Trigger Within Slave Site Install
#11506
Magic Quotes Trigger Within Slave Site Install 10 Years, 9 Months ago Karma: 0
Hi,

We have successfully installed a slave site and connected it to a db.
At the master site install we switched off Magic_Quotes using the defines.php method from this url below
URL: cheatsheet.zemplate.com/joomla/29-the-se...oomla-3-magic-quotes


This works fine for the master, However when we install any slave site there is some sort of trigger within JMS that automatically switches Magic_Quotes back on. Even if you create a php.ini file within the slave site installation directory...

Not only has it switched them back on for the slave site(which is on a separate db with a separate prefix) but It also switched them back on for all others.
This is worrying as it breaks existing articles and any new content we create.

Is there a process to bypass/resolve this error?

regards Nick
ether1
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2013/07/18 13:57 By ether1.
The administrator has disabled public write access.
 
#11507
Re: Magic Quotes Trigger Within Slave Site Install 10 Years, 9 Months ago Karma: 54
Nick, you can NOT using the define.php method because there are several define.php and the joomla one is not used when JMS is present.

The solution that you have to use consists in configuring the php.ini to disable the magic quote.

If your hosting provider didn't provided a place where you can customize the php.ini, see a potential solution based on suPHP and .htaccess

In htaccess add a path to you php.ini

<IfModule mod_suphp.c>
suPHP_ConfigPath /YOUR_ACCOUNT/public_html
</IfModule>


In the php.ini, disable magic quote
magic_quotes_gpc=off
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla