[pmwiki-users] New install, php 5.6.3, some issues (sqlite recipe involved I guess)

ABClf languefrancaise at gmail.com
Sun Dec 7 05:21:32 CST 2014


Hello hello !

For test purpose, I just have installed latest pmwiki on my computer, to
get it working with last xampp 5.6.3 (php 5.6.3)
Seems ok.

Step two, I want now to add sqlite support : Petko's recipe Version =
20110718 dropped in cookbook folder and local/config.php created as follows
:

/////

<?php if (!defined('PmWiki')) exit();
$WikiTitle = "Quinze";

include_once("$FarmD/cookbook/sqlite.php");
$WikiDir = new PageStoreSQLite($WorkDir.'/pmwiki.sqlite.db', 1);
$WikiLibDirs = array(
  &$WikiDir,
  new PageStore('wiki.d/{$FullName}'),
  new PageStore('$FarmD/wikilib.d/{$FullName}')
);

/////

then issue occurs when going to
http://localhost/quinze/pmwiki.php?n=Main.HomePage

/////

Deprecated: preg_replace(): The /e modifier is deprecated, use
preg_replace_callback instead in D:\xampp3\htdocs\quinze\pmwiki.php on line
1665
ERROR: pat=/\(:sqliteredirect\s+(\S.*?):\)\s*/e preg_replace(): The /e
modifier is deprecated, use preg_replace_callback instead
Deprecated: preg_replace(): The /e modifier is deprecated, use
preg_replace_callback instead in D:\xampp3\htdocs\quinze\pmwiki.php on line
1665
ERROR: pat=/^# include happened /ex preg_replace(): The /e modifier is
deprecated, use preg_replace_callback instead

[etc. etc.]

Warning: Cannot modify header information - headers already sent by (output
started at D:\xampp3\htdocs\quinze\pmwiki.php:1665) in
D:\xampp3\htdocs\quinze\pmwiki.php on line 1219

[etc. etc.]

/////

My guess is the problem is related to sqlite recipe wrongly working
together with last php ?
Might it be notified on Petko's todo list to be fixed someday ? (I can't) ;)

Thank you !

Gilles.






-- 

---------------------------------------
| A | de la langue française
| B | http://www.languefrancaise.net
| C | languefrancaise at gmail.com
---------------------------------------
       @bobmonamour
---------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20141207/5f049249/attachment.html>


More information about the pmwiki-users mailing list