[pmwiki-users] Enableing pmWiki for SSL

H. Fox haganfox at users.sourceforge.net
Sun Apr 29 03:14:14 CDT 2007


On 4/28/07, IchBin <weconsul at ptd.net> wrote:
>
> I looked at the docs for using SSL in pmWiki. I found the pre version
> 2.2.0-beta18 SwitchToSSLMode recipe. Also saw the
> SwitchToSSLMode-Talk recipe.
>
> I tried the SwitchToSSLMode SSL implementation in my config but received
> the following error:
>
> Fatal error: Only variables can be passed by reference in
> C:\wwwroot\www\GlobalStudentsInc.com\local\config.php on line 222
>
> line 222 => $ScriptUrl = str_replace('http:','https:',$ScriptUrl,1);

I don't think this has anything to do with the recipe at

   http://www.pmwiki.org/wiki/Cookbook/SwitchToSSLMode

which doesn't use str_replace.  It looks like something from the
(very) old recipe that was in the PmWiki V1 Cookbook.

Try the current version of the recipe.

Hagan



More information about the pmwiki-users mailing list