<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1">All, thanks to Patrick, who identified the problem.
See the solution below.</font><br>
<br>
Patrick R. Michaud wrote:
<blockquote cite="mid20051109153122.GB23430@host.pmichaud.com"
type="cite">
<pre wrap="">Ah, found it. Try adding the following line into your
local/config.php file:
ini_set('magic_quotes_runtime', 0);
I'll probably make this the default setting in future releases
so that others won't have to worry about it. Thanks!
Pm
On Wed, Nov 09, 2005 at 09:13:38AM -0600, Scott Rosa wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> Patrick,
Thank you for your willingness to help a wiki newbie. Here are the
results from the ?action=phpinfo. I am going to keep digging, but if you
see anything, please let me know.
Thanks and regards,
Scott
Patrick R. Michaud wrote:
On Tue, Nov 08, 2005 at 05:38:51PM -0600, Scott Rosa wrote:
i enabled the following config variables for the linux install:
$ScriptUrl = '<a class="moz-txt-link-freetext" href="http://ppwiki/">http://ppwiki/</a>';
$PubDirUrl = '<a class="moz-txt-link-freetext" href="http://ppwiki/pub/">http://ppwiki/pub/</a>';
$PageLogoUrl = "$PubDirUrl/skins/ppwiki/prevention_mark.gif";
$Skin = 'pmwiki';
when i view the page source for the linux install, it appears that all the
url references are getting escaped and that seems to be what is causing my
problem. some snippets of code from the home (?) page are below.
That is totally odd. It's not just the url references that are
being escaped, but also all of HTML tag attributes. I'm guessing
that PHP is somehow escaping every single quote character it finds
(or perhaps just every single quote within a tag). I'd be curious
to know if any single quotes in the page text are also being escaped,
or if it's just those that appear in the HTML tags.
Try setting $EnableDiag=1 and then running ?action=phpinfo . If you
can send me a copy of the phpinfo output (or a url), I can take a
look at it.
Pm
</pre>
</blockquote>
</blockquote>
</body>
</html>